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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015769
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajoralways2011-01-25 12:072012-06-11 17:57
ReporterdalsasuaView Statuspublic 
Assigned Tonaiaramartinez 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6.0_21
OS VersionUbuntu 10.10Database version11.2.0 SEAnt version1.8.0
Product Version2.50MP25SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015769: In Oracle, if an extension point throws an exception, this is not thrown upwards.

DescriptionIn Oracle, if an extension point throws an exception, this is not thrown upwards.
Steps To ReproduceInstall intercompany module, and configure it, as shown in the wiki section of the project: http://wiki.openbravo.com/wiki/Projects/intercompanyinvoicing/User_Guide#Overview [^]
Use as counter organization a new one, with no tax or bp defined for it (or for * organization).
Try to process one document (as an intercompany purchase order).
Check that no error is shown, but counter document is created incorrectly, and not processed.
Proposed SolutionCheck that ad_extension_point_handler function, calls the required PL/SQL piece of code, but
  EXECUTE v_Sql;
statement do not capture an exception thrown inside it, although the
  WHEN OTHERS THEN
  RAISE NOTICE '%','AD_EXTENSION_POINT_HANDLER exception' ;
  RAISE EXCEPTION '%', SQLERRM;
statement is there.
Research how this call must be done, so it captures the exceptions.
TagsVMA-Reviewed
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0049737)
naiaramartinez (developer)
2012-06-11 17:57

This issue has been closed because the error is shown in the application.

We have debbuged in Oracle, and the exception is raised from interco_create_order function to c_order_post1 function.

Moreover, in the application we can see the exception, so the user can see the error.

That's why we close this issue.

- Issue History
Date Modified Username Field Change
2011-01-25 12:07 dalsasua New Issue
2011-01-25 12:07 dalsasua Assigned To => adrianromero
2011-01-25 12:07 dalsasua Modules => Core
2011-06-03 10:58 dalsasua Assigned To adrianromero => dalsasua
2011-07-20 18:16 dalsasua Assigned To dalsasua => jonalegriaesarte
2012-02-15 19:05 iciordia Assigned To jonalegriaesarte => vmromanos
2012-02-16 15:55 vmromanos Tag Attached: VMA-Reviewed
2012-05-10 12:13 gorka_gil Assigned To vmromanos => mirurita
2012-06-11 11:11 naiaramartinez Assigned To mirurita => naiaramartinez
2012-06-11 11:11 naiaramartinez Status new => scheduled
2012-06-11 11:11 naiaramartinez fix_in_branch => pi
2012-06-11 17:57 naiaramartinez Note Added: 0049737
2012-06-11 17:57 naiaramartinez Status scheduled => closed
2012-06-11 17:57 naiaramartinez Resolution open => no change required


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker