Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
16.2.0-rc-1
-
None
-
Windows 11 Pro, Edge 122, using a local instance of XWiki 16.2.0 RC1 on Tomcat 9.0.87, Oracle 19c, reproducible also on Jetty/HSQLDB
-
Unknown
-
Description
Steps to reproduce
- Login
- Go to a page, select a word
- Press CTRL+M and add an annotation
- Observe the XWiki console
Expected results
No warnings are displayed.
Actual results
The following Warning is displayed each time an annotation is added:
21-Mar-2024 16:10:49.412 WARNING [http-nio-1115-exec-10 - http://localhost:1115/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/annotations?media=json] org.glassfish.jersey.servlet.WebComponent.filterFormParameters A servlet request to the URI http://localhost:1115/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/annotations?media=json contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
This warning was not displayed when adding an annotation on XWiki 16.1.0, however, the annotations are added.
Attachments
Issue Links
- is caused by
-
XWIKI-12674 Replace Restlet with Jersey
- Closed