Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036192
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2017-06-07 13:582017-06-08 10:06
ReportermaiteView Statuspublic 
Assigned Toplatform 
PriorityimmediateResolutioninvalidFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036192: Not possible to overwrite the result of a callout from your own callout using a requestdispatcher an a decorator in Tomcat 7

DescriptionNot possible to overwrite the result of a callout from your own callout using a requestdispatcher an a decorator in Tomcat 7
Steps To Reproduce0. 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 Solutionproblem is that "dispatcher.include(request, msr);" executed DefaultServlet class instead of execute the callout (in that case SL_InOut_BPartner.java)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0029849 closedalostale Not possible to overwrite the result of a callout from your own callout using a requestdispatcher an a decorator 
caused by feature request 00341003.0PR17Q1 closedalostale Raise minimum stack requirements for PR17Q1 
has duplicate design defect 00323663.0PR16Q4 closedinigosanchez callout invocation ineficiencies 
related to design defect 0036067 closedmarkmm82 old callouts should be refactored to implement SimpleCallout 
related to defect 0035540 closedalostale Traceability Report does not work 
related to design defect 0032189 closedinigosanchez Make the callouts extensible 
related to defect 0036617 closedaferraz API change: functional callouts now implement SimpleCallout 

-  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
Powered by Mantis Bugtracker