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

XSL not considered a valid file type with template script file uploader

    Details

      Description

      Steps to reproduce:

      1. Navigate to Admin > Content > Web Content > Manage > Templates > Add
      2. In the Add Template iframe, click Details
        • Toggle the language to XSL
      3. On the bottom of the iframe, click Browse... to upload a file
        • Choose the attached (xsl_template.xsl) file on this ticket

      Expected result:
      User will be able to upload this xsl file as a template.

      Actual result:
      Iframe reloads giving a "Your request failed to complete.
      Please enter a valid script." UI failure message.

      Note: Users can upload .txt files, but .xsl is blocked

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.wulbern Brian Wulbern
              Reporter:
              brian.wulbern Brian Wulbern
              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:
                6 years, 17 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1