-
Type:
Bug
-
Status: Open
-
Resolution: Unresolved
-
Affects Version/s: 7.1.10 DXP GA1
-
Fix Version/s: None
-
Component/s: App Management > Store
-
Labels:
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
- Unzip liferay-dxp-7.1.10-ga1 and install DE-6
(don't use SP1 or any bundle with Marketplace plugin updated) - Start Liferay
- Login as test@liferay.com
- Navigate to Control Panel > Apps > Store
- Click on "Sign In"
- Since navigate to Marketplace page, click "Grant access"
- Click on "Update"
- Note that a message informing the need to reboot is displayed
- Click "OK"
- Wait until update is completed
- Stop Liferay
- Start Liferay again
- 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