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

Javascript loader fails if bnd.bnd does not match package.json

    Details

      Description

      Steps to reproduce

      1. Update package.json, package-lock.json, and bnd.bnd in modules/apps/frontend-js/frontend-js-web so that the version is 3.0.0.hotfix-0-8000
      2. Deploy the module by running the following command:
        JENKINS_HOME=. ../../../../gradlew deploy
        
      3. Start up the portal
      4. Open the browser console and navigate to the home page

      Expected behavior is that there are no errors. Actual behavior is you encounter an error similar to the following:

      Uncaught (in promise) Error: Unsatisfied dependency: frontend-js-web/liferay/toast/commands/OpenToast.es found in module frontend-js-spa-web@3.0.0/liferay/app/App.es
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  27 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.X
                  7.1.10 DXP FP14
                  7.1.X
                  7.2.10 DXP FP1
                  7.2.X
                  7.2.1 CE GA2
                  Master