[turba] Birthdays are only shown from one adress book

Michael Rubinsky mike at theupstairsroom.com
Mon Dec 31 20:07:24 UTC 2007


Quoting Helmut Schiefer <Helmut at 4Schiefer.de>:

> Hi,
>
> I'm not sure, maybe it's bug. Can anyone check this on an other Horde
> installation?
>
> I can only see the birthdays from one address book. I use three
> address books and only one of them are shown in the kronolith calender.
> I put some more print code in the sql.php and I can see the following:
> Turba query three address books but in the owner_id field is always
> the same id.  In this case helmut.
>
> Should I open a bug case or is these a problem in my datatree. I use
> the CVS Head.

OK. Tracked this one down, and fixed in CVS.

In a nutshell, the issue was that the Turba_Driver_share object passes  
the getTimeObjectTurbaList() call on to it's underying driver object -  
but in the case of an underlying SQL driver, when  
Turba_Driver_sql::getContactOwner() is called it propagates up to  
Turba_Driver::getContactOwner() instead of  
Turba_Driver_share::getContactOwner() since the sql driver doesn't  
override that method.


Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2013 bytes
Desc: PGP Public Key
Url : http://lists.horde.org/archives/turba/attachments/20071231/28a6564e/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/turba/attachments/20071231/28a6564e/attachment-0001.bin 


More information about the turba mailing list