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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048003
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2021-10-14 12:562021-11-09 12:34
ReportermartinsdanView Statuspublic 
Assigned Tojustin_patterson 
PriorityhighResolutionfixedFixed in VersionRR21Q4.1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR21Q4.1
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
Summary

0048003: 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 ]
blocks defect 0047850 closedjustin_patterson There is an hiden error processing Cashups in Errors While Importing 

-  Notes
(0132889)
hgbot (developer)
2021-11-08 12:34

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/621 [^]
(0132891)
hgbot (developer)
2021-11-08 12:42

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/621 [^]
(0132892)
hgbot (developer)
2021-11-08 12:46

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/623 [^]
(0132900)
hgbot (developer)
2021-11-09 10:07

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/623 [^]
(0132901)
hgbot (developer)
2021-11-09 10:17

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/624 [^]
(0132912)
hgbot (developer)
2021-11-09 12:34

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/624 [^]
(0132913)
hgbot (developer)
2021-11-09 12:34

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 26aebcfe5c766c351358123523071d3e5fdbd37e
Author: Justin Patterson <justin.patterson@openbravo.com>
Date: 2021-11-09T10:16:06+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/26aebcfe5c766c351358123523071d3e5fdbd37e [^]

Fixed ISSUE-48003: set organization within CashCloseProcessor.createDifferenceTransaction() method
- instantiate cashUpOrganization variable containing cashUp.getPOSTerminal().getOrganization() object
- set organization of transaction with cashUpOrganization value

---
M src/org/openbravo/retail/posterminal/CashCloseProcessor.java
---

- Issue History
Date Modified Username Field Change
2021-11-08 07:31 marvintm Type defect => backport
2021-11-08 07:31 marvintm Target Version => RR21Q4.1
2021-11-08 12:34 hgbot Note Added: 0132889
2021-11-08 12:42 hgbot Note Added: 0132891
2021-11-08 12:46 hgbot Note Added: 0132892
2021-11-08 13:09 martinsdan Issue Monitored: martinsdan
2021-11-09 10:07 hgbot Note Added: 0132900
2021-11-09 10:17 hgbot Note Added: 0132901
2021-11-09 12:34 hgbot Note Added: 0132912
2021-11-09 12:34 hgbot Resolution open => fixed
2021-11-09 12:34 hgbot Status scheduled => closed
2021-11-09 12:34 hgbot Fixed in Version => RR21Q4.1
2021-11-09 12:34 hgbot Note Added: 0132913


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker