6.0.0-beta1
7/19/25

[#11776] Resource calendar can not be viewed
Summary Resource calendar can not be viewed
Queue Kronolith
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester Joerg.Pulz (at) frm2 (dot) tum (dot) de
Created 11/28/2012 (4616 days ago)
Due
Updated 11/29/2012 (4615 days ago)
Assigned
Resolved 11/29/2012 (4615 days ago)
Github Issue Link
Github Pull Request
Milestone 4.0.3
Patch No

History
11/29/2012 06:24:46 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
Milestone ⇒ 4.0.3
 
11/29/2012 06:24:45 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit b790cad1397c2e49c0c662ce8b7e9cce4ee443d4
Author: Jan Schneider <jan@horde.org>
Date:   Thu Nov 29 19:23:42 2012 +0100

     [jan] Fix receiving resource calendars in dynamic view (Bug #11776).

  kronolith/docs/CHANGES                |    1 +
  kronolith/lib/Driver/Resource/Sql.php |    7 ++++++-
  kronolith/package.xml                 |    4 ++--
  3 files changed, 9 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/b790cad1397c2e49c0c662ce8b7e9cce4ee443d4
11/29/2012 06:24:39 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 0325a77d36bf84cae53c6730ef30220c103ebd31
Author: Jan Schneider <jan@horde.org>
Date:   Thu Nov 29 19:07:31 2012 +0100

     Fix strict notice (Bug #11776).

  kronolith/lib/Driver/Resource/Sql.php |    6 +++++-
  1 files changed, 5 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/0325a77d36bf84cae53c6730ef30220c103ebd31
11/28/2012 10:32:06 PM Joerg (dot) Pulz (at) frm2 (dot) tum (dot) de Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ Resource calendar can not be viewed
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Trying to view the contents of a resource calendar using the WebUI 
results in an error message: "Error when communicating with the server".

The same time, php logs this error:
"PHP message: PHP Fatal error:  Call to undefined method 
stdClass::toProperties() in 
horde/kronolith/lib/Driver/Resource/Sql.php on line 113"
request: "POST /services/ajax.php/kronolith/listEvents HTTP/1.1"

And horde logs this:
HORDE [kronolith] PHP ERROR: Declaration of 
Kronolith_Driver_Resource_Sql::delete() should be compatible with 
Kronolith_Driver::delete($calendar) [pid 96198 on line 18 of 
"horde/kronolith/lib/Driver/Resource/Sql.php"]

Getting free/busy information for this resource works like a charm.

Any hint to solve this is much appreciated.

Saved Queries