[horde] random hash in generateUID missing

Chuck Hagenbuch chuck at horde.org
Thu Aug 30 04:19:45 UTC 2007


Quoting munzli <munzli at olmero.ch>:

> i've got a major problem, since the last update the kronolith events don't
> generate a random hash in the event_uid anymore which has fatal
> consequences.
> the event_uid should look like this:
> 20070627191156.3f9bv5hl0jac at calendar.example.com but now only
> 20070627191156. at calendar.example.com is written.
>
> so now, phone syncing and ics importing etc doesn't work correctly.
>
> then i did some searching and noticed that the generateUID function  
> contains a:
> substr(base_convert(microtime(), 10, 36), -16)
> which returns nothing. i removed the substr to just give me the base
> convert output, and now a unique hash with 12 chars is generated.
>
> any info on this?

Fixed in CVS with this set of commits:

http://lists.horde.org/archives/cvs/Week-of-Mon-20070827/070105.html

That'll be in the next set of Horde 3.2 and family releases.

-chuck


More information about the horde mailing list