Re: bug with SpringFinder?

2013-11-15 Thread Thierry Boileau
Hi Sean, thanks for submitting this question: I've entered an issue for that point: https://github.com/restlet/restlet-framework-java/issues/797 best regards, Thierry Boileau 2013/11/15 Sean Hogan s...@clixtec.ca Hi, I believe I may have found a bug with the way SpringFinder works in

Re: bug with SpringFinder?

2013-11-15 Thread Sean Hogan
Never mind. Like an idiot I had two beans named metadataResource. I thought Spring would whine about that, but apparently not. :-( (There may still be an issue with SpringFinder, but not from my flawed analysis.) Thanks, Sean On 13-11-15 01:31 PM, Sean Hogan wrote: Hi, I believe I may

Re: bug with SpringFinder?

2013-11-15 Thread Thierry Boileau
ok, thanks Sean. I close the issue. Best regards, Thierry Boileau 2013/11/15 Sean Hogan s...@clixtec.ca Never mind. Like an idiot I had two beans named metadataResource. I thought Spring would whine about that, but apparently not. :-( (There may still be an issue with SpringFinder, but

Re: Bug in DefaultConverter in 2.0.8?

2011-08-12 Thread Thierry Boileau
Hello Glenn, thanks a lot for reporting this bug and for your analysis. The fix is available in the svn repository for both 2.0 branch and trunk (future 2.1). Best regards, Thierry Boileau 2. shouldn't the test on line 237 of toObject be the test used on line 179 of the score method? The

RE: Bug in DefaultConverter in 2.0.8?

2011-08-11 Thread Glenn Bruns
2. shouldn't the test on line 237 of toObject be the test used on line 179 of the score method? The test on line 179 of the score method, for example, will be true if target has class DomRepresentation, regardless of the source object. Oops -- I meant to say that the test used in the score

RE: BUG: restlet client ignores SSL parameters

2011-04-24 Thread Andrei Pozolotin
Thierry, hello: do you think you could take a look on this? thank you; Andrei. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2723440

RE: BUG: restlet client ignores SSL parameters

2011-03-17 Thread Andrei Pozolotin
FYI: 1) script to generate keys stores: http://code.google.com/p/carrotgarden/source/browse/trunk/test-restlet/src/main/resources/developer-keytool.sh 2) location of generated key stores used in test: http://code.google.com/p/carrotgarden/source/browse/#svn%2Ftrunk%2Ftest-restlet%2Fssl 3)

RE: BUG: restlet client ignores SSL parameters

2011-03-17 Thread Andrei Pozolotin
this is tested with restlet version 2.0.5 with 2.1-SNAPSHOT the server code http://code.google.com/p/carrotgarden/source/browse/trunk/test-restlet/src/main/java/restlet_01/MainServerSSL.java just hangs --

RE: Bug in ServerResource.handle() when using annotated methods?

2010-06-06 Thread Jerome Louvel
://www.noelios.com/ http://www.noelios.com De : tpeie...@gmail.com [mailto:tpeie...@gmail.com] De la part de Tim Peierls Envoyé : mercredi 12 mai 2010 14:36 À : discuss@restlet.tigris.org Objet : Re: Bug in ServerResource.handle() when using annotated methods? On Tue, May 11, 2010 at 5:06

RE: Bug in Atom extension Readers

2010-06-06 Thread Jerome Louvel
Hi Martin, Thanks for the report, this is fixed in SVN trunk. Best regards, Jerome Louvel -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.org Noelios Technologies ~ http://www.noelios.com -Message d'origine- De : Martin Svensson [mailto:msv...@gmail.com] Envoyé : jeudi

RE: Re: Bug in ServerResource.handle() when using annotated methods?

2010-05-19 Thread Daniel Ferber
While newcomer to Restlet, I was first quite confused after reading the Tutorial and the Java Docs how the ServerResouce class was expected to be extended. Now I understand clearly the several approaches, from very low level (extending doHandle) to nice high level annotations. Of course, I

Re: Bug in ServerResource.handle() when using annotated methods?

2010-05-11 Thread Tim Peierls
It doesn't sound like a bug to me, but I agree that the ServerResource documentation should be clearer about this. I think of getResponse().setEntity(new SomeRepresentation()) as an appeal to a lower-level API. Is there some reason you don't want to return new SomeRepresentation() directly from

Re: Bug in ServerResource.handle() when using annotated methods?

2010-05-11 Thread David Fogel
Hi Tim- Well, like I said, these methods have typical behavior that involves not returning an entity (for redirection and no-content handling). So we felt like part of having that code read better would involve it not being littered with return null statements, which, in other code, often

RE: Bug in MediaType Parameter handling

2010-02-21 Thread Jerome Louvel
@restlet.tigris.org Objet : Re: Bug in MediaType Parameter handling Hello Carsten, the current contract of the valueOf method is to use a name such as application/atom+xml instead of a complete string with the parameters. In your case, you can use the ContentType constructor with the String parameter

Re: Bug in OAuthHelper?

2010-02-11 Thread Thierry Boileau
Hello Yu, Thanks for your report. I've entered an issue for that: http://restlet.tigris.org/issues/show_bug.cgi?id=1034 Best regards, Thierry Boileau Hi, When I use Restlet (Acutally Noelios) OAuth together with OAuth lib from Netflix, there's inconsistent in handling OAuth and non-oauth

Re: Bug in MediaType Parameter handling

2010-01-25 Thread Thierry Boileau
Hello Carsten, the current contract of the valueOf method is to use a name such as application/atom+xml instead of a complete string with the parameters. In your case, you can use the ContentType constructor with the String parameter. Best regards, Thierry Boileau Hi, when I do the

Re: BUG?: JsonRepresentation does not inherit size from wrapped StringRep

2009-12-08 Thread Ben R Vesco
I'm not sure I'm convinced. When using the constructor that takes (String jsonString) the passed arg is put into a StringRepresentation which is then stored in this.jsonRepresentation of the JsonRepresentation object. The private getJsonText method then will not use the first if case (because

Re: BUG?: JsonRepresentation does not inherit size from wrapped StringRep

2009-12-08 Thread Thierry Boileau
Hi Ben, thanks a lot, I'm now awaken. I've added an implementation of the getSize method that checked if the wrapped representation is available of not. We may rely on the getJsonText, however this could have an impact on large objects since the each call to getJsonText compute a new value.

Re: BUG?: JsonRepresentation does not inherit size from wrapped StringRep

2009-12-08 Thread Ben R Vesco
In the case of the wrapped jsonRepresentation object it might be sufficient to pass the call to getSize through to jsonRepresentation.getSize without doing the full calculation. In this case you gain the benefit of knowing the size when the wrapped representation knows its own size but don't

Re: BUG?: JsonRepresentation does not inherit size from wrapped StringRep

2009-12-07 Thread Thierry Boileau
Hello Ben, your first post has been moderated, but was lost in the list of posts... sorry. Actually, the wrapped Representation is first parsed (in the private getJsonText() method) as JsonObject, even when the write method is called. Thus, it is difficult to know by advance the size of the

RE: Bug with getClientInfo().getPreferredVariant()

2009-12-02 Thread Jerome Louvel
Hi Dave, The experience so far has led us to be more flexible than the HTTP specification, if I remember correctly to be work around misconfigured user agent preferences. I'm open to revise this for stricter compliance and entered an issue: Content negotiation isn't strict enough

RE: BUG??: Internal Connector Error (1002) - allowUserInteraction is not supported. - GAE

2009-08-17 Thread Jerome Louvel
Hi there, Could you try again with Restlet 2.0 M4 and the GAE edition? The org.restlet.ext.net extension has been adapted and should work fine now. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~

RE: bug?

2009-07-15 Thread Jerome Louvel
://www.noelios.com -Message d'origine- De : Schley Andrew Kutz [mailto:sak...@gmail.com] Envoyé : vendredi 10 juillet 2009 20:41 À : discuss@restlet.tigris.org Objet : Re: bug? Jerome, Do you know when this will make it into the Maven snapshot? Thanks! -- -a Ideally, a code library

Re: bug?

2009-07-15 Thread Schley Andrew Kutz
d'origine- De : Schley Andrew Kutz [mailto:sak...@gmail.com] Envoyé : vendredi 10 juillet 2009 20:41 À : discuss@restlet.tigris.org Objet : Re: bug? Jerome, Do you know when this will make it into the Maven snapshot? Thanks! -- -a Ideally, a code library must be immediately usable

Re: bug?

2009-07-10 Thread Schley Andrew Kutz
-founder ~ http://www.noelios.com -Message d'origine- De : Schley Andrew Kutz [mailto:sak...@gmail.com] Envoyé : dimanche 5 juillet 2009 15:45 À : discuss@restlet.tigris.org Objet : Re: bug? Great! I'm really looking forward to this and the OnError bit making it into a release

RE: bug?

2009-07-07 Thread Jerome Louvel
://www.noelios.com -Message d'origine- De : Schley Andrew Kutz [mailto:sak...@gmail.com] Envoyé : dimanche 5 juillet 2009 15:45 À : discuss@restlet.tigris.org Objet : Re: bug? Great! I'm really looking forward to this and the OnError bit making it into a release. :) -- -a Ideally, a code library

Re: bug?

2009-07-05 Thread Jerome Louvel
Hi Schley, FYI, this has been fixed in SVN trunk. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com Schley Andrew Kutz a écrit : I want to prevent the use of HTTP VERB annotations in order to

Re: bug?

2009-07-05 Thread Schley Andrew Kutz
Great! I'm really looking forward to this and the OnError bit making it into a release. :) -- -a Ideally, a code library must be immediately usable by naive developers, easily customized by more sophisticated developers, and readily extensible by experts. -- L. Stein On Jul 5, 2009, at

Re: bug? - AccessControlException on Restlet GAE module

2009-04-30 Thread Zsolt Kovacs
@restlet.tigris.org *Objet :* Re: bug? - AccessControlException on Restlet GAE module Can I simply return null in ServletCall.getSubject, because in GAE application usually relies on GAE's authentication. Cheers, Keke

RE: bug? - AccessControlException on Restlet GAE module

2009-04-30 Thread Jerome Louvel
� � � � *Objet :* Re: bug? - AccessControlException on Restlet GAE � � module � � � � � � Can I simply return null in ServletCall.getSubject, because � � in GAE � � � � application usually relies on GAE's authentication. � � � � � � Cheers, � � � � Keke � � � � - � � � � We

Re: bug? - AccessControlException on Restlet GAE module

2009-04-30 Thread Zsolt Kovacs
] *Envoyé :* mercredi 29 avril 2009 13:03 *À :* discuss@restlet.tigris.org *Objet :* Re: bug? - AccessControlException on Restlet GAE module Thierry, I use gae, and this followRedirect seems to be missing from there. Zsolt 2009/4/29 Thierry Boileau thierry.boil...@noelios.com Hello Zsolt

Re: bug? - AccessControlException on Restlet GAE module

2009-04-28 Thread Thierry Boileau
/ *De :* keke [mailto:iamk...@gmail.com mailto:iamk...@gmail.com] *Envoyé :* samedi 18 avril 2009 16:57 *À :* discuss@restlet.tigris.org mailto:discuss@restlet.tigris.org *Objet :* Re: bug? - AccessControlException on Restlet GAE module Can I simply return null

Re: bug? - AccessControlException on Restlet GAE module

2009-04-27 Thread Zsolt Kovacs
@restlet.tigris.org *Objet :* Re: bug? - AccessControlException on Restlet GAE module Can I simply return null in ServletCall.getSubject, because in GAE application usually relies on GAE's authentication. Cheers, Keke - We paranoid love life On Sat, Apr 18, 2009 at 10:25 PM, keke

RE: bug? - AccessControlException on Restlet GAE module

2009-04-25 Thread Jerome Louvel
://www.restlet.org/ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com/ http://www.noelios.com _ De : keke [mailto:iamk...@gmail.com] Envoyé : samedi 18 avril 2009 16:57 À : discuss@restlet.tigris.org Objet : Re: bug? - AccessControlException on Restlet GAE module

Re: bug? - AccessControlException on Restlet GAE module

2009-04-18 Thread keke
Can I simply return null in ServletCall.getSubject, because in GAE application usually relies on GAE's authentication. Cheers, Keke - We paranoid love life On Sat, Apr 18, 2009 at 10:25 PM, keke iamk...@gmail.com wrote: Hi, Does anybody else get AccessControlException when

RE: Bug in HttpAmazonS3Helper class

2009-04-15 Thread Jerome Louvel
Hi Matt, Thanks for reporting this. I've fixed the bug (due to an evolution in S3) in both 1.1 branch and SVN trunk. I've also added proper unit test cases to make sure there is no regression. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios

Re: (Bug?) entity for receives null mediaType when deployed on Tomcat

2008-11-17 Thread Rob Heittman
Thanks, Richard! Can you share a Tomcat version number? This sounds like the same issue we've been seeing in GWT hosted mode, and I've been trying to figure out where this is triggered in the Tomcat codebase so maybe we can work around it better. GWT's embedded version is special enough and old

Re: (Bug?) entity for receives null mediaType when deployed on Tomcat

2008-11-17 Thread Richard Hoberman
Hi Rob I tested this against Tomcat-5.5.27. The problem is also affecting code running on 5.5.25. Cheers Richard Rob Heittman wrote: Thanks, Richard! Can you share a Tomcat version number? This sounds like the same issue we've been seeing in GWT hosted mode, and I've been trying to

Re: (Bug?) entity for receives null mediaType when deployed on Tomcat

2008-11-17 Thread Rob Heittman
Thanks ... Tomcat trunk didn't seem to have the same issue when I quick compiled it -- I'll start looking at 5.5.27 tag. If you have counter evidence that shows trunk or 6.x with the same issue, let me know. On Mon, Nov 17, 2008 at 8:10 AM, Richard Hoberman [EMAIL PROTECTED] wrote: Hi Rob

Re: [BUG] OSGi manifest, please don't use Require-Bundle, re: com.noelios.restle

2008-04-15 Thread Stephan Koops
Hi, I've problems now in com.noelios.restlet.ext.httpclient_3.1, com.noelios.restlet.ext.jetty_6.1, com.noelios.restlet.ext.oauth and com.noelios.restlet.test, because a lot of imports could not be found. Did others had the same problem? The problems go away, if I go back to the version

Re: [BUG] OSGi manifest, please don't use Require-Bundle, re: com.noelios.restle

2008-04-15 Thread Stephan Koops
at this issue? Hendy maybe? Best regards, Jerome -Message d'origine- De : Thierry Boileau [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 avril 2008 11:53 À : discuss@restlet.tigris.org Objet : Re: [BUG] OSGi manifest, please don't use Require-Bundle, re: com.noelios.restle Hi all, I've

Re: [BUG] OSGi manifest, please don't use Require-Bundle, re: com.noelios.restle

2008-04-15 Thread Steve Loughran
On Tue, Apr 15, 2008 at 11:38 AM, Stephan Koops [EMAIL PROTECTED] wrote: I'm using JDJ 1.5, because 1.6 causes trouble eith JAXB. or do you updated this, so that both JDKs are possible? Java 1.6= update 4 has better JAXB support, though the whole idea of bundling something as unstable as JAXB

RE: [BUG] OSGi manifest, please don't use Require-Bundle, re: com.noelios.restlet.ext.servlet

2008-04-14 Thread Jerome Louvel
Hi Hendy, Thanks for reporting this. Your suggestion makes sense and is more flexible. I have converted all manifests in SVN trunk. Best regards, Jerome -Message d'origine- De : Hendy Irawan [mailto:[EMAIL PROTECTED] Envoyé : mercredi 9 avril 2008 23:01 À :

Re: bug in the spring SpringBeanRouter

2008-04-01 Thread Rhett Sutphin
On Apr 1, 2008, at 3:20 PM, Michael Böckling wrote: After lots of debugging, it seems wildcards don't work in the SpringBeanRouter, since the * is improperly escaped. I haven't tried using *. SpringBeanRouter is taking the bean name and passing it directly to attach. I'm not aware of

Re: Bug in SpringFinder?

2007-10-31 Thread Thierry Boileau
Hello Florian, I think that you need to override the init method in order to intialize properly your resource instance (such as getting from the model all data needed by this resource, check if this resource exists, setting the supported variants, etc). best regards, Thierry Boileau Hi

RE: Bug: DirectoryResource is broken if used with relative paths

2007-09-24 Thread Jerome Louvel
2007 01:44 À : discuss@restlet.tigris.org Objet : Re: Bug: DirectoryResource is broken if used with relative paths I'm getting a test failure building trunk 2181, probably this change is the culprit?!? [junit] java.lang.ClassCastException: org.restlet.data.Reference [junit

Re: Bug: DirectoryResource is broken if used with relative paths

2007-09-23 Thread Rob Heittman
: Jerome Louvel [EMAIL PROTECTED] To: discuss@restlet.tigris.org Sent: Sunday, September 23, 2007 3:35:55 PM (GMT-0500) America/New_York Subject: RE: Bug: DirectoryResource is broken if used with relative paths Hi all, The Directory constructors now automatically normalize the root URI/Reference

Re: Bug: DirectoryResource is broken if used with relative paths

2007-09-19 Thread Marc Portier
are in use) regards, -marc= - Original Message - From: Jerome Louvel [EMAIL PROTECTED] To: discuss@restlet.tigris.org Sent: Tuesday, September 18, 2007 5:13:35 PM (GMT-0500) America/New_York Subject: RE: Bug: DirectoryResource is broken if used with relative paths Hi all, This bug lied

Re: Bug: DirectoryResource is broken if used with relative paths

2007-09-18 Thread Rob Heittman
LocalReference.getTargetRef() oughta return a LocalReference (you'd have to cast it, but this should work). - Rob - Original Message - From: Joel Nelson [EMAIL PROTECTED] To: discuss@restlet.tigris.org Sent: Monday, September 17, 2007 8:00:26 PM (GMT-0500) America/New_York Subject: Re: Bug

Re: Bug: Oversized messages cause erroneous behavior

2007-04-05 Thread Alex Combs
The way I got the bug was as follows: String request = http://localhost:1234/;; for(int i=0;i5*1024;i++) request += a; Component component = new Component(); Server server = component.getServers().add(Protocol.HTTP, 1234); component.start(); Client client = new Client(Protocol.HTTP);

Re: Bug: Oversized messages cause erroneous behavior

2007-04-03 Thread Thierry Boileau
Hello Alex, Could you precise your environment? I've tested with the Simple connector, and I get back 404 status which is not so bad but may be improved. Best regards, Thierry Boileau If you do a GET on a URI that is too big (4k by default), the response status will be 'null (-1)'. A quick

Re: Bug in bookmark example

2007-03-15 Thread Sean Landis
Hi Thierry, Thierry Boileau thboileau at gmail.com writes: Hello Sean, the example code has been updated in the SVN repository. Thanks for reporting this issue. I think there is still a bug. Try adding a user and two bookmarks. Shutdown the server and then restart it. One of the

Re: Bug in bookmark example

2007-03-14 Thread Thierry Boileau
Hello Sean, the example code has been updated in the SVN repository. Thanks for reporting this issue. Best regards, Thierry Boileau There's a bug in the bookmark example. If I create a user, say 'scl', and add a bookmark, say 'artima.com', all is well. I browse to

Re: Bug in Directory handler

2007-01-02 Thread Thierry Boileau
Hi Sean, thanks for the report, your fix has been integrated in svn. Best regards, Thierry Jerome Louvel a écrit : Hi Sean, Thanks for the report, I was able to simply reproduce it by creating a test directory: http://www.restlet.org/downloads/test/ We'll integrate your fix to 1.0 RC2.

RE: Bug in Directory handler

2006-12-29 Thread Jerome Louvel
Hi Sean, Thanks for the report, I was able to simply reproduce it by creating a test directory: http://www.restlet.org/downloads/test/ We'll integrate your fix to 1.0 RC2. Best regards, Jerome -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Sean Landis

RE: Bug in Reference.getHostPort() ?

2006-12-06 Thread Jeff Walter
Jerome, I downloaded the latest and I'm still having the problem. The issue can easily be reproduced by running the demo at the end of the section 5 of the tutorial, but instead of port 8182, use port 80. Any request will produce the NPE. I also tried adding the code below to the tutorial

Re: Bug in Reference.getHostPort() ?

2006-12-06 Thread Thierry Boileau
Jeff, I've downloaded the beta21 and reproduced the issue. We will quickly fix it. Thierry On 12/6/06, Thierry Boileau [EMAIL PROTECTED] wrote: Hello Jeff, I don't reproduce the issue. I copy/paste the demo code with port 80 in my Eclipse JDE and can test the demo with no NPE. I'm trying

Re: Bug in Reference.getHostPort() ?

2006-12-06 Thread Thierry Boileau
Hello Jeff, can you get the latest source code from SVN and tell us if it fixes the problem? Best regards, Thierry Boileau On 12/6/06, Thierry Boileau [EMAIL PROTECTED] wrote: Jeff, I've downloaded the beta21 and reproduced the issue. We will quickly fix it. Thierry On 12/6/06, Thierry

RE: Bug in Reference.getHostPort() ?

2006-12-05 Thread Jerome Louvel
Hi Jeff, I've just attempted to fix the issue in SVN. I'm not able to test it right now. Could you let me know if this solves your issue? Note that you need to set the default port (80) in the VirtualHost.resourcePort property. Best regards, Jerome -Message d'origine- De : Jeff