You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Ritu Kedia <RK...@saba.com> on 2004/06/01 09:50:22 UTC
Report Method is not returning versions in order (bug?)
I use the WebdavResource "reportMethod" to get the version report of a VCR.
It works fine but it is not returning versions in the creation order.
O/P:
[0]= "/slide/history/13/1.2"
[1]= "/slide/history/13/1.1"
[2]= "/slide/history/13/1.0"
[3]= "/slide/history/13/1.4"
[4]= "/slide/history/13/1.3"
Is this the expected behavior?
Regards,
Ritu
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Report Method is not returning versions in order (bug?)
Posted by Oliver Zeigermann <ol...@zeigermann.de>.
Ingo Brunberg wrote:
> Btw., do we have a valid decision now to require Java 1.4? If so we
> could easily replace the Hashtable by a LinkedHashMap.
No, we have not yet. Sorry for not bringing this to an end as I was kind
of distracted by other stuff that happened meanwhile. I guess we have a
problem as someone pointed out as 2.1 really should be compatible to 2.0
and would not be if 2.1 only supported JDK1.4. I will discuss this in
the PMC and let you know as soon as possible.
Cheers,
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Report Method is not returning versions in order (bug?)
Posted by Julian Reschke <ju...@gmx.de>.
Ingo Brunberg wrote:
> This has already been discussed a while ago. Basically the response URLs
> are stored in a Hashtable. And a Hashtable doesn't preserve or
> guarantee the insertion order.
>
> Btw., do we have a valid decision now to require Java 1.4? If so we
> could easily replace the Hashtable by a LinkedHashMap.
Hm.
What is the "right" order for a version history that contains branches?
At the end of the day, you'll need predecessor/successor information anyway.
Julian
--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Report Method is not returning versions in order (bug?)
Posted by Cédric <ce...@yahoo.fr>.
Hi 'im a french student, and i try to use the Report Method !
Have you got a code exemple ?
I just want to get the different URL !
Thanks a lot
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Report Method is not returning versions in order (bug?)
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Jun 1, 2004, at 4:29 AM, Ingo Brunberg wrote:
> Btw., do we have a valid decision now to require Java 1.4? If so we
> could easily replace the Hashtable by a LinkedHashMap.
Jakarta Commons Collections has a SequencedHashMap that can work with
1.3 (I believe).
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Report Method is not returning versions in order (bug?)
Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
This has already been discussed a while ago. Basically the response URLs
are stored in a Hashtable. And a Hashtable doesn't preserve or
guarantee the insertion order.
Btw., do we have a valid decision now to require Java 1.4? If so we
could easily replace the Hashtable by a LinkedHashMap.
Ingo
> I use the WebdavResource "reportMethod" to get the version report of a VCR.
> It works fine but it is not returning versions in the creation order.
>
> O/P:
> [0]= "/slide/history/13/1.2"
> [1]= "/slide/history/13/1.1"
> [2]= "/slide/history/13/1.0"
> [3]= "/slide/history/13/1.4"
> [4]= "/slide/history/13/1.3"
>
> Is this the expected behavior?
>
> Regards,
> Ritu
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org