FYI, Thierry has fixed the issue in SVN trunk.

Best regards,
Jerome

  _____  

De : Mark Derricutt [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 12 mai 2008 05:53
À : [email protected]
Objet : Re: Duplicate variants coming from DirectoryResource


Added to bugzilla as http://restlet.tigris.org/issues/show_bug.cgi?id=492

Patching the source to work around this solved my problems, and I now have a
custom ClientHandler serving resources off a mounted OSGi bundle to a
Directory.


On Fri, May 9, 2008 at 4:06 PM, Mark Derricutt <[EMAIL PROTECTED]> wrote:


org.restlet.resource.Resource#getVariants checks that the
org.restlet.resource.Resource#variants field is not null as part of its lazy
creation, but nothing checks weather the field is empty or not, so it keeps
rediscovering and appending.

Should I record this as a bug in bugzilla?



-- 
"It is easier to optimize correct code than to correct optimized code." --
Bill Harlan 

Reply via email to