*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 : {code:java} 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.{code} This warning was not displayed when adding an annotation on XWiki 16.1.0, however, the annotations are added. |
|