Non-core contributed modules

Force Booking function doesn't move bookings with DST timeshift applied

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.6
  • Fix Version/s: None
  • Component/s: Block: Mrbs
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

The force booking function (for people with mrbs:forcebook) doesn't find bookings created before a DST change if trying to forceably book a room after the DST change. This happens because the record stores the time offset by one hour, but the query that searches for clashing bookings doesn't offset the time.
The attached patch amends the query to also search for offset bookings.

Issue Links

Activity

Hide
Mark Johnson added a comment -

This requires the functions provided by my patches submitted to CONTRIB-1152

Show
Mark Johnson added a comment - This requires the functions provided by my patches submitted to CONTRIB-1152
Hide
Anthony Borrow added a comment -

Mike,

Can you review the patches and apply as appropriate? As mentioned earlier, I am swamped at the moment.

Peace - Anthony

Show
Anthony Borrow added a comment - Mike, Can you review the patches and apply as appropriate? As mentioned earlier, I am swamped at the moment. Peace - Anthony

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: