Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-24962

Using REST methods with @FormParam causes misleading warnings in logs

    XMLWordPrintable

    Details

      Description

      The REST api has a mismatch of Log Levels. The following debug (Level.FINE) log is displayed as a warning.

      
      [WARNING] [talledLocalContainer] WARNING: A servlet POST request, to the URI http://localhost:1990/confluence/rest/adhoclists/latest/boards/ds/addpage?type=LABEL&containerId=threat,&title=a%20threat&parentId=0, 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.
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vvo Vu Truong Vo (Inactive)
              Reporter:
              f69cbac16f16 Ulrich Kuhnhardt
              Votes:
              60 Vote for this issue
              Watchers:
              61 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: