#250 Ajax scheduling conflict check works only for the first area

Minor
closed
nobody
None
1
2012-10-31
2012-10-30
Anonymous
No

After selecting conflicting times in edit_entry for any area except the first one, conflict is not signalized (green 'check' instead of red 'x') and it shows only after saving the booking.
Bug introduced in r2521.

Discussion

  • Campbell Morrison

    I've just tried this using the latest version (Rev 2543) in the trunk and can't reproduce it. I vaguely remember fixing something in this area recently so it's possible that it is now fixed.

    Let me know if you still see problems.

    Thanks,

    Campbell

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-10-30

    Nope, it's still there. As I said, it was introduced in r2521.
    - checkout trunk
    - create database
    - "run" tables.my.sql
    - in mrbs create two areas and few rooms in each area
    - select 2nd area
    - book a room from 10-12
    - now click on,let's say, 8.00
    - in edit_entry.php select end time 16 (obvious conflict)
    - the red 'x' should indicate a conflict but it doesn't
    - it works ok if you try the same for any room in the first area

    Probably the validation function is not getting current area properly.

     
  • Campbell Morrison

    OK - I'll take a look.

    Campbell

     
  • Campbell Morrison

    I think I've now fixed this in Rev 2545.

    Campbell

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-10-31

    Fixed

     
  • Campbell Morrison

    Good - thanks for spotting it.

    Campbell

     
  • Campbell Morrison

    • status: open --> closed
     


Anonymous

Cancel  Add attachments