meeting-room-booking-system / mrbs-code

MRBS application code
Other
127 stars 62 forks source link

Can't book a room (random) #366

Closed jberanek closed 1 year ago

jberanek commented 16 years ago

I have a small issue, there is a weird things that happens when i try to book one of our room at 10am for two hours on october 14, the reservation is not saved. it just disapear, i can book on the same date and time but with a 3 hours reservation, or book at 9h30am for 2 hours without problem, i can book the other rooms at 10am without a glitch. That kind of hiccup appear now and then on a room, then disapear and reapear on another room (the hours at witch we can't book or the length of the reservation can varry too).

Reported by: tyrspace

Original Ticket: "mrbs/bugs/157":https://sourceforge.net/p/mrbs/bugs/157

jberanek commented 16 years ago

Logged In: YES user_id=319054 Originator: YES

Finally, most of my room can't be book for two hours starting at 10am, i can book for 1,5h or 2,5h, but not 2h... If i do a reservation lasting 2,5h and i edit it to bring it back to 2h, the reservation just disapear like it was deleted.

Original comment by: tyrspace

jberanek commented 16 years ago

Logged In: YES user_id=71843 Originator: NO

Are there any errors in your web server error log when these strange things happen?

John.

Original comment by: jberanek

jberanek commented 16 years ago

Logged In: YES user_id=71843 Originator: NO

Are there any errors in your web server error log when these strange things happen?

John.

Original comment by: jberanek

jberanek commented 16 years ago

Logged In: YES user_id=71843 Originator: NO

Are there any errors in your web server error log when these strange things happen?

John.

Original comment by: jberanek

jberanek commented 15 years ago

Hi there!

I have recently come across this problem to. With some dates/rooms it is impossible to book a 2 hour apointment. It just disasapears. If I choose 2,5 hours or 1,5 then it works without a problem. As for now I have not seen any error messages in the logfiles. I will try to debug this further. It runs on a Open SuSE 10.3 with mysql 5.0.45-22.5 and apache2 2.2.4-70.6

I have the same DB and webfiles on a testmachine with OpenSuSE 11, but with the same problem. Any suggestions for further debugging?

Best Regards

Magnus

Original comment by: samuraj

jberanek commented 15 years ago

Just for fun and testing, I made a copy of the DB and installed mrbs1.4beta2. I configured it to the copy of the DB. Then, when I tried with the problematic booking, it worked. I could set it to 2 hours, without it dissapearing.

Regards

Magnus

Original comment by: samuraj

jberanek commented 15 years ago

Interesting - this could feasibly be because MRBS 1.4 explicitly converts all integer form fields to integers using intval().

John.

Original comment by: jberanek

jberanek commented 15 years ago

Hi!

Anything I can do to help debugging this? Are you interested to get a copy of the db and info on an appointment where I get this error? Or shall I just sit tight and wait for the final release of 1.4?

//Magnus

Original comment by: samuraj

jberanek commented 15 years ago

I would suggest upgrading to MRBS 1.4.1. I will close this issue now, even though the problem wasn't exactly diagnosed...

Original comment by: jberanek