Hey Thierry, 

Thanks for the new version. I tested, the Collection is working awesome, but 
the single Object failed which it was working before.

I just fresh downloaded the sample code, and I didn't modify. The only thing I 
did is update the Restlet framework to 2.0.2 in both GWT and GAE, and got the 
following error message.

Line 19: The type ContactResourceProxyProxy must implement the inherited 
abstract method ContactResourceProxy.store(Contact, Result<Void>)
Line 45: Contact cannot be resolved to a type
Line 46: Contact cannot be resolved to a type

Here are the Line 45 and 46 from snapshot:
  public void store(Contact param1, final 
org.restlet.client.resource.Result<java.lang.Void> callback){
    Representation requestEntity = new 
ObjectRepresentation<Contact>((SerializationStreamFactory) 
ContactResourceProxyProxy.this, param1);

As I changed it to ArrayList, it is working fine. And I notice the single 
object in the parameter of @Put got the same problem, but I think the causes 
are the same.

Best regards,

Evan Wang

> Hello Evan,
> 
> the fix of this bug is available in both trunk (release 2.1) and 2.0 branch. 
> It will be part of release 2.0.2 (coming soon).
> 
> Best regards,
> Thierry Boileau

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2678537

Reply via email to