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

AUI object has undefined Date parameter leading to JS errors

    Details

      Description

      Steps to Reproduce:
      1. Add the following to build.USERNAME.properties file

       build.include.dirs=\
              apps/collaboration,\
              apps/forms-and-workflow,\
              apps/foundation,\
              apps/ip-geocoder,\
              apps/marketplace,\
              apps/static,\
              apps/sync,\
              apps/web-experience,\
              core,\
              util
      

      2. build Liferay and start
      3. Publishing > Staging > Enable Local Live > Save
      4. Home Page > Publishing > Staging > Create new publication
      5. Content > Choose Content > Date Range > Publish To Live

      Expected results: If we put valid content in, the publication would publish to live
      Actual results: Publication is not published to live, instead there's a JS error.

      Master:25f5716521b3a488e2ca015617a968f3df2f996d
      70x:7eb0a22cd70781505daaac1644e50379c1491d9d

      Notes:
      At step 4, export-import is instantiated (navigation.js) and has an undefined date parameter. This is the source of the problem.
      At step 5, another export-import initialized. This A has a date parameters but we've already instantiated the closure with ADate as undefined.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sylvia.luan Sylvia Luan
              Reporter:
              spencer.woo Spencer Woo
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 31 weeks, 6 days ago

                  Packages

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