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

Long value not being treated properly in Soy portlet

    Details

      Description

      When creating a soy portlet, if a long value is passed to the template, the assertions in the soy template fail, preventing the es.js from running correctly.

      This is because longs are being serialized to string.

      Steps to Reproduce:
      1. Build and deploy supplied portlet (in liferay workspace).
      2. Add portlet to page, open develop console.

      Expected: Console.log runs, no errors, "hi" outputted.
      Actual: Soy template assertion failure, no "hi" is outputted.

      Git Hash:
      0aa3b54d38e8ebb82bc87d8d6a88a4ee00c3a8d5

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                1 year, 41 weeks, 2 days ago

                Packages

                Version Package