Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.0 CE GA1, 6.1.10 EE GA1, 6.2.0 CE M2
-
Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
-
Component/s: Administration, Administration > Server > Plugin Installer
-
Labels:
-
Liferay Contributor's Agreement:Accept
-
Similar Issues:
Description
I found that after switching from 6.0.6 to 6.1.0 ce i cannot use DEPLOY_TO__ prefix anymore to define a plugin's context root when deploying by copying a war into the deploy folder. This is related to Commit a697bb550826ea59070d71133c09a6f5a74940ec.
In BaseDeployer, line 775 sais:
if ((specifiedContext != null) && srcFile.getName().startsWith(DEPLOY_TO_PREFIX)) {
specifiedContext is not given in some cases, especially not when deploying plugins by copying them to the deploy folder. In that case, I think, the DEPLOY_TO_PREFIX should be evaluated which is somewhat the opposite what the current code does.

i think this was just a kind of typo. See commit comment and
LPS-26025.