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

Code after comments is not recognized when javascript language attribute doesn't have quotes

    Details

      Description

      Reproduced in Trunk (git commit d83c91ba7eb5f3a30ad4a3897f8dcd4f5749320c)

      Steps to reproduce:
      1. Start 6.1 GA2
      2. Create portlet using the 3 scripts below, totaling 3 scenarios/tests.

      a. type="text/javascript"
      b. type="Javascript"
      c. type=Javascript

      Results:
      a. Both single and multi line comments work because syntax is correct.
      b. Only multi line comments work.
      c. Only multi line comments work.

      Additional info
      All 3 scenarios work in 6.0.12 when core-2 fixpack is installed.
      Installing core-2 in GA2 does not resolve the issue.

      Requesting a fix where scenario C works as it did in 6.0.12 (type=Javascript)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                robert.frampton Robert Frampton (Inactive)
                Reporter:
                jeffrey.tuason Jeffrey Tuason (Inactive)
                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:
                  7 years, 4 weeks, 6 days ago

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  6.2.0 CE M5