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

Javascript error on CreateApplication for platform.appwithinminutes.appNameEmptyError translations that contain quotes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5.1
    • Component/s: App Within Minutes
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      • set the default wiki language to fr on the Administration Localisation section
      • go on AppWithinMinutes.WebHome and click on "Créer une application"

      Result on screen AppWithinMinutes.CreateApplication: the console will display an error because the translation key platform.appwithinminutes.appNameEmptyError is not encoded

      SyntaxError: missing } after property list
      [Break On This Error] 	
      
      responseText: '<span class="xErrorMsg">Entrez le nom de l'application</span>'
      

        Attachments

          Activity

            People

            • Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              oana.tabaranu Elena-Oana Florea
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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