Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0036079 | Openbravo ERP | A. Platform | public | 2017-05-23 16:30 | 2017-06-15 14:29 | |||||||
Reporter | ngarcia | |||||||||||
Assigned To | caristu | |||||||||||
Priority | immediate | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR17Q2.1 | Fixed in Version | 3.0PR17Q2.1 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | AugustoMauch | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | Production - Confirmed Stable | |||||||||||
Regression date | 2016-10-14 | |||||||||||
Regression introduced in release | 3.0PR17Q1 | |||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/89f0eb718711 [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0036079: inconsistent process (ad_process) configuration generates invalid web.xml | |||||||||||
Description | Having defined an inconsistent/incorrect configuration for a process (ad_process) can generate an invalid web.xml which stops Tomcat to be started. Example of incorrect definition: * Report = 'N' * UI Pattern = Standard * record in AD_MODEL_OBJECT_MAPPING with object_type = 'S' | |||||||||||
Steps To Reproduce | As System Admin role: 1. Set Core In Development 2. Go to Report and Process Window and select 'Print Requisition' report 3. Set it as Report = 'N' 4. Make any change in the Process Class tab and undo it in order the update the updated column (thus the web.xml file will be generated again) 5. Execute in DB: update ad_model_object set object_type = 'S' where ad_model_object_id = '1004400018' 6. Compile 7. Try to restart Tomcat and check the following error is raised: Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/openbravo]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162) ... 6 more Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name R1004400018 at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3425) Check in build/javasqlc/src/web.xml file that there is an <servlet-mapping> entry for the 1004400018 ad_model_object but there is not the <servlet-class> entry | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-05-24 10:28 | alostale | Type | defect => backport | |||||||||
2017-05-24 10:28 | alostale | Target Version | => 3.0PR17Q2 | |||||||||
2017-05-24 10:35 | alostale | Assigned To | platform => alostale | |||||||||
2017-05-24 16:14 | alostale | Target Version | 3.0PR17Q2 => 3.0PR17Q2.1 | |||||||||
2017-06-15 11:24 | hgbot | Checkin | ||||||||||
2017-06-15 11:24 | hgbot | Note Added: 0097415 | ||||||||||
2017-06-15 11:24 | hgbot | Status | scheduled => resolved | |||||||||
2017-06-15 11:24 | hgbot | Resolution | open => fixed | |||||||||
2017-06-15 11:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR17Q2.1/rev/977e2c53bf1e9c9cb84ed4619934b56cebd46f37 [^] | |||||||||
2017-06-15 11:24 | caristu | Assigned To | alostale => caristu | |||||||||
2017-06-15 11:25 | caristu | Review Assigned To | caristu => AugustoMauch | |||||||||
2017-06-15 14:29 | AugustoMauch | Note Added: 0097421 | ||||||||||
2017-06-15 14:29 | AugustoMauch | Status | resolved => closed | |||||||||
2017-06-15 14:29 | AugustoMauch | Fixed in Version | => 3.0PR17Q2.1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|