6.0.0-beta1
7/4/25

[#10347] free / busy does not work in dynamic
Summary free / busy does not work in dynamic
Queue Kronolith
Queue Version 3.0.5
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester samuel.wolf (at) wolf-maschinenbau (dot) de
Created 07/15/2011 (5103 days ago)
Due
Updated 08/06/2011 (5081 days ago)
Assigned
Resolved 08/06/2011 (5081 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/06/2011 06:15:20 PM Michael Rubinsky Comment #7
Assigned to Michael Rubinsky
State ⇒ Resolved
Reply to this comment
Changed the fix for no fb periods to always send a serialized object 
instead of array when empty. Otherwise, nice work, thanks!
08/06/2011 06:13:47 PM Michael Rubinsky Deleted Original Message
 
08/06/2011 06:13:41 PM Michael Rubinsky Deleted Original Message
 
08/06/2011 06:13:11 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git for this ticket:

ensure that $freebusy->b is always an object when serialized, even if 
it's empty.
Paritally fixes Bug: 10347

  1 files changed, 5 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/139ff0c8188d2f68160c4bc65369de14f6d0337c
08/06/2011 06:13:08 PM Git Commit Comment #5 Reply to this comment
Changes have been made in Git for this ticket:

Fix height of busy elements.
Partially fixes Bug: 10347
Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>

  1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/9a94535170141d6525eb541cc48b0ec26c4006ad
08/06/2011 06:13:03 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git for this ticket:

freebusy map is keyed by display name
Partially fixes Bug: 10347

Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>

  1 files changed, 10 insertions(+), 8 deletions(-)
http://git.horde.org/horde-git/-/commit/30b0cb03a9c25e0d018a383cce73bfd75d8b9b8c
07/20/2011 07:31:43 PM adominguez (at) cne (dot) gob (dot) ve Comment #3
New Attachment: kronolith.js
Reply to this comment
I found the problem, that is on file ?horde/kronolith/js/kronolith.js? 
and is related with the way to find the ?free/busy scheduling? 
response, because is index using the users description (?Name 
<email@doman.com>?) and them when the information is needed, is 
looking using the users mail ?email@doman.com? so it nerver will be 
find.

So we have to change  the line 5442 from:

this.insertFreeBusy(attendee.e);

To:

this.insertFreeBusy(attendee.l);

And the script will be ?almost? working, the olny problem now is that 
?always? appear as ?free? not matter if the user have a full day. It's 
because the div's ?height? isn't set, so is too think that it can't be 
seen. For that problem we have to change the line 5517 (is not the 
exact line because I change the file but y very close to that number) 
from:

div = new Element('div').setStyle({ position: 'relative' });

To:

div = new Element('div').setStyle({ position: 'relative', height: 
(td.offsetHeight - 3) + 'px' });

And now we can enjoy from a fully complete ?free/busy scheduling?, 
rest only a few problem when the user have not busy day at all, so the 
  response is empty and the script fail because it, so the complete 
change is from:

div = new Element('div').setStyle({ position: 'relative' });
td.insert(div);

To:
div = new Element('div').setStyle({ position: 'relative', height: 
(td.offsetHeight - 3) + 'px' });
         td.insert(div);

        // Now verify that we got the correct occupation information for the user
        if (fb.b.constructor != Object)
        {return;}


That's all.

I attach the file with the changes
07/19/2011 05:26:53 PM adominguez (at) cne (dot) gob (dot) ve Comment #2 Reply to this comment
Hi I'm updating from Horde 3.3.8  and kronolith 2.3.4 to Horde 4.0.7 
and kronolith 3.0.5 and I having the same problem, in fact, the 
problem always exist in Horde 4.0.x and  kronolith 3.0.x (actually I'm 
running some migration test, so on the process I updated it many 
times), but first I thought that it was configuration problem, but 
whatever I do, it's always there.
07/15/2011 03:33:27 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #1
Milestone ⇒
State ⇒ Unconfirmed
New Attachment: Kronolith.zip
Patch ⇒ No
Queue ⇒ Kronolith
Summary ⇒ free / busy does not work in dynamic
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
Can see the status in the traditional view, but not in the dynamic view.

Saved Queries