[Bug 54262] An empty absolute-ordering / should turn off all web-fragments
https://issues.apache.org/bugzilla/show_bug.cgi?id=54262 --- Comment #8 from Lucas Ventura Carro useyour.m...@gmail.com --- And what about {tomcat.dist}/lib dir? Because those services are loaded anyway. Debugging and watching the code of WebappServiceLoader and a google search with containerSciFilter, I see that I can use a Pattern to exclude that classes. Is the only way? Thanks. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 54262] An empty absolute-ordering / should turn off all web-fragments
https://issues.apache.org/bugzilla/show_bug.cgi?id=54262 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from Mark Thomas ma...@apache.org --- Thanks for the patch. It has been applied - with some minor changes to trunk and 7.0.x and will be included in 7.0.35 onwards. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 54262] An empty absolute-ordering / should turn off all web-fragments
https://issues.apache.org/bugzilla/show_bug.cgi?id=54262 --- Comment #3 from Violeta Georgieva violet...@apache.org --- Created attachment 29811 -- https://issues.apache.org/bugzilla/attachment.cgi?id=29811action=edit Patch proposal -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 54262] An empty absolute-ordering / should turn off all web-fragments
https://issues.apache.org/bugzilla/show_bug.cgi?id=54262 --- Comment #4 from Violeta Georgieva violet...@apache.org --- Created attachment 29812 -- https://issues.apache.org/bugzilla/attachment.cgi?id=29812action=edit Test case -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 54262] An empty absolute-ordering / should turn off all web-fragments
https://issues.apache.org/bugzilla/show_bug.cgi?id=54262 --- Comment #5 from Violeta Georgieva violet...@apache.org --- Please find attached a patch proposal and a test case for it. Any comments will be appreciated. Regards Violeta -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 54262] An empty absolute-ordering / should turn off all web-fragments
https://issues.apache.org/bugzilla/show_bug.cgi?id=54262 --- Comment #2 from Violeta Georgieva violet...@apache.org --- Hi, I'm going to work on this. Regards Violeta -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 54262] An empty absolute-ordering / should turn off all web-fragments
https://issues.apache.org/bugzilla/show_bug.cgi?id=54262 --- Comment #1 from Konstantin Kolinko knst.koli...@gmail.com --- Created attachment 29736 -- https://issues.apache.org/bugzilla/attachment.cgi?id=29736action=edit resources1.jar Confirming. Steps to reproduce with 7.0.34: 1. Download attached resources1.jar and put it into webapps/examples/WEB-INF/lib The file is based on test/webapp-3.0-fragments/WEB-INF/lib/resources.jar from Tomcat sources. I a) removed all resources except resourceA.jsp and b) declared an instance of HelloWorldServlet in web-fragment.xml. 2. Edit webapps/examples/WEB-INF/web.xml: a) change metadata-complete attribute s/true/false/ b) add absolute-ordering / 3. Start Tomcat. 4. Actual result: The following two URLs work: [1] http://localhost:8080/examples/resourceA.jsp [2] http://localhost:8080/examples/resources1/HelloWorldExample Expected result: [2] should return 404 as web-fragment.xml should be ignored and the servlet mapping declared there should be ignored. quote from=Servet Spec 3.0 Rev a - page #67 (89/230) 1.d. (..) If the absolute-ordering element does not contain an others/ element, any web-fragment not specifically mentioned within name / elements MUST be ignored. (...) /quote Regarding [1], I do not see any specific reference that such exclusion affects static resources in META-INF/resources. Thus I think that the expected behaviour of [1] is to display resourcesA.jsp page. 7.0.34 behaves correctly here. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 54262] An empty absolute-ordering / should turn off all web-fragments
https://issues.apache.org/bugzilla/show_bug.cgi?id=54262 rstoyanc...@yahoo.com changed: What|Removed |Added Summary|absolute-ordering |An empty absolute-ordering ||/ should turn off all ||web-fragments -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org