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 |
Assigned to Michael Rubinsky
State ⇒ Resolved
instead of array when empty. Otherwise, nice work, thanks!
ensure that $freebusy->b is always an object when serialized, even if
it's empty.
Paritally fixes
Bug: 103471 files changed, 5 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/139ff0c8188d2f68160c4bc65369de14f6d0337c
Fix height of busy elements.
Partially fixes
Bug: 10347Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/9a94535170141d6525eb541cc48b0ec26c4006ad
freebusy map is keyed by display name
Partially fixes
Bug: 10347Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
1 files changed, 10 insertions(+), 8 deletions(-)
http://git.horde.org/horde-git/-/commit/30b0cb03a9c25e0d018a383cce73bfd75d8b9b8c
New Attachment: 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
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.
Milestone ⇒
State ⇒ Unconfirmed
New Attachment: Kronolith.zip
Patch ⇒ No
Queue ⇒ Kronolith
Summary ⇒ free / busy does not work in dynamic
Type ⇒ Bug
Priority ⇒ 2. Medium