6.0.0-alpha14
7/2/25

[#10051] Event duration is "caching" in wrong manner
Summary Event duration is "caching" in wrong manner
Queue Kronolith
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester goncalo.queiros (at) portugalmail (dot) net
Created 05/05/2011 (5172 days ago)
Due
Updated 05/05/2011 (5172 days ago)
Assigned
Resolved 05/05/2011 (5172 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
05/05/2011 11:37:37 PM Michael Rubinsky Comment #3
Assigned to Michael Rubinsky
State ⇒ Resolved
Reply to this comment
Tweaked and committed, thanks!
05/05/2011 11:36:03 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

Bug: 10051 static variables inside methods are shared by all instances 
of a class Signed-off-by: Michael J. Rubinsky <mrubinsk@horde.org>

  1 files changed, 15 insertions(+), 9 deletions(-)
http://git.horde.org/horde-git/-/commit/6e764ba6efc41c9ee53a5dbbf5d11bdf4f0c2958
05/05/2011 05:53:24 PM goncalo (dot) queiros (at) portugalmail (dot) net Comment #1
Priority ⇒ 2. Medium
New Attachment: 0001-Don-t-use-static-do-cache-event-duration.patch Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ Event duration is "caching" in wrong manner
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
If you loop through a set of events, you will always get the same 
duration for all.
This patches fixes it

Saved Queries