[Tickets #12862] Unavailable resources should do more than just show a message
noreply at bugs.horde.org
noreply at bugs.horde.org
Mon Nov 25 10:13:52 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12862
------------------------------------------------------------------------------
Ticket | 12862
Created By | horde at stefanseidel.info
Summary | Unavailable resources should do more than just show a
| message
Queue | Kronolith
Version | Git master
Type | Enhancement
State | New
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
horde at stefanseidel.info (2013-11-25 10:13) wrote:
When creating an event with resources, if any of the booked resources
are not available for that event, the only effects are:
- message is shown to the user, which can be easily overlooked
- no resource calendar event is created
IMO resources that are unavailable should somehow block the event.
Changing Event.php around line 575 from
" elseif($haveLock) {"
to
" else {
$this->status = Kronolith::STATUS_CANCELLED;
if ($haveLock) {"
will provide an initial solution: the event status is set to
cancelled, so it's much more visible to the user that there's
something wrong.
Another idea would be to show the message as an alert box (still it
would leave "invalid" events in the calendar) or to prevent saving the
event unless all resources are available (might be too strict).
More information about the bugs
mailing list