Cannot redeploy theme after it is removed
Description
Testing discovered
relates
Activity

Albert LeeMay 4, 2018 at 3:15 PM
The UI now only has the option to "Deactivate" or "Uninstall". Delete has been removed so I am closing this ticket as fixed.

milen.dyankovSeptember 6, 2017 at 5:35 AM
Reopening as a result of discussion with PM regarding consistent install/uninstall strategy. Dave, please reassign accordingly.

preston.craryAugust 30, 2017 at 4:52 PM
This is not a bug. There are some bugs that we've found as a result of testing this but even after we fix them this behavior will still be present. The problem is that "delete" only uninstalls the bundle, it doesn't actually delete. The bundle must be deleted manually or you can run "clean deploy" for your custom bundle and it will work.

Jose BalsasJune 29, 2017 at 2:52 AM
I think this is probably related to the OSGi support for wars, so I'm moving it to Core Infra for a better assessment.

Raven SongMay 2, 2017 at 2:07 AM
Here are my steps for this ticket :
Start a bundle.
Control Panel -> App Manager -> select a theme -> Actions -> Delete.
Redeploy the theme.
Result:
Can't redeploy the theme and have an WARN. Can't find the theme in gogo console.Go to gogo console and select all theme, choose a theme and stop it.
Redeploy the theme.
Result:
Can't redeploy the theme and stay in Processing.
Reproduced on:
Tomcat 8.0.32 + MySQL 5.6. Portal master GIT ID: 5d714eee20b88c5e0f8d22b0346557c0040ad1a6.
Tomcat 8.0.32 + MySQL 5.6. Portal ee-7.0.x GIT ID: 296e2bf694a59088a50bdce23427d40dd812f6b0.
Tomcat 8.0.32 + MySQL 5.6. Portal dxp-de-7.0-ga1 + fp-de-13-7010.
Tomcat 8.0.32 + MySQL 5.6. Portal dxp-de-7.0-sp2.
Cannot redeploy theme after it is stopped.
Details
Assignee
Albert LeeAlbert Lee(Deactivated)Reporter
Alexey KakuninAlexey KakuninLabels
Fix Priority
4Components
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Labels
Fix Priority
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

I have Theme (material-design-theme.war) deployed into Liferay DXP. Now I want to redeploy it. To make it "clean" first, I went to Control Panel -> App Manager -> found my theme -> Actions -> Delete.
Now I want to deploy new version - to do it I've placed theme into deploy folder - but it was not deployed: