Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0047850 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2021-10-14 12:56 | 2022-01-21 20:46 | |||
Reporter | martinsdan | View Status | public | |||||
Assigned To | justin_patterson | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR22Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 11 | |||
OS Version | Ubuntu 18.04.1 LTS | Database version | 10.10 | Ant version | 1.10.5 | |||
Product Version | RR21Q3.2 | SCM revision | ||||||
Merge Request Status | approved | |||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0047850: 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||||||||||||||||
|
![]() |
|
(0132347) martinsdan (viewer) 2021-10-14 12:57 |
There is a workaround: Set the organization to the cashup organization in the user menu. |
(0132641) hgbot (developer) 2021-10-26 12:51 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/607 [^] |
(0132693) hgbot (developer) 2021-10-28 07:46 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/607 [^] |
(0132694) hgbot (developer) 2021-10-28 07:46 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 599f02eafb4d16656e26033e8752d7ef5c340892 Author: Justin Patterson <justin.patterson@openbravo.com> Date: 2021-10-28T05:46:12+00:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/599f02eafb4d16656e26033e8752d7ef5c340892 [^] Fixed ISSUE-47850: 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 --- |
![]() |
|||
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 | OBNetwork customer | => OBPS |
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 | |
2021-10-25 08:26 | marvintm | Status | new => scheduled |
2021-10-25 08:26 | marvintm | Assigned To | Retail => justin_patterson |
2021-10-26 12:51 | hgbot | Merge Request Status | => open |
2021-10-26 12:51 | hgbot | Note Added: 0132641 | |
2021-10-28 07:46 | hgbot | Merge Request Status | open => approved |
2021-10-28 07:46 | hgbot | Resolution | open => fixed |
2021-10-28 07:46 | hgbot | Status | scheduled => closed |
2021-10-28 07:46 | hgbot | Note Added: 0132693 | |
2021-10-28 07:46 | hgbot | Fixed in Version | => RR22Q1 |
2021-10-28 07:46 | hgbot | Note Added: 0132694 | |
2021-11-08 07:31 | marvintm | Status | closed => new |
2021-11-08 07:31 | marvintm | Resolution | fixed => open |
2021-11-08 07:31 | marvintm | Fixed in Version | RR22Q1 => |
2021-11-08 07:31 | marvintm | Status | new => scheduled |
2021-11-08 07:31 | marvintm | Status | scheduled => resolved |
2021-11-08 07:31 | marvintm | Fixed in Version | => RR22Q1 |
2021-11-08 07:31 | marvintm | Resolution | open => fixed |
2021-11-08 07:32 | marvintm | Review Assigned To | => marvintm |
2021-11-08 07:32 | marvintm | Status | resolved => closed |
2022-01-21 20:46 | eugeni | Issue Monitored: eugeni | |
2022-03-22 01:40 | ivazquez | Relationship added | related to 0048863 |
Copyright © 2000 - 2009 MantisBT Group |