Hi Mikael,
This sounds like a bug. The ID values should be absolute URIs, not relative
ones. I'm going to open a bug on this. In the interim, I think the
following test should be OK to test for equivalence in the interim:
event.getID().endsWith(originalID);
since just testing the relative (last) path component is enough to guarantee
equivalence.
When we resolve this bug and provide absolute IDs instead, the above test
will continue to work.
Hope this helps!
-- Kyle
On 11/15/06, Mikael Grev, MiG InfoCom <[EMAIL PROTECTED]> wrote:
>
>
> Hello,
>
> The ID gotten with event.getID() is including the URL. Now, the ID
> gotten from OriginalEvent is without the url part and only contains the
> end (true) id.
>
> Is there a standard way to get the ID without the url from the normal
> event so they can be compared or should we do the conversion ourselves?
> It would if so be good to know how in a way that will hold for future
> updates.
>
> Cheers,
> Mikael Grev
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---