[jboss-jira] [JBoss JIRA] (JBWEB-279) Overlays do not work as expected
Remy Maucherat (JIRA)
jira-events at lists.jboss.org
Mon Sep 2 09:52:03 EDT 2013
[ https://issues.jboss.org/browse/JBWEB-279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800919#comment-12800919 ]
Remy Maucherat commented on JBWEB-279:
--------------------------------------
That functionality is used to implement the spec behavior. Some configurability was added since it appeared to be easy and cheap to do, but as a result it inherits the same behavior. A configuration option can be added to switch that (disabled by default) but the switch can break spec compliant webapps.
> Overlays do not work as expected
> --------------------------------
>
> Key: JBWEB-279
> URL: https://issues.jboss.org/browse/JBWEB-279
> Project: JBoss Web
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Core
> Affects Versions: JBossWeb-7.2.1.GA
> Reporter: Mustafa Musaji
> Assignee: Remy Maucherat
> Attachments: fix.proposal.txt
>
>
> It is expected that the <overlay> element in jboss-web.xml has the same outcome as the overlay feature in the CLI: https://docs.jboss.org/author/display/AS72/Deployment+Overlays
> In jboss-web.xml the overlays element is not used to actually overlay existing files but to add files to a deployment. This is confusing and either this should work the same as the CLI or the documentation around the <overlay> element in jboss-web.xml should clearly state this is not the case and that we do not replace artifacts but rather
> Attached is a proposed patch that fixes this issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list