Menu

#366 Booking changes to public when resized.

Future_Requests
open
nobody
1
2016-09-21
2016-09-20
Anonymous
No

Hi,
I may have found a bug, but I doubt it.

If a user makes a private booking, all is OK. The booking is correctly displayed as Private to other users. However, if the Admin uses drag and drop to resize/extend the booking it changes to a public booking and becomes visible to all users.

Are you able to point me in the right direction as to where the code is which handles the ajax post?
Thanks

Discussion

  • Campbell Morrison

    Looks like a bug. I'll fix it tomorrow.

    Campbell

     
  • Campbell Morrison

    Yes, I can confirm that this is a bug in 1.5.0, but it has been fixed in the latest code in the default branch. I am not quite sure which of the many changes since 1.5.0 has fixed this, and therefore how to patch a 1.5.0 system. I think the best thing to do is to upgrade to the latest snapshot. To get the latest code go to https://sourceforge.net/p/mrbs/hg-code/ci/default/tree/ and then "Download snapshot". Then follow the instructions for upgrading which are, in summary:

    1. Take a backup of your database, just in case.
    2. Take a copy of your web directory, just in case.
    3. Upload the contents of the new web directory, except for the config file, to your web server, overwriting the old files.
    4. Point your browser at MRBS. If prompted to upgrade the database you will need to enter a database (not MRBS) username and password.