Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2021-10-14 12:562021-10-14 13:16
ReportermartinsdanView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version11
OS VersionUbuntu 18.04.1 LTSDatabase version10.10Ant version1.10.5
Product VersionRR21Q3.2SCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

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

DescriptionWhen there is an error processing an order, the cashup, if there are fidderences, 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 triggers exception is raised and the real message is hiden.
Steps To ReproduceGenerate some error creating an order (use a product from other organization for example)
Do the cashup
Change the order json to import it
Logged in with organization *, process the cashup

The trigger error is shown
Proposed SolutionCashCloseProcessor.createDifferenceTransaction should set the organization, getting the legal organization from the cashup.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
martinsdan (developer)
2021-10-14 12:57

There is a workaround:
Set the organization to the cashup organization in the user menu.

- Issue History
Date Modified Username Field Change
2021-10-14 12:56 martinsdan New Issue
2021-10-14 12:56 martinsdan Assigned To => marvintm
2021-10-14 12:56 martinsdan Triggers an Emergency Pack => No
2021-10-14 12:57 martinsdan Assigned To marvintm => Retail
2021-10-14 12:57 martinsdan Note Added: 0132347

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker