Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0048003 | Retail Modules | Web POS | public | 2021-10-14 12:56 | 2021-11-09 12:34 |
|
Reporter | martinsdan | |
Assigned To | justin_patterson | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | Ubuntu 18.04.1 LTS |
Product Version | RR21Q3.2 | |
Target Version | RR21Q4.1 | Fixed in Version | RR21Q4.1 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | OBPS |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0048003: There is an hiden error processing Cashups in Errors While Importing |
Description | When 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 Reproduce | Generate 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 Solution | CashCloseProcessor.createDifferenceTransaction should set the organization, getting the legal organization from the cashup. |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0047850 | | closed | justin_patterson | There is an hiden error processing Cashups in Errors While Importing |
|
Attached Files | |
|
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 | |
Notes |
|
(0132889)
|
hgbot
|
2021-11-08 12:34
|
|
|
|
(0132891)
|
hgbot
|
2021-11-08 12:42
|
|
|
|
(0132892)
|
hgbot
|
2021-11-08 12:46
|
|
|
|
(0132900)
|
hgbot
|
2021-11-09 10:07
|
|
|
|
(0132901)
|
hgbot
|
2021-11-09 10:17
|
|
|
|
(0132912)
|
hgbot
|
2021-11-09 12:34
|
|
|
|
(0132913)
|
hgbot
|
2021-11-09 12:34
|
|
|