Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036192 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2017-06-07 13:58 | 2017-06-08 10:06 | |||
Reporter | maite | View Status | public | |||||
Assigned To | platform | |||||||
Priority | immediate | Resolution | invalid | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036192: Not possible to overwrite the result of a callout from your own callout using a requestdispatcher an a decorator in Tomcat 7 | |||||||
Description | Not possible to overwrite the result of a callout from your own callout using a requestdispatcher an a decorator in Tomcat 7 | |||||||
Steps To Reproduce | 0. Install provided example modules and rebuild application 1. Create new Business Partner defined as Customer. 1.1. Add Location filling "Region" field and with Tax Location=Yes. 1.2. Add record in Contact tab 2. Access Goods Shipment window and create new record 3. Select Business Partner and realize that error "Couldn't execute callout (class it.extrasys.italianspecificdata.goodsshipment.ui.callouts.IsdSL_InOut_BPartnerCallout)" is raised | |||||||
Proposed Solution | problem is that "dispatcher.include(request, msr);" executed DefaultServlet class instead of execute the callout (in that case SL_InOut_BPartner.java) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Notes | |
(0097201) alostale (manager) 2017-06-08 10:06 edited on: 2017-06-09 09:39 |
Callout execution infrastructure has been refactored to remove several inefficiencies as per project 0032366, this causes some API chages reported in [1] (PR16Q4.5): Callouts (even extending HttpServlet) are not handled as Servlets anymore, therefore they not included in web.xml. In this case fails because base callout is tried to be obtained through its mapping which is not present anymore. As workaround, it would be possible to manually define a mapping for base callouts as done for 0035540. In any case, this is not the recommended way to extend callouts as it's way too complex and fragile and would stop working once the callout is refactored to extend SimpleCallout (see 0036067). The recommended way to extend callouts since 16Q4 is documented here [2]. [1] http://wiki.openbravo.com/wiki/API_changes#PR16Q4 [^] [2] http://wiki.openbravo.com/wiki/How_to_create_a_callout_that_extends_from_another_callout [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2017-06-07 13:58 | maite | New Issue | |
2017-06-07 13:58 | maite | Assigned To | => platform |
2017-06-07 13:58 | maite | Modules | => Core |
2017-06-07 13:58 | maite | Resolution time | => 1498600800 |
2017-06-07 13:58 | maite | Triggers an Emergency Pack | => No |
2017-06-07 13:59 | maite | Relationship added | related to 0029849 |
2017-06-07 13:59 | maite | Relationship added | caused by 0034100 |
2017-06-07 14:02 | maite | Steps to Reproduce Updated | View Revisions |
2017-06-07 14:04 | maite | Steps to Reproduce Updated | View Revisions |
2017-06-07 14:06 | maite | Issue Monitored: networkb | |
2017-06-08 09:31 | alostale | Relationship added | has duplicate 0032366 |
2017-06-08 09:49 | alostale | Relationship added | related to 0036067 |
2017-06-08 10:00 | alostale | Relationship added | related to 0036009 |
2017-06-08 10:04 | alostale | Relationship deleted | related to 0036009 |
2017-06-08 10:05 | alostale | Relationship added | related to 0035540 |
2017-06-08 10:06 | alostale | Relationship added | related to 0032189 |
2017-06-08 10:06 | alostale | Note Added: 0097201 | |
2017-06-08 10:06 | alostale | Status | new => closed |
2017-06-08 10:06 | alostale | Resolution | open => invalid |
2017-06-09 09:39 | alostale | Note Edited: 0097201 | View Revisions |
2017-08-07 14:00 | aferraz | Relationship added | related to 0036617 |
Copyright © 2000 - 2009 MantisBT Group |