After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 436619 - Adding meeting room as meeting "Resources" gives "Unable to book" dialog
Adding meeting room as meeting "Resources" gives "Unable to book" dialog
Status: RESOLVED FIXED
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.10.x
Other All
: Normal normal
: ---
Assigned To: Connector Maintainer
Ximian Connector QA
: 556235 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-05-07 15:30 UTC by Paul Smith
Modified: 2011-05-06 11:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
proposed eex patch (5.09 KB, patch)
2009-06-16 18:36 UTC, Milan Crha
committed Details | Review
proposed evo patch (931 bytes, patch)
2009-06-16 19:06 UTC, Milan Crha
committed Details | Review
Evolution Exchange Patch (753 bytes, patch)
2011-05-03 19:22 UTC, Punit Jain
accepted-commit_now Details | Review

Description Paul Smith 2007-05-07 15:30:55 UTC
Please describe the problem:
In my Exchange server, meeting rooms are available through the Global Catalog.  If I select a room in the "Attendees" dialog and add it to the "Resources" section, then save the meeting I get an error "Unable to book".

If I add the meeting room as a "Required Participant", then it all works fine.

Steps to reproduce:
1. Create a new meeting
2. Click the "Attendees" button on the left
3. Select "Global Catalog List" as the Address Book
4. Choose a meeting room (I suppose it could be anything, though, not just a meeting room).
5. Add it to the "Resources" section
6. Click Close
7. Click Save
8. When you are asked if you'd like to send email to the recipients, click "Send"
9. You'll see the above error dialog and nothing is sent.

Not only that, but you can't change the role via the Attendees dialog.  Once you have the above (so that the role for the meeting room is "non-participant", open the Attendees dialog again via the "Attendees" button.  Now remove the meeting room from the "Resources" window, then add it to the "Required Participants" window.  Click Save.  Note that the role of the meeting room is still "non-participant" instead of "Required Participant".


Actual results:
As above.

Expected results:
Ideally, the meeting room would be added to the "Location" automatically.  But at least the meeting room email should be sent, as it would be for "Required Participant", and you shouldn't get any error message.

Also, moving an attendee around in the Attendees dialog should change their role accordingly when you exit.

Does this happen every time?
Yes.

Other information:
Comment 1 alge 2007-10-31 11:33:44 UTC
Reproducable with 2.12.0 on Ubuntu 7.10, except that I get "Unable to book" even if I put the room in the "Required participants" box.
Comment 2 Milan Crha 2008-11-04 14:09:42 UTC
See bug #556235, it seems it's related to recurring events only, with non-recurring you can have rooms in the event.
Comment 3 Yannick Brosseau 2009-06-08 15:15:19 UTC
I can reproduce this problem with Evolution 2.12.3 on CentOS 5.
(With a non-recurring event)
Comment 4 Milan Crha 2009-06-16 18:29:52 UTC
*** Bug 556235 has been marked as a duplicate of this bug. ***
Comment 5 Milan Crha 2009-06-16 18:36:02 UTC
Created attachment 136756 [details] [review]
proposed eex patch

for evolution-exchange;

These changes makes it work for me. The bad thing is that I do not know all the background, but with configured resource as Akhil told me I can book a resource for even recurring events, and I'm notified that I try to book on some place which is already occupied by the recurring event.

What I saw was pushing two components to the resource calendar in one VCALENDAR, which had the same UID, and server returned 500, "Internal server error" for such situation. The change at the first chunk fixes this behaviour.
Comment 6 Milan Crha 2009-06-16 19:06:56 UTC
Created attachment 136760 [details] [review]
proposed evo patch

for evolution;

better error message for "unable to book", though the "permission denied" seems to be a fallback for other errors, thus also not much usable.

Please give me better strings here. Thanks in advance.

Note: Not that I ignore "fill location when resource added" request, I just do not know how to do that.
Comment 7 Milan Crha 2009-10-15 16:55:29 UTC
Created commit 10884e9 in eex master (2.29.1+)
Created commit f2337c6 in evo master (2.29.1+)
Comment 8 Chenthill P 2009-10-27 11:01:05 UTC
Please commit the patch to stable.
Comment 9 Milan Crha 2009-10-27 11:07:56 UTC
Created commit 9b8a322 in eex gnome-2-28 (2.28.2+)

(I skipped the evo part because of the string change. It has no functionality impact anyway.)
Comment 10 Punit Jain 2011-05-03 19:22:51 UTC
Created attachment 187149 [details] [review]
Evolution Exchange Patch

Customer reported same bug in bnc with. I found a small error in the code. This patch should solve that.
Comment 11 Milan Crha 2011-05-04 15:10:01 UTC
Aha, looks good, please commit to master and stable branches. Thanks for spotting this.
Comment 12 Chenthill P 2011-05-06 03:30:54 UTC
punit, good catch :)
Comment 13 Punit Jain 2011-05-06 11:39:59 UTC
Commited to master and gnome-3-0.