bug with SpringFinder?

2013-11-15 Thread Sean Hogan
Hi, I believe I may have found a bug with the way SpringFinder works in Restlet 2.1.4. I have two Application subclasses, each with one Router. Call them app1 and app2, mapped in my servlet-based web app to /app1 and /app2. Both apps define a template /metadata mapped to their own private

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

Re: bug with SpringFinder?

2013-11-15 Thread Sean Hogan
have found a bug with the way SpringFinder works in Restlet 2.1.4. I have two Application subclasses, each with one Router. Call them app1 and app2, mapped in my servlet-based web app to /app1 and /app2. Both apps define a template /metadata mapped to their own private Resource subclasses

Re: bug with SpringFinder?

2013-11-15 Thread Thierry Boileau
, but not from my flawed analysis.) Thanks, Sean On 13-11-15 01:31 PM, Sean Hogan wrote: Hi, I believe I may have found a bug with the way SpringFinder works in Restlet 2.1.4. I have two Application subclasses, each with one Router. Call them app1 and app2, mapped in my servlet-based web

Re: Potential Namespace Bug in SaxRepresentation??

2012-04-06 Thread Thierry Boileau
Hello Nicholas, thanks a lot for pointing this bug. I've updated the XmlWriter#writeAttributes method. It takes care of the declaration of the namespace. I've updated the 2.0 and 2.1 branches, and the 2.2 master. Best regards, Thierry Boileau Look at this further. It seems the problem may

Re: Bad Request exception bug

2012-04-06 Thread Thierry Boileau
) at com.zeedna.applications.social.facebook.resources.Test.main(Test.java:21) Thank you Mutaz -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Bad-Request-exception-bug-tp7431921p7431921.html Sent from the Restlet Discuss mailing list archive at Nabble.com

Re: Potential Namespace Bug in SaxRepresentation??

2012-04-04 Thread Nicholas Waltham
namespace. forceNSDecl(atts.getValue(i)); } } } On Tue, Apr 3, 2012 at 3:28 PM, Nicholas Waltham nw...@log1.net wrote: Hi All,  I have produced some simplified code to demonstrate what appears to be a bug. However I would like to check with the list

Re: Bad Request exception bug

2012-04-04 Thread Thierry Boileau
) at com.zeedna.applications.social.facebook.resources.Test.main(Test.java:21) Thank you Mutaz -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Bad-Request-exception-bug-tp7431921p7431921.html Sent from the Restlet Discuss mailing list archive at Nabble.com

Bad Request exception bug

2012-04-03 Thread Mutaz Qasem
) at com.zeedna.applications.social.facebook.resources.Test.main(Test.java:21) Thank you Mutaz -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Bad-Request-exception-bug-tp7431921p7431921.html Sent from the Restlet Discuss mailing list archive at Nabble.com

Potential Namespace Bug in SaxRepresentation??

2012-04-03 Thread Nicholas Waltham
Hi All,  I have produced some simplified code to demonstrate what appears to be a bug. However I would like to check with the list before I file a report. If I have the following code: String uri = LocalReference.createClapReference(getClass().getPackage()) + /xmlwns.xml; Representation listVtl

Bad Request (400) - Bad Request exception. Bug?

2012-03-29 Thread Mutaz Qasem
) at com.zeedna.applications.social.facebook.resources.Test.main(Test.java:21) Thank you Mutaz -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Bad-Request-400-Bad-Request-exception-Bug-tp7417695p7417695.html Sent from the Restlet Discuss mailing list archive at Nabble.com

Bug in Restlet RC 2.1 RC?

2012-03-29 Thread Ping Tang
I have a PUT method to accept any java object in one of our resource class. This method is annotated with @Put shown below: @Put public void send(DataTransporter obj); I have successfully sent the serialized Java objects as well as Java File object created with a binary file using

Re: @Post generic parameter conversion bug/missing feature

2012-02-29 Thread Thierry Boileau
-discuss.1400322.n2.nabble.com/Post-generic-parameter-conversion-bug-missing-feature-tp7223520p7319344.html Sent from the Restlet Discuss mailing list archive at Nabble.com. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId

RE: @Post generic parameter conversion bug/missing feature

2012-02-26 Thread Andy Dennie
Did anybody log an issue for this? I didn't see one, but I don't want to log a dup. -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Post-generic-parameter-conversion-bug-missing-feature-tp7223520p7319344.html Sent from the Restlet Discuss mailing list archive

RE: @Post generic parameter conversion bug/missing feature

2012-01-27 Thread Andy Dennie
I ran into the same issue recently. I was going to try to fix it, but the reflection code was too hairy for me :-) -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2911894

@Post generic parameter conversion bug/missing feature

2012-01-25 Thread Dencel
the interface to resolve the actual parameter. @See AnnotationInfo I don't know if this is a bug or a missing feature. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2910995

Re: @Post generic parameter conversion bug/missing feature

2012-01-25 Thread Tim Peierls
I think it's a bug. I created a JUnit test here to demonstrate it: http://pastebin.com/xfvC6y2a The two resource hierarchies are identical except that in one case the @Post annotation is on the generic version of the method and in the other it isn't. That's enough to confuse the machinery

RE: Re: Serious bug in ClientResource

2011-12-13 Thread Koen Maes
I have a problem that an outbound connection sends the wrong representation, it sends the representation it received from the incoming connection (GWT serialized object) while it should send JSON. see http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2892105 Might this bug

Re: Serious bug in ClientResource

2011-12-13 Thread Arjohn Kampman
This looks like a related but different bug to me. ClientResource.wrap() doesn't seem to call AnnotationInfo.getRequestVariants(...) at all. -- Arjohn Kampman - www.aduna-software.com On 13/12/2011 13:42, Koen Maes wrote: I have a problem that an outbound connection sends the wrong

Re: Serious bug in ClientResource

2011-12-09 Thread Arjohn Kampman
Fix verified, it works as expected now. Thanks. On 08/12/2011 10:12, Thierry Boileau wrote: Hello Arjohn, the snapshots are refreshed three times in a day, and the maven repository once a day. I've just checked, you can test it. Best regards, Thierry Boileau -- Arjohn Kampman -

Re: Serious bug in ClientResource

2011-12-08 Thread Thierry Boileau
Kampman - www.aduna-software.com On 07/12/2011 19:39, Thierry Boileau wrote: Hello Arjohn, thanks a lot for the issue and for reporting this bug. The fix is now available in the trunk and the 2.0 branch. Best regards, Thierry Boileau

Re: Serious bug in ClientResource

2011-12-07 Thread Thierry Boileau
Thanks a lot Arjohn, I've opened an issue for this bug : http://restlet.tigris.org/issues/show_bug.cgi?id=1357 Best regards, Thierry Boileau Hi all, I think I've run into a serious bug in ClientResource. I've found this in method handle(Method method, Object entity, ClassT resultClass

Re: Serious bug in ClientResource

2011-12-07 Thread Arjohn Kampman
FYI: I've logged this issue earlier as: http://restlet.tigris.org/issues/show_bug.cgi?id=1356 On 07/12/2011 17:57, Thierry Boileau wrote: Thanks a lot Arjohn, I've opened an issue for this bug : http://restlet.tigris.org/issues/show_bug.cgi?id=1357 Best regards, Thierry Boileau

Re: Serious bug in ClientResource

2011-12-07 Thread Thierry Boileau
Hello Arjohn, thanks a lot for the issue and for reporting this bug. The fix is now available in the trunk and the 2.0 branch. Best regards, Thierry Boileau FYI: I've logged this issue earlier as: http://restlet.tigris.org/issues/show_bug.cgi?id=1356 On 07/12/2011 17:57, Thierry Boileau

Re: Serious bug in ClientResource

2011-12-07 Thread Arjohn Kampman
The fix looks fine to me. How often are the snapshot builds updated on maven.restlet.org so that I can test it? -- Arjohn Kampman - www.aduna-software.com On 07/12/2011 19:39, Thierry Boileau wrote: Hello Arjohn, thanks a lot for the issue and for reporting this bug. The fix is now

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

Bug in 2.1M5

2011-08-11 Thread Sebastian Wenninger
://restlet-discuss.1400322.n2.nabble.com/Bug-in-2-1M5-tp6676452p6676452.html Sent from the Restlet Discuss mailing list archive at Nabble.com. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2815725

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

ChildContext, subtle bug

2011-07-14 Thread Daniele Dellafiore
Hi. I instantiate a new ClientResource in the context of a Restlet Application to communicate to a third web service (in restlet itself). This just created client resource is set a ChildContext as the context. This resource does not seem to have any protocols cause it refers to the application

Re: ChildContext, subtle bug

2011-07-14 Thread Thierry Boileau
Hello Daniele, actually the Application declares its need of an HTTP client connector by using the connectorService. I wonder if the javadocs clairly explains this point. Here is the documentation of the ConnectorService#getClientProtocols: Returns the modifiable list of required client

RE: Fwd: Bug in WriterRepresentation with internal connector

2011-05-13 Thread Jerome Louvel
] Envoyé : jeudi 5 mai 2011 14:28 À : discuss@restlet.tigris.org Objet : Re: Fwd: Bug in WriterRepresentation with internal connector In summary, this is a reproducible bug: Using WriterRepresentation and the internal connector with content of size 1024 in 2.1-M4 (at least) on Windows

Re: Fwd: Bug in WriterRepresentation with internal connector

2011-05-05 Thread Tim Peierls
In summary, this is a reproducible bug: Using WriterRepresentation and the internal connector with content of size 1024 in 2.1-M4 (at least) on Windows (at least) hangs the Restlet component. WriterRepresentation is the supertype of JacksonRepresentation, so this means you can't use Jackson

Fwd: Bug in WriterRepresentation with internal connector

2011-05-02 Thread Tim Peierls
[I already posted to the Restlet code list, but I'm posting here as well, in case anyone else has noticed this and come up with workarounds.] I've created an issue in the issue tracker about a problem with WriterRepresentation, the internal connector, and large (1024) entities:

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

BUG: restlet client ignores SSL parameters

2011-03-17 Thread Andrei Pozolotin
Hello People of Restlet; I made self-sign keys and cert for both: restlet server: http://code.google.com/p/carrotgarden/source/browse/trunk/test-restlet/src/main/java/restlet_01/MainServerSSL.java restlet client:

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 --

Bug: ChunkedInputStream

2010-11-25 Thread Mark Thornton
The condition in the checkCRLF method seems to be wrong. The should be replaced by ||. (This is from the 2.0 branch) private void checkCRLF() throws IOException { final int cr = this.source.read(); final int lf = this.source.read(); if ((cr != '\r') (lf != '\n')) {

2.0.1 ClientResource bug?

2010-10-29 Thread Tony Rozga
Hi, I'm creating a ClientResource and passing it a Context object. When the ClientResource object is finalized I'm seeing the Context get released which is unexpected as I'm trying to use a single Context to get many resources. ClientResource.handle() calls ClientResource.getNext() and getNext

Jackson vs JaxB Converter score bug in 2.0.1?

2010-10-29 Thread Tony Rozga
Hi, I have both the jaxb and jackson extensions and a @Post(xml|json:xml|json) annotated method. Posting an xml entity works great but when I post json I see exceptions. The jaxb converter helper is getting selected. breakpoint in ConverterUtils.java reveals: args: source is a Representation

Re: JaxRs routing bug

2010-10-04 Thread Jeroen Goubert
- De : stephan.ko...@web.de [mailto:stephan.ko...@web.de] Envoyé : lundi 27 septembre 2010 21:11 À : discuss@restlet.tigris.org Objet : Re: JaxRs routing bug Hi Sriram, Am 27.09.2010 21:03, schrieb Sriram C: I have defined a JaxRs resource (Restlet 2.0 RC4) Do you tried

RE: JaxRs routing bug

2010-10-02 Thread Jerome Louvel
~ Founder and Technical Lead ~ http://www.restlet.o​rg Noelios Technologies ~ http://www.noelios.com -Message d'origine- De : stephan.ko...@web.de [mailto:stephan.ko...@web.de] Envoyé : lundi 27 septembre 2010 21:11 À : discuss@restlet.tigris.org Objet : Re: JaxRs routing bug Hi Sriram

JaxRs routing bug

2010-09-27 Thread Sriram C
at the top of the list from the above method. Sriram -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/JaxRs-routing-bug-tp5576500p5576500.html Sent from the Restlet Discuss mailing list archive at Nabble.com. -- http

Re: JaxRs routing bug

2010-09-27 Thread Stephan Koops
Hi Sriram, Am 27.09.2010 21:03, schrieb Sriram C: I have defined a JaxRs resource (Restlet 2.0 RC4) Do you tried the newest version? Maybe it solves the problem. Otherwise please file a bug on http://jira.restlet.org/ . Please also note the workaround with the order of the methods. I can't say

Bug when serializing sub-class to GWT?

2010-06-16 Thread fred bloggs
In my domain model, the dto classes are all Abstract and are subclassed into business objects which is what my application manipulates and persists. In hibernate terms I have a @MappedSuperclass and an @Entity subclass. If I make the abstract class concrete, I can serialize it to GWT without

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
13 mai 2010 18:36 À : discuss@restlet.tigris.org Objet : Bug in Atom extension Readers Hi, I am using both the FeedContentReader and EntryContentReader. When inline content is detected the type will never be set, hence setting it to text. Code snippet .. else if (localName.equalsIgnoreCase(content

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

Bug in Atom extension Readers

2010-05-13 Thread Martin Svensson
Hi, I am using both the FeedContentReader and EntryContentReader. When inline content is detected the type will never be set, hence setting it to text. Code snippet .. else if (localName.equalsIgnoreCase(content)) { if (this.state == State.FEED_ENTRY_CONTENT) {

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

2010-05-11 Thread David Fogel
Hi all- Our resources tend to subclass ServerResource and then use @Get, @Post, etc annotated methods for their functionality. Since there isn't very much documentation on the ServerResource class, we don't really know whether this is a bug, or if it reflects us violating some contract to do

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
a return-type, in which case I suppose it should always be fine to use that returned value to override anything else. -Dave On Tue, May 11, 2010 at 4:56 PM, Tim Peierls t...@peierls.net wrote: It doesn't sound like a bug to me, but I agree that the ServerResource documentation should be clearer

RE: Re: Multiple cookie bug (2.0RC1 and snapshot)

2010-03-27 Thread Thierry Boileau
Hello all, I've updated the svn repository. As far as I notice, the bug is fixed. Thanks Rob for reporting this. Could you give it a try? David, thanks a lot for taking time to debug and propose a solution. I just propose another one that consists in removing the need of caching pair

Re: Multiple cookie bug (2.0RC1 and snapshot)

2010-03-26 Thread David Fogel
with the algorithm in the HeaderReader.addValues() method- it seems like a hack gone awry. I don't know what the special cookie values involving $ are for. I would put this bug at the HIGHEST PRIORITY, since being unable to read all cookies is a very broken state for the build to be in! -Dave Fogel

Re: Multiple cookie bug (2.0RC1 and snapshot)

2010-03-26 Thread David Fogel
I posted the following to the restlet.tigris.org issue tracker, but there's a notice on tigris that it's going down for service starting tonight for 20 hours, so I figure I'd repost my message here, in case anyone wants a totally-no-guarantees patch for the cookie issue. Obviously the best thing

Multiple cookie bug (2.0RC1 and snapshot)

2010-03-25 Thread Rob Heittman
Hi all, I haven't explored it in sufficient detail yet to have a patch, but request.getCookies() is returning only the first cookie sent by the browser, I think since some of the engine refactoring in early March may have to do with it? I think it was OK before then. A quick step thru seems to

Re: Multiple cookie bug (2.0RC1 and snapshot)

2010-03-25 Thread Thierry Boileau
Hello Rob, thanks for your report, I've entered an issue for that: http://restlet.tigris.org/issues/show_bug.cgi?id=1068 Best regards, Thierry Boileau Hi all, I haven't explored it in sufficient detail yet to have a patch, but request.getCookies() is returning only the first cookie sent

RE: Bug in MediaType Parameter handling

2010-02-21 Thread Jerome Louvel
Hi guys, After double checking, there was a bug. Parameters are actually part of the media type name, so toString() shouldn’t add those parameters again. I’ve fixed the issue in SVN trunk and also improved the behavior of getParent() to return an instance of MediaType without parameters

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

Bug in OAuthHelper?

2010-02-04 Thread ZDC
Hi, When I use Restlet (Acutally Noelios) OAuth together with OAuth lib from Netflix, there's inconsistent in handling OAuth and non-oauth parameters and causes invalid signature exception later on in Noelios OAuthHelper saves all parameters (OAuth and Query parameters, for example) into its

Re: Bug in MediaType Parameter handling

2010-01-25 Thread Thierry Boileau
the following: --- MediaType mediaType = MediaType.valueOf(application/atom+xml; charset=UTF-8); System.out.println(mediaType.toString()); --- I get this output (with 2.0M6): application/atom+xml; charset=UTF-8; charset=UTF-8 Seems to be a bug in the handling of parameters. Cheers, Carsten

Bug in MediaType Parameter handling

2010-01-24 Thread Carsten Lohmann
Hi, when I do the following: --- MediaType mediaType = MediaType.valueOf(application/atom+xml; charset=UTF-8); System.out.println(mediaType.toString()); --- I get this output (with 2.0M6): application/atom+xml; charset=UTF-8; charset=UTF-8 Seems to be a bug in the handling of parameters. Cheers

Re: not sure if null identifier is user error or bug

2010-01-15 Thread Thierry Boileau
Hello Taylor, Thanks for reporting this issue. It is now fixed in the svn repository. Best regards, Thierry Boileau I'm getting a null identifier using the Restlet client Response res = client.post(http://localhost:8080/nodes;, r); Representation rep = res.getEntity();

not sure if null identifier is user error or bug

2010-01-14 Thread Taylor Cowan
I'm getting a null identifier using the Restlet client Response res = client.post(http://localhost:8080/nodes;, r); Representation rep = res.getEntity(); System.out.println(rep.getIdentifier()); System.out.println(rep.getSize()); System.out.println(rep.getMediaType()); results in null, 12, and

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

BUG?: JsonRepresentation does not inherit size from wrapped StringRep

2009-12-07 Thread Ben R Vesco
JsonRepresentation has the member variable jsonRepresentation for using a wrapped Representation object in some cases. The bug I'm seeing is that getSize() on the JsonRepresentation object always returns -1 in those cases where it is backed by this other underlying representation. I believe

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

2009-12-07 Thread Thierry Boileau
variable jsonRepresentation for using a wrapped Representation object in some cases. The bug I'm seeing is that getSize() on the JsonRepresentation object always returns -1 in those cases where it is backed by this other underlying representation. I believe a better behavior would

RE: Bug with getClientInfo().getPreferredVariant()

2009-12-02 Thread Jerome Louvel
2009 05:42 À : discuss@restlet.tigris.org Objet : Bug with getClientInfo().getPreferredVariant() The HTTP spec section 14.1 states: If no Accept header field is present, then it is assumed that the client accepts all media types. If an Accept header field is present, and if the server cannot send

BUG?: JsonRepresentation does not inherit size from wrapped StringRep

2009-11-25 Thread Ben R Vesco
JsonRepresentation has the member variable jsonRepresentation for using a wrapped Representation object in some cases. The bug I'm seeing is that getSize() on the JsonRepresentation object always returns -1 in those cases where it is backed by this other underlying representation. I believe

RE: DomRepresentation setIndent bug

2009-11-23 Thread Jerome Louvel
: remidewi...@gmail.com [mailto:remidewi...@gmail.com] De la part de Rémi Dewitte Envoyé : jeudi 12 novembre 2009 12:11 À : discuss@restlet.tigris.org Objet : Re: DomRepresentation setIndent bug Thierry, Unfortunately this is buggy : java.lang.IllegalArgumentException: Serialization parameter

Bug with getClientInfo().getPreferredVariant()

2009-11-22 Thread David Bordoley
The HTTP spec section 14.1 states: If no Accept header field is present, then it is assumed that the client accepts all media types. If an Accept header field is present, and if the server cannot send a response which is acceptable according to the combined Accept field value, then the server

Re: DomRepresentation setIndent bug

2009-11-12 Thread Thierry Boileau
Hi, thanks for your report, the fix is available in the svn repository. Best regards, Thierry Boileau Hi, There seems to be a bug in DocRepresentation#createTransformer. Why this: transformer.setOutputProperty( javax.xml.transform.OutputKeys.INDENT, Boolean

Re: DomRepresentation setIndent bug

2009-11-12 Thread Rémi Dewitte
...@noelios.comwrote: Hi, thanks for your report, the fix is available in the svn repository. Best regards, Thierry Boileau Hi, There seems to be a bug in DocRepresentation#createTransformer. Why this: transformer.setOutputProperty( javax.xml.transform.OutputKeys.INDENT, Boolean

DomRepresentation setIndent bug

2009-11-11 Thread legege
Hi, There seems to be a bug in DocRepresentation#createTransformer. Why this: transformer.setOutputProperty( javax.xml.transform.OutputKeys.INDENT, Boolean .toString(isIndent())); is inside the if (docType != null). The setIndent is not working because

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

2009-08-17 Thread Jerome Louvel
://www.noelios.com -Message d'origine- De : webp...@tigris.org [mailto:webp...@tigris.org] Envoyé : mardi 4 août 2009 16:43 À : discuss@restlet.tigris.org Objet : BUG??: Internal Connector Error (1002) - allowUserInteraction is not supported. - GAE Hi, I'm facing the same problem when using a Restlet

bug: riap://host and attachDefault

2009-08-11 Thread Rob Heittman
by VirtualHost.createRoute(), and VirtualHost.createRoute() is not invoked for the default attachment point. I didn't see a no-brainer way to patch, since VirtualHost.attachDefault(...) relies on super.attachDefault(...) to get its Route. Should I bother filing a bug on this? Or somebody just recommend

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

bug?

2009-06-25 Thread Schley Andrew Kutz
I want to prevent the use of HTTP VERB annotations in order to force sub-classes to respond with specific class types via abstract methods that I prototype in a base class. I marked the isAnnotated() method as @Override and final and returned false. However, when it returns false I get the

RE: Possible bug in Restlet 1.2m2 (maybe solved in post 1.2m2?)

2009-06-01 Thread Jerome Louvel
Noelios Technologies ~ Co-founder ~ http://www.noelios.com -Message d'origine- De : Thierry Boileau [mailto:thierry.boil...@noelios.com] Envoyé : lundi 25 mai 2009 11:01 À : discuss@restlet.tigris.org Objet : Re: Possible bug in Restlet 1.2m2 (maybe solved in post 1.2m2?) Hello Fabian

Possible bug in Restlet 1.2m2 (maybe solved in post 1.2m2?)

2009-05-25 Thread Fabian Mandelbaum
Hello, I have a resource which should only accept PUT requests (to modify its state; the resource is created with a POST to a 'parent' resource) If I implement it like this: public class MyResource extends ServerResource { @Override public void init() { // Perform initialization here

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
: 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, if you want to catch the redirection, just disable the automatic redirection

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

bug? - AccessControlException on Restlet GAE module

2009-04-18 Thread keke
Hi, Does anybody else get AccessControlException when using restlet-gae? Everything goes well, unless I need to use GAE's authentication feature. After a successful login (on development env), I got following exception: java.security.AccessControlException: access denied

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

Bug in HttpAmazonS3Helper class

2009-04-12 Thread MattyJ
19:36:42 +\n /_bucketname_/photos/puppy.jpg Matt. -- View this message in context: http://n2.nabble.com/Bug-in-HttpAmazonS3Helper-class-tp2614094p2614094.html Sent from the Restlet Discuss mailing list archive at Nabble.com. -- http

RE: ApplicationStatusFilter - bug ???

2008-12-23 Thread Jerome Louvel
-Message d'origine- De : Thierry Boileau [mailto:thierry.boil...@noelios.com] Envoyé : jeudi 11 décembre 2008 17:30 À : discuss@restlet.tigris.org Objet : Re: ApplicationStatusFilter - bug ??? Hello Rémi, your suggestion looks really reasonnable. As I'm not fully aware of the original design

ApplicationStatusFilter - bug ???

2008-12-11 Thread Rémi Dewitte
Hello, I just wonder if it is a bug having in ApplicationStatusFilter : public ApplicationStatusFilter(Application application) { super(application.getContext(), application.getStatusService() .isOverwrite(), application.getStatusService() .getContactEmail

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

  1   2   >