Welcome, Guest. Please Login or Register
FET Homepage
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
bug in rename teacher in ver  5.11.0 (Read 3896 times)
Nikos Koutsoukos
YaBB Newbies
*
Offline


I Love Free Software!

Posts: 11
bug in rename teacher in ver  5.11.0
09/21/09 at 11:02:27
 
If a techer has "min days per week" constrain and you rename the teacher the constrain keeps the old name.
Then if you try to generate a time table it throws an error.
I checked the fet file before and after rename I saw that the name has changed in all the other file but not inside the "min days per week for a teacher" constrain

Nikos
Back to top
 
 
IP Logged
 
Liviu Lalescu
YaBB Administrator
*****
Offline


FET author and forum admin

Posts: 1569
Craiova, Romania
Gender: male
Re: bug in rename teacher in ver  5.11.0
Reply #1 - 09/21/09 at 11:28:20
 
Nikos Koutsoukos wrote on 09/21/09 at 11:02:27:
If a techer has "min days per week" constrain and you rename the teacher the constrain keeps the old name.
Then if you try to generate a time table it throws an error.
I checked the fet file before and after rename I saw that the name has changed in all the other file but not inside the "min days per week for a teacher" constrain

Nikos


Thank you very much for the bug report! I'll fix it right away.
Back to top
 
 
IP Logged
 
Liviu Lalescu
YaBB Administrator
*****
Offline


FET author and forum admin

Posts: 1569
Craiova, Romania
Gender: male
Re: bug in rename teacher in ver  5.11.0
Reply #2 - 09/21/09 at 12:49:23
 
I have put a new snapshot, please get it. Thank you for your bug report - now everything should be solved.
Back to top
 
 
IP Logged
 
silvia
Full Member
***
Offline


I Love Free Software!

Posts: 120
Catalunya
Gender: female
Re: bug in rename teacher in ver  5.11.0
Reply #3 - 09/22/09 at 10:53:34
 
hi, I haven't tested the min days for teachers, but all the other constraints I use work fine with this last snapshot of 21st september. All the menus are ok in my 10" screen when I maximize the window. I lose the bottom if I don't maximize.
Back to top
 
 
IP Logged
 
Liviu Lalescu
YaBB Administrator
*****
Offline


FET author and forum admin

Posts: 1569
Craiova, Romania
Gender: male
Re: bug in rename teacher in ver  5.11.0
Reply #4 - 09/22/09 at 11:11:05
 
Thanks for report, Silvia!

I found other crash bug if renaming a students year and user has constraint students set interval max days per week for this year. I am working on it, and maybe on other bugs related to modifying or removing students sets.
Back to top
 
 
IP Logged
 
Liviu Lalescu
YaBB Administrator
*****
Offline


FET author and forum admin

Posts: 1569
Craiova, Romania
Gender: male
Re: bug in rename teacher in ver  5.11.0
Reply #5 - 09/22/09 at 13:15:32
 
I have fixed a few other bugs (very very rare, for overlapping years - containing same groups - that is why nobody reported them).

I have put a new snapshot (same usual test location). If you could help me, that would be great. Just use the attached sample or your file (if it has some complex students structure - or even it not). Try to rename or remove students year, groups or subgroups, test if the file is correct after that.
Back to top
 

k.zip (3 KB | )
 
IP Logged
 
silvia
Full Member
***
Offline


I Love Free Software!

Posts: 120
Catalunya
Gender: female
Re: bug in rename teacher in ver  5.11.0
Reply #6 - 09/23/09 at 10:49:42
 
hi,
I downloaded snapshot from 22 september. I changed the name of a subgroup and generated.No crash, works fine. I removed 1 group and 1 subgroup and it works fine. good job!
Back to top
 
 
IP Logged
 
Liviu Lalescu
YaBB Administrator
*****
Offline


FET author and forum admin

Posts: 1569
Craiova, Romania
Gender: male
Re: bug in rename teacher in ver  5.11.0
Reply #7 - 09/23/09 at 10:57:12
 
Thanks, Silvia! You are a good collaborator Smiley

I am not sure, Silvia, you also suggested constraint max hours daily with an activity tag? I am still thinking of a solution, but it is difficult to make a perfect solution.
Back to top
 
 
IP Logged
 
silvia
Full Member
***
Offline


I Love Free Software!

Posts: 120
Catalunya
Gender: female
Re: bug in rename teacher in ver  5.11.0
Reply #8 - 09/23/09 at 11:13:00
 
by the way, I had to test that snapshot with my file, because the k.fet file gave me some errors, as students deactivated, and things about min or max hours allowed.

About the Max hours daily with an activity tag, it doesn't mind if it's an activity tag, or a subject. It's just to prevent a teacher having the same group with the same activity on the same day. it can also be done with the Min days between activities, but I have to do that soooo many times that I asked for a shortcut. Lazy girl, sorry.

You know that my main problems are the min days for teachers (done) and the classrooms assigned when 2 teachers are with the same group (I think you said this is impossible). My timetables look gorgeous thanks to FET, if I suggest things is only to make my life easier and your life miserable, hahahahha, sorry, just a joke. i suggest things so FET is easier for Catalan timetables.

//Edited to add:
It is also very interesting the thing about teachers preferred times. I know there's an alternative, it's just a suggestion.
Back to top
 
 
IP Logged
 
Liviu Lalescu
YaBB Administrator
*****
Offline


FET author and forum admin

Posts: 1569
Craiova, Romania
Gender: male
Re: bug in rename teacher in ver  5.11.0
Reply #9 - 09/23/09 at 11:30:54
 
silvia wrote on 09/23/09 at 11:13:00:
by the way, I had to test that snapshot with my file, because the k.fet file gave me some errors, as students deactivated, and things about min or max hours allowed.

Yes, I know, k.fet is just a complex file which contains all constraints and you cannot generate a timetable for it.
Quote:
It is also very interesting the thing about teachers preferred times. I know there's an alternative, it's just a suggestion.

Do you mean teacher not available with <100%? It is possible, use constraint activities preferred time slots (or do you mean that in this case the gaps are counted, and they shouldn't be counted?)
Back to top
 
 
IP Logged
 
silvia
Full Member
***
Offline


I Love Free Software!

Posts: 120
Catalunya
Gender: female
Re: bug in rename teacher in ver  5.11.0
Reply #10 - 09/24/09 at 02:37:18
 
This year I set the teachers preferred times by adding a activity constraint with no students and no subject, only a teacher. Then I created slots for those teachers and gave a 99% weight. What I suggested was:
same way as you can set Teacher not Allwoed times, I would like Teacher Preferred times.

When a teacher says: I would prefer to teach mainly between 8 and 11am. Not obligatory but preferred. Or I would prefer to work thursday afternoon instead of tuesday afternoon. Not obligatory, but preferred.
I remember you said this is very difficult or impossible or not useful, but I am just reminding you about this, just in case something had changed in the algoritm and now it was easy Smiley
Back to top
 
 
IP Logged
 
Liviu Lalescu
YaBB Administrator
*****
Offline


FET author and forum admin

Posts: 1569
Craiova, Romania
Gender: male
Re: bug in rename teacher in ver  5.11.0
Reply #11 - 09/24/09 at 02:44:24
 
OK, I remember, so preferred time (not not-allowed time). It still seems impossible for me to add. The algorithm does not work well with constraints like: min hours daily, min days per week, preferred times. The algorithm works easy and well with max hours daily, max days per week, not allowed times, un-preferred times (which is why I implemented preferred times with a negation in FET).
Back to top
 
 
IP Logged
 
Nikos Koutsoukos
YaBB Newbies
*
Offline


I Love Free Software!

Posts: 11
Re: bug in rename teacher in ver  5.11.0
Reply #12 - 09/24/09 at 03:45:14
 
I tested the last snapsot "fet-5.11.0-snapshot-22-sept-2009-21_06"
It works OK with renaiming teachers that have "min days per week" constrain

I was also the one that suggested the "max hours daily for an activity tag"
http://lalescu.ro/liviu/fet/forum/YaBB.pl?num=1253391289
It could be like "max hours continiously with an activity tag for a teacher" or "max hours continiously with an activity tag for a student set" but insted of "continiously" will have "daily"
If it is general "max hours daily for an activity tag" will also work (if I need a spesific teacher or a student set I will just create a diferent activity tag for this teacher or student set)

Thank you
Nikos Koutsoukos
Back to top
 
 
IP Logged
 
Liviu Lalescu
YaBB Administrator
*****
Offline


FET author and forum admin

Posts: 1569
Craiova, Romania
Gender: male
Re: bug in rename teacher in ver  5.11.0
Reply #13 - 09/24/09 at 04:33:46
 
Nikos Koutsoukos wrote on 09/24/09 at 03:45:14:
I tested the last snapsot "fet-5.11.0-snapshot-22-sept-2009-21_06"
It works OK with renaiming teachers that have "min days per week" constrain

I was also the one that suggested the "max hours daily for an activity tag"
http://lalescu.ro/liviu/fet/forum/YaBB.pl?num=1253391289
It could be like "max hours continiously with an activity tag for a teacher" or "max hours continiously with an activity tag for a student set" but insted of "continiously" will have "daily"
If it is general "max hours daily for an activity tag" will also work (if I need a spesific teacher or a student set I will just create a diferent activity tag for this teacher or student set)

Thank you
Nikos Koutsoukos


Yes, I know, I am still thinking of that, I just wanted to know if there are more users requesting this. I'll write about this constraint on the dedicated topic, after I'll think some more.
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print