Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0054754 | Retail Modules | Web POS | public | 2024-02-05 12:57 | 2024-02-23 10:59 | |||||||
Reporter | ngarcia | |||||||||||
Assigned To | Rajesh_18 | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | RR24Q1.1 | Fixed in Version | RR24Q1.1 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0054754: Data Import Entry in Error status is created after trying to save again a Business Partner in Errors While Importing POS Data | |||||||||||
Description | Data Import Entry in Error status is created after trying to save again a Business Partner in Errors While Importing POS Data. The error is: No posterminal can be determined from the json The difference between the original JSON correctly processed and the one in Error is that the second one doesn't include the following section: {"csrfToken":"9D76DA28BFF94AB98E137148D3C2BE0C","appName":"WebPOS","client":"39363B0921BB4293B48383844325E84C","organization":"D270A5AC50874F8BA67A88EE977F8E3B","pos":"9104513C2D0741D4850AE8493998A7C8","terminalName":"VBS-1","timeout":10000,"parameters":{"terminalTime":"2024-02-05T11:49:34.422Z","terminalTimeOffset":{"value":-60}}, | |||||||||||
Steps To Reproduce | In order to force an EWI: Create a business partner from the POS Take its Data Import Entry, change its id (to create a new one), remove the value in businessPartnerCategory property and change it to Initial Check once it is processed, it goes to Errors While Importing POS Data with the following error: org.postgresql.util.PSQLException: ERROR: insert or update on table "c_bpartner" violates foreign key constraint "c_bpartner_c_bp_group" Detail: Key (c_bp_group_id)=() is not present in table "c_bp_group". Click on Save Again without making any change Return to Data Import Entries and check a new record has been created in Error with the following error: No posterminal can be determined from the json A new record will be created every time you click on Save Again | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2024-02-23 10:36 | marvintm | Type | defect => backport | |||||||||
2024-02-23 10:36 | marvintm | Target Version | => RR24Q1.1 | |||||||||
2024-02-23 10:52 | hgbot | Note Added: 0161182 | ||||||||||
2024-02-23 10:59 | hgbot | Resolution | open => fixed | |||||||||
2024-02-23 10:59 | hgbot | Status | scheduled => closed | |||||||||
2024-02-23 10:59 | hgbot | Fixed in Version | => RR24Q1.1 | |||||||||
2024-02-23 10:59 | hgbot | Note Added: 0161185 | ||||||||||
2024-02-23 10:59 | hgbot | Note Added: 0161186 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|