https://issues.apache.org/bugzilla/show_bug.cgi?id=42996


Filip Hanik <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO


--- Comment #37 from Filip Hanik <[email protected]> 2009-08-06 12:03:27 PDT ---
Jerome, I narrowed it down for you

in ServerResource.doNegotiatedHandle()

List<Variant> variants = getAvailableVariants(getMethod());

when the error occurs, 
getMethod() -> return GET

but the list coming back, 

variants.get(0).getAnnotationInfo().getRestletMethod() -> return PUT

and so the preferred variant, contains a put method, and then it fails.

best
Filip

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to