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

Improve messaging to avoid startup error

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.1.10 DXP GA1
    • Fix Version/s: None
    • Component/s: App Management > Store
    • Labels:

      Description

      Background
      It is possible to upgrade the Marketplace plugin from Control Panel. After the upgrade a reboot is necessary.

      Issue
      However, removing osgi/state folder is also required as plugin version changes. This might not be intuitive enough and proper message should be added.

      Steps to reproduce

      1. Unzip liferay-dxp-7.1.10-ga1 and install DE-6
        (don't use SP1 or any bundle with Marketplace plugin updated)
      2. Start Liferay
      3. Login as test@liferay.com
      4. Navigate to Control Panel > Apps > Store
      5. Click on "Sign In"
      6. Since navigate to Marketplace page, click "Grant access"
      7. Click on "Update"
      8. Note that a message informing the need to reboot is displayed
      9. Click "OK"
      10. Wait until update is completed
      11. Stop Liferay
      12. Start Liferay again
      13. Navigate to Control Panel > Apps > Store

      Actual result
      No warning about removing osgi/state folder is displayed, so several errors are thrown during startup.

      2019-01-23 01:27:04.976 ERROR [Start Level: Equinox Container: f5abad5d-3ffe-4d07-b889-6ae20d33c868][com_liferay_marketplace_service:97] bundle com.liferay.marketplace.service:4.0.9 (969)[com.liferay.marketplace.internal.bundle.BundleManagerUtil(3972)] : The setBundleManager method has thrown an exception 
      2019-01-23 01:27:28.692 ERROR [main][com_liferay_marketplace_store_web:97] bundle com.liferay.marketplace.store.web:4.0.0 (708)[com.liferay.marketplace.store.web.internal.portlet.MarketplacePurchasedPortlet(2639)] : The setOAuthManager method has thrown an exception 
      java.lang.IllegalArgumentException: argument type mismatch

      Store page is displayed with blank.

      Expected result
      Besides informing the need to reboot, you're informed on the need to clear osgi/state folder

      Reproduced in
      liferay-dxp-7.1.10-ga1 + install DE-6

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              jordi.rodo Jordi Rodó
              Participants of an Issue:
              Recent user:
              Harry Chai
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                45 weeks, 6 days ago

                Packages

                Version Package