Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13141

Error when saving a page with a link reference larger than 255 characters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.4
    • Fix Version/s: 7.4.2, 8.0-rc-1
    • Component/s: Old Core
    • Labels:
    • Environment:
      Production
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      This line in a page:

      ls -lart amm_~[~bx~]~[~[sm~]~[~[pl~]_summary*20141231*\\
      

      prevents the page from being saved if it is followed by image specifications like in:

      [[image:MyAttachedImage.jpg]]
      

      (and possibly any other [[ specifications.)

      I had 52 images in this page. About 25 before this line, and 27 after.

      I believe there should be "bad rendering", but not a hard failure like error 3201. I am willing to admit that maybe my belief is wrong.

      I was able to create a sample page content:

      Quick copy/paste:\\
      cd /someexp/data/admin/prod_eng/log\\
      ls -lart amm_[[bx][[sm][[pl]_summary*20141231*\\
      
      Login to this link using your credentials
      
      1. Execute the "cd" command followed by ""ls -lart" (adjust the date to today's date):
      ~{~{~{
      myuserid@mymach$ cd /someexp/data/admin/prod_eng/log
      myuserid@mymach$ pwd
      /someexp/data/admin/prod_eng/log
      myuserid@mymach$ ls -latr amm_~[bx~]~[sm~]~[pl~]_summary*20150101*
      -rw-r--r--   1 someexp someexp     942 Jan  1 08:46 xml_summary_job.201501010846.log
      -rw-r--r--   1 someexp someexp     942 Jan  1 08:50 bsp_summary_job.201501010850.log
      ~}~}~}
      
      Look at the last line of the file and copy it in the morning checks email.
      
      [{FormSelect name='status' value='*TO DO;RECHECK;DONE'}]
      
      ;:[[image:MYAttachedImage.png]]
      

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              gperreault.sub@gmail.com Gerard Perreault
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: