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

The browser back button doesn't restore unsaved changes in step 2 of App Within Minutes wizard in case of invalid content

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 3.5
    • App Within Minutes
    • None
    • XE 3.5; Local; FF11.0
    • Unknown

    Description

      To reproduce:
      1- Create an AWM app and go to step 2
      2- Include a short text
      3- Fill it with "Short text default &é"'(-è_çà)=1234567890°+!:;,*ù$^§/.?µ%£¨<>~#

      {[|`\^@]}¤ "
      4- Use the configure option
      5- Fill the Short text name with "&é"'(-è_çà)=1234567890°+!:;,*ù$^§/.?µ%£¨<>~#{[|`^@]}

      ¤ "

      Nothing wrong with the Short text default filed. It breaks only when filling the Name.

      Page after validation of the properties:

      • Error message:
        Property names must follow these naming rules:
        Names can contain letters, numbers, and the following characters: "., -, _, :"
        Names must not start with a number or punctuation character.
        Names must not start with the letters xml (or XML, or Xml, etc).
        Names cannot contain spaces.

      Effect:
      I've lost all my modifications and i have to use the back button of my browser

      Tested on XE 3.5 on my local machine

      EDIT: When this string is use with the name of a textfield type => Test export PDF.TestexportPDFClass_0_longText1: Exception while parsing HTML

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jcoury Jean Coury
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: