Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0048808 | POS2 | POS | public | 2022-03-16 10:11 | 2022-03-31 16:09 |
Reporter | javietxe | ||||
Assigned To | elara | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
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 | 0048808: FLUN-2740 Error while retrying an errors while importing cashup with safeboxes | ||||
Description | The safeboxes transactions are created in the organization of the context. If the context of the user that is retrying an errors while importing related to cashup with safeboxes is *, as no transactions can be at this organization, the reprocessing fails. | ||||
Steps To Reproduce | In an environment with safeboxes: In the backoffice - Configure a wrong payment method config in the safebox (for example not setting up the Payment Method's GL Item in the Safebox configuration) In the POS: - Log in to the POS - Select the wrongly configured safebox - Create a transaction with the wrong payment method - Do the cashup In the backoffice - Check that the session of the backoffice is * organization (if it is not, change it) - Check that the cashup is in errors while importing - Press in "Save again" While processing, a new error will appear: Entity FIN_Finacc_Transaction may not have instances with organization * (find the whole stacktrace attached) | ||||
Proposed Solution | In the ProcessCashClose class, createSafeBoxTransactions method, set the Organization of the cashup manually while creating the transaction, not letting it being set by the session | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=16763&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2022-03-16 10:11 | javietxe | New Issue | |||
2022-03-16 10:11 | javietxe | Assigned To | => Retail | ||
2022-03-16 10:11 | javietxe | File Added: stacktrace.txt | |||
2022-03-16 10:11 | javietxe | OBNetwork customer | => OBPS | ||
2022-03-16 10:11 | javietxe | Triggers an Emergency Pack | => No | ||
2022-03-16 20:45 | elara | Assigned To | Retail => elara | ||
2022-03-16 20:45 | elara | Status | new => scheduled | ||
2022-03-22 19:08 | hgbot | Merge Request Status | => open | ||
2022-03-22 19:08 | hgbot | Note Added: 0135935 | |||
2022-03-31 16:09 | hgbot | Merge Request Status | open => approved | ||
2022-03-31 16:09 | hgbot | Resolution | open => fixed | ||
2022-03-31 16:09 | hgbot | Status | scheduled => closed | ||
2022-03-31 16:09 | hgbot | Fixed in Version | => RR22Q2 | ||
2022-03-31 16:09 | hgbot | Note Added: 0136218 | |||
2022-03-31 16:09 | hgbot | Note Added: 0136219 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|