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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054574
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2024-02-05 12:572024-03-14 07:28
ReporterngarciaView Statuspublic 
Assigned ToRajesh_18 
PriorityurgentResolutionfixedFixed in VersionRR24Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054574: Data Import Entry in Error status is created after trying to save again a Business Partner in Errors While Importing POS Data

DescriptionData 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 ReproduceIn 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0054754RR24Q1.1 closedRajesh_18 Data Import Entry in Error status is created after trying to save again a Business Partner in Errors While Importing POS Data 
depends on backport 0054948RR23Q4.3 closedRajesh_18 Data Import Entry in Error status is created after trying to save again a Business Partner in Errors While Importing POS Data 

-  Notes
(0160528)
ngarcia (developer)
2024-02-09 09:43

It seems it also happens with Cash Management Movement
(0160868)
hgbot (developer)
2024-02-17 12:15

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1476 [^]
(0161032)
hgbot (developer)
2024-02-21 15:41

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c45d9912b1357c57f0f0fe5590c2bd6519b1fc64
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 21-02-2024 14:41:23
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c45d9912b1357c57f0f0fe5590c2bd6519b1fc64 [^]

Fixed ISSUE-54574: If ImportEntry has error the entry is saved after importEntryPostProcessor

---
M src/org/openbravo/retail/posterminal/POSUtils.java
---
(0161033)
hgbot (developer)
2024-02-21 15:41

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1476 [^]

- Issue History
Date Modified Username Field Change
2024-02-05 12:57 ngarcia New Issue
2024-02-05 12:57 ngarcia Assigned To => Retail
2024-02-05 12:57 ngarcia Triggers an Emergency Pack => No
2024-02-05 12:57 ngarcia Issue Monitored: networkb
2024-02-09 09:43 ngarcia Note Added: 0160528
2024-02-16 10:16 Rajesh_18 Assigned To Retail => Rajesh_18
2024-02-16 10:16 Rajesh_18 Status new => scheduled
2024-02-17 12:15 hgbot Note Added: 0160868
2024-02-21 15:41 hgbot Resolution open => fixed
2024-02-21 15:41 hgbot Status scheduled => closed
2024-02-21 15:41 hgbot Fixed in Version => RR24Q2
2024-02-21 15:41 hgbot Note Added: 0161032
2024-02-21 15:41 hgbot Note Added: 0161033
2024-02-23 10:36 marvintm Status closed => new
2024-02-23 10:36 marvintm Resolution fixed => open
2024-02-23 10:36 marvintm Fixed in Version RR24Q2 =>
2024-02-23 10:36 marvintm Status new => acknowledged
2024-02-23 10:36 marvintm Status acknowledged => scheduled
2024-02-23 10:36 marvintm Status scheduled => resolved
2024-02-23 10:36 marvintm Fixed in Version => RR24Q2
2024-02-23 10:36 marvintm Resolution open => fixed
2024-02-23 10:37 marvintm Status resolved => closed
2024-03-14 07:28 marvintm Status closed => new
2024-03-14 07:28 marvintm Resolution fixed => open
2024-03-14 07:28 marvintm Fixed in Version RR24Q2 =>
2024-03-14 07:28 marvintm Status new => acknowledged
2024-03-14 07:28 marvintm Status acknowledged => scheduled
2024-03-14 07:28 marvintm Status scheduled => resolved
2024-03-14 07:28 marvintm Fixed in Version => RR24Q2
2024-03-14 07:28 marvintm Resolution open => fixed
2024-03-14 07:28 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker