Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0034653 | Openbravo ERP | A. Platform | public | 2016-11-30 10:24 | 2016-12-16 18:39 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR17Q1 | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0034653: non existing url request displays axis services |
Description | When Openbravo is deployed in Tomcat>=7 and an invalid URL path is requested, default axis page is served.
This is caused by this fix [1][2] in Tomcat that serves welcome pages if there's a mapping for them even they are not backed by a physical file. Openbravo defines in the generated web.xml, index.jws as a welcome page and *.jws urls are mapped to be served by org.apache.axis.transport.http.AxisServlet which displays this page.
---
[1] https://bz.apache.org/bugzilla/show_bug.cgi?id=47378 [^]
[2] https://github.com/apache/tomcat/commit/fe53ca9bdefcbe427710f7dc615ec82f4693fe9e [^] |
Steps To Reproduce | 1. Request any invalid URL ending with /. Ie.: https://livebuilds.openbravo.com/erp_pi_pgsql/dummy/ [^]
-> ERROR: Axis services page is served (see attached image)
EXPECTED: Error 404 (not found) should be displayed instead |
Proposed Solution | Remove index.jws from welcome pages as it is useless. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0027244 | | closed | alostale | Tomcat 7 is not supported | related to | defect | 0037683 | | closed | alostale | Axis services page is always available | related to | design defect | 0040536 | | closed | alostale | Remove support for axis |
|
Attached Files | Selection_130.png (28,938) 2016-11-30 10:26 https://issues.openbravo.com/file_download.php?file_id=10132&type=bug
|
|
Issue History |
Date Modified | Username | Field | Change |
2016-11-30 10:24 | alostale | New Issue | |
2016-11-30 10:24 | alostale | Assigned To | => platform |
2016-11-30 10:24 | alostale | Modules | => Core |
2016-11-30 10:24 | alostale | Triggers an Emergency Pack | => No |
2016-11-30 10:24 | alostale | Assigned To | platform => alostale |
2016-11-30 10:24 | alostale | Review Assigned To | => caristu |
2016-11-30 10:25 | alostale | Summary | non existent url request displays axis services => non existing url request displays axis services |
2016-11-30 10:26 | alostale | File Added: Selection_130.png | |
2016-11-30 10:26 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13916#r13916 |
2016-11-30 10:29 | alostale | Relationship added | related to 0027244 |
2016-11-30 10:31 | alostale | Relationship added | related to 0030183 |
2016-11-30 10:34 | hgbot | Checkin | |
2016-11-30 10:34 | hgbot | Note Added: 0091924 | |
2016-11-30 10:34 | hgbot | Status | new => resolved |
2016-11-30 10:34 | hgbot | Resolution | open => fixed |
2016-11-30 10:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2040ebbc99144a38fea74a40727c157f03472541 [^] |
2016-12-01 10:13 | caristu | Note Added: 0091952 | |
2016-12-01 10:13 | caristu | Status | resolved => closed |
2016-12-01 10:13 | caristu | Fixed in Version | => 3.0PR17Q1 |
2016-12-16 18:39 | hudsonbot | Checkin | |
2016-12-16 18:39 | hudsonbot | Note Added: 0092671 | |
2018-02-01 19:29 | caristu | Relationship added | related to 0037683 |
2019-04-05 11:01 | caristu | Relationship added | related to 0040536 |