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

Cannot use special characters in name attribute for input-localized taglib of type editor

    Details

      Description

      Reproducing steps:

      1. In a given site, create an Application Display Template with script
        <form>
            <@liferay_ui["input-localized"] name="my-complicated_name" xml="" type="editor"/>
        </form>
        

        In 6.2.x it is necessary to preface the previous code with

        <#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] />
        
      1. Add an Asset Publisher to a site page and configure the Display Template to the one just created ( three-dots > Configuration > Display Settings > Display Template).

      Observed: The editor is unusable and there is a JavaScript error in the browser console about a null variable in input_localized.js.
      Expected: The editor can be used and no errors are displayed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hong.zhao Hong Zhao
                Reporter:
                ricardo.couso Ricardo Couso
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 3 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP24
                  7.0.X EE
                  7.0.4 CE GA5
                  7.1.X
                  Master