Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-36112

Editing Large Page Results in "Your request could not be processed because a required security token was not present in the request" error

      The fix for this bug has been released to our Long Term Support release.

      The fix for this bug is now available in the latest release of Confluence 7.13 and 7.19

      When editing an already verbose (large) page in Confluence, attempting to save results in the following error message:

      Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page

      Reproduction steps:

      1. Install Confluence
      2. Install Source Editor plugin (to import the attached storage format export)
      3. Create Blank Page
      4. Save Blank Page
      5. Edit Blank Page
      6. Open Source Editor
      7. Paste the contents of the attached Storage Format
      8. Attempt to save

      Expected behavior

      The page saves

      Actual behavior

      Confluence does not save the page, the title of the page goes blank, and the following error appears:

      Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page.

      Workaround

      Open confluence-install/conf/server.xml and add the following to your HTTP connector:

      maxPostSize="10485760"
      

      This increases the maximum POST size that Tomcat will accept - the default is 2 Megabytes. The above setting increases that to 10 Megabytes.

        1. large_page.png
          761 kB
          Branno
        2. storageformat.txt
          2.09 MB
          Branno

            [CONFSERVER-36112] Editing Large Page Results in "Your request could not be processed because a required security token was not present in the request" error

            James Ponting made changes -
            Description Original: When editing an already verbose (large) page in Confluence, attempting to save results in the following error message:
            {code}Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page{code}

            h3. Reproduction steps:
            # Install Confluence
            # Install Source Editor plugin (to import the attached storage format export)
            # Create Blank Page
            # Save Blank Page
            # Edit Blank Page
            # Open Source Editor
            # Paste the contents of the [attached Storage Format|https://jira.atlassian.com/secure/attachment/147929/storageformat.txt]
            # Attempt to save

            h3. Expected behavior
            The page saves

            h3. Actual behavior
            Confluence does not save the page, the title of the page goes blank, and the following error appears:
            {code}Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page.{code}
            !large_page.png|thumbnail!

            h3.Workaround
            Open {{confluence-install/conf/server.xml}} and add the following to your HTTP connector:

            {code}
            maxPostSize="10485760"
            {code}

            This increases the maximum POST size that Tomcat will accept - the default is 2 Megabytes. The above setting increases that to 10 Megabytes.
            New: {panel:bgColor=#edffeb}
            *The fix for this bug has been released to our Long Term Support release.*

            The fix for this bug is now available in the latest release of Confluence 7.13 and 7.19
            {panel}
            When editing an already verbose (large) page in Confluence, attempting to save results in the following error message:
            {code}Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page{code}

            h3. Reproduction steps:
            # Install Confluence
            # Install Source Editor plugin (to import the attached storage format export)
            # Create Blank Page
            # Save Blank Page
            # Edit Blank Page
            # Open Source Editor
            # Paste the contents of the [attached Storage Format|https://jira.atlassian.com/secure/attachment/147929/storageformat.txt]
            # Attempt to save

            h3. Expected behavior
            The page saves

            h3. Actual behavior
            Confluence does not save the page, the title of the page goes blank, and the following error appears:
            {code}Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page.{code}
            !large_page.png|thumbnail!

            h3.Workaround
            Open {{confluence-install/conf/server.xml}} and add the following to your HTTP connector:

            {code}
            maxPostSize="10485760"
            {code}

            This increases the maximum POST size that Tomcat will accept - the default is 2 Megabytes. The above setting increases that to 10 Megabytes.
            James Whitehead made changes -
            Status Original: Closed [ 6 ] New: Closed [ 6 ]
            Saquia Naz made changes -
            QA Demo Status Original: Not Needed [ 14332 ] New: Done [ 14331 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Awaiting Merge [ 10064 ] New: Closed [ 6 ]
            Saquia Naz made changes -
            Fix Version/s New: 7.13.9 [ 101913 ]
            Fix Version/s New: 7.19.0 [ 101690 ]
            SET Analytics Bot made changes -
            UIS Original: 83 New: 74
            SET Analytics Bot made changes -
            UIS Original: 100 New: 83
            Rob made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 662147 ]
            Saquia Naz made changes -
            Status Original: In Review [ 10051 ] New: Awaiting Merge [ 10064 ]
            Saquia Naz made changes -
            QA Kickoff Status Original: Not Needed [ 14236 ] New: Done [ 14235 ]
            Testing Notes New: # Create an EC2 instance for linux
             # From PR build download linus installer from From build installer job artifact
             # scp to installer file to ec2 instance
             # ssh to ec2 instance
             # install confluence
             # go conf directory
             # sudo vim server.xml
             # Make sure maxPostSize connector is present
            Status Original: In Progress [ 3 ] New: In Review [ 10051 ]
            Saquia Naz made changes -
            Status Original: Awaiting Merge [ 10064 ] New: In Progress [ 3 ]

              05a8667aef42 Saquia Naz
              sbrannen@atlassian.com Branno (Inactive)
              Affected customers:
              32 This affects my team
              Watchers:
              51 Start watching this issue

                Created:
                Updated:
                Resolved: