Foren

Bug or feature?

Alberto Eles Fernandez, geändert vor 12 Jahren.

Bug or feature?

New Member Beiträge: 9 Beitrittsdatum: 18.01.12 Neueste Beiträge
When I add a hook into "deploy" folder, if the hook already exist in "webapps" folder, it adds its content to the "ROOT" folder. Thats intentional or a bug?
thumbnail
Pankaj Kathiriya, geändert vor 12 Jahren.

RE: Bug or feature?

Liferay Master Beiträge: 722 Beitrittsdatum: 05.08.10 Neueste Beiträge
Hi Alberto Eles Fernandez,

When you deploy hook whichever jsps it contains are copied to ROOT/html/.... and thus you can customize Liferay's Out of Box features.

This is not bug.


Thanks,
Pankaj
thumbnail
David H Nebinger, geändert vor 12 Jahren.

RE: Bug or feature?

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
Alberto Eles Fernandez:
When I add a hook into "deploy" folder, if the hook already exist in "webapps" folder, it adds its content to the "ROOT" folder. Thats intentional or a bug?


Well, if you only see that on secondary deploy of the hook, it would be a bug. Should happen for all hook deployments...

JSP hooks are deployed by a) making a backup of the JSP file being replaced by the hook and b) copy the hooked JSP into the ROOT war. This allows the hook to be undeployed and restores the original JSP.

So upon first deployment you should see this activity. If you're not seeing it until the second deployment, then it may be a bug.
Alberto Eles Fernandez, geändert vor 12 Jahren.

RE: Bug or feature?

New Member Beiträge: 9 Beitrittsdatum: 18.01.12 Neueste Beiträge
Yhea as I said, it only applies it when it already exist in the webapps folder.