Does this really fix it completely, or just the trivial case?

I thought that if you change your config the repositories can end up with
different ID's, such that existing repositories will no longer recognise old
files as their's

I may be way off though, so take this with a pinch of salt if you are
confident.

d.

> -----Original Message-----
> From: Stephen McConnell [mailto:[EMAIL PROTECTED]]
> Sent: 21 December 2002 05:27
> To: James Developers List
> Subject: Re: pop3-file bug
>
>
>
>
> [EMAIL PROTECTED] wrote:
>
> >----- Original Message -----
> >From: "Noel J. Bergman" <[EMAIL PROTECTED]>
> >Sent: Dec 20, 11:12 PM
> >
> >
> >
> >>>It's very easy to fix the numbering... but some work to offer backwards
> >>>compatibility.
> >>>
> >>>
> >>The numbering fix looked trivial from Iwasa Kazmi's patch
> >>(http://nagoya.apache.org/eyebrowse/ReadMsg?listName=james-dev@j
> akarta.apach
> >>e.org&msgId=572609).
> >>
> >>
> >
> >
> >I agree it is trivial to fix. I think it is is even more trivial
> than what Iwasa is suggesting.
> >
> >In Avalon this would be the fix.
> >RepositoryManager
> >
> >     public static final String getName()
> >     {
> >-        return REPOSITORY_NAME + id;
> >+        return REPOSITORY_NAME + id++;
> >     }
> >
> >
>
> That's it?
> Let's just fix it in Avalon.
> Steve.
>
> >I am fairly certain this Avalon bug can be worked around inside
> James in a fairly contained manner.
> >
> >If this is to be done in 2.1, and no one else has started doing
> work on this, I can put together a patch.
> >
> >The patch I was thinking of would be about ~10 lines of code
> change in James. Basically the problem is name of repository key
> depends on initialization order. This can be fixed in Avalon or
> reset in in AvalonMailRepository.
> >
> >Harmeet
> >
> >
> >------------------------------------------------------------------------
> >
> >--
> >To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>

--

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:[EMAIL PROTECTED]
http://www.osm.net




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to