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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044119
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] External Data Integrationmajorhave not tried2020-05-20 13:112020-05-26 12:50
ReporterjavietxeView Statuspublic 
Assigned Tocaristu 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/add838f2fe9e [^]
Regression level
Review Assigned ToAugustoMauch
Regression introduced in release
Summary

0044119: Output Content Not Saved In case of error

DescriptionIn an OUT integration towards a web service for example, everything goes fine but the ws we are sending the information responds an error.

The treatment of this error is done in the outputExtraActions method. If this response is not correct, the only way to set the Request in error is to throw an Exception.

As the treatment of all the exceptions in EDL is first to do a rollback, the output content generated is not stored in the database.

Steps To Reproduce- Create an output integration with a WSRest configuration
- Send the content to the ws
- Do the WS respond a wrong response and treat it in the outputExtraActions method throwing an OBException.
- See that the OutputContent is not being stored
Proposed SolutionCreate a new Exception type to distinguish it from a regular error in the EDL Process, so in this case the rollback is not needed.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0042541 closedcaristu EDL request status can be not updated properly under some circumnstances 

-  Notes
(0120265)
caristu (developer)
2020-05-26 09:37

MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/2 [^]

- Issue History
Date Modified Username Field Change
2020-05-20 13:11 javietxe New Issue
2020-05-20 13:11 javietxe Assigned To => platform
2020-05-20 13:11 javietxe Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/add838f2fe9e [^]
2020-05-20 13:13 caristu Assigned To platform => caristu
2020-05-20 13:13 caristu Relationship added caused by 0042541
2020-05-26 09:37 caristu Note Added: 0120265
2020-05-26 12:50 caristu Review Assigned To => AugustoMauch


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker