Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-50922

Template editor page produces a javascript error due to unescaped translation

    Details

      Description

      1. Create a site
      2. Set fr_FR as the default language for that site
      3. Make sure there are no other available languages for that site
      4. Go to Web Content section in control panel for that site
      5. Try to create a template
      6. A javascript error is shown:
      noResultsNode = A.Node.create('<div class="alert">Il n'y a aucun r├ęsultat.</div>');

      Reason: The ' in "n'y" is not escaped

      In master, this is solved by user story LPS-47682 (commit 5466d60126b95d571d4c543d544fea31c1beb652), as part of a much bigger refactoring. As it's not possible to backport a user story, this LPS is just devoted to the specific bug described above.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                daniel.sanz Daniel Sanz
                Reporter:
                daniel.sanz Daniel Sanz
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 8 weeks ago

                  Packages

                  Version Package