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

If you deploy a fragment bundle, it never changes to resolved state

    Details

      Description

      If you deploy a fragment bundle, it never changes to resolved state, it remains in "installed" state.

      Steps to reproduce

      1. Deploy the attached com.liferay.blade.module.jsp.override-1.0.0.jar osgi fragment module. (It was created from the blade samples)
      2. Connect to the gogo shell and execute lb |grep -v Active
      3. Check the state of the deployed module:
        • Expected behavior: The module is in "Resolved" status
        • Wrong behavior: The module is in "Installed" status
      4. Additional verification: check that the unsolved dependency should be satisfied
        • Execute diag <bundleId> to get the missing dependency of the osgi fragment
        • Execute lb -s com.liferay.login.web to get the version of the host module
        • Verify that the fragment expects any version between 1.0.0 and 7.0.0, and the com.liferay.login.web module has a matching one.

      Workaround
      You can apply following steps to solve the wrong dependency:

      1. Stop the application server
      2. Delete the osgi/state folder content
      3. Start the application server

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Rafaela Nascimento
              Engineering Assignee:
              Jorge Diaz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 weeks, 6 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP12
                  7.2.X
                  7.3.X
                  7.4.0 CE GA1
                  Master