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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048863
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2022-03-22 01:402022-04-11 13:20
ReporterivazquezView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionfixedFixed in VersionRR18Q3.2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR18Q3.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR18Q3.2SCM revision 
Review Assigned ToAugustoMauch
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048863: There is an hiden error processing Cashups in Errors While Importing

DescriptionWhen there is an error processing an order, the cash up, if there are differences, cannot be processed and the real error is hidden by another one "Couldn't enable triggers"

When creating the differences CashCloseProcessor.createDifferenceTransaction does not set the organization. Dal infrastructure will later set the Organization from the context.
If the user is logged in as * there is an error because transactions cannot be created for organization 0, then rolling back the exception of the trigger is raised and the real message is hidden.
Steps To ReproduceGenerate some error creating an order (use a product from another organization for example)
Do the cash up
Change the order JSON to import it
Logged in with organization *, process the cash up

The trigger error is shown
Proposed SolutionCashCloseProcessor.createDifferenceTransaction should set the organization, getting the legal organization from the cash up.
TagsNo tags attached.
Attached Filesdiff file icon 18Q3.2.diff [^] (1,157 bytes) 2022-03-22 12:33 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0047850 closedjustin_patterson There is an hiden error processing Cashups in Errors While Importing 

-  Notes
(0135918)
ivazquez (developer)
2022-03-22 12:34

Hello Team,

The patch provided for version 21Q3.5 is also applicable for version 18Q3.2!

Regards,
Ignacio Vazquez

- Issue History
Date Modified Username Field Change
2022-03-22 01:40 ivazquez New Issue
2022-03-22 01:40 ivazquez Assigned To => Retail
2022-03-22 01:40 ivazquez Triggers an Emergency Pack => No
2022-03-22 01:40 ivazquez Relationship added related to 0047850
2022-03-22 12:32 ivazquez Resolution open => fixed
2022-03-22 12:32 ivazquez Fixed in Version => RR18Q3.2
2022-03-22 12:33 ivazquez File Added: 18Q3.2.diff
2022-03-22 12:34 ivazquez Note Added: 0135918
2022-04-11 13:20 ivazquez Review Assigned To => AugustoMauch
2022-04-11 13:20 ivazquez Status new => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker