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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046421
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2021-04-29 13:542021-12-01 08:01
ReportermaiteView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046421: Error While Importing: while a ticket is being deleted is possible to add an item (addProduct) using RFID (in 19q3 version)

DescriptionRoot cause of problem is similar to issue https://issues.openbravo.com/view.php?id=46257 [^]

It is necessary to reject the "addProduct" execution during the deletion of a ticket
Steps To ReproduceAccording to the terminal log (attached), the "addProduct" process is executed while the "deleteCurrentOrder" process is being executed


This is causing that a corrupted line is added to the deleted ticket. This corrupted line is as follows:
qty=1
lineGrossAmount=0
obposIsDeleted=true
taxlines array missed
tax property missed

So the ticket is stuck in Errors While Importing window
TagsNo tags attached.
Attached Filespng file icon issue (2).png [^] (334,779 bytes) 2021-04-29 13:54
diff file icon 46421_19Q3_posterminal.diff [^] (1,287 bytes) 2021-05-05 14:19 [Show Content]
diff file icon 46421_PreventDeleteWhileAddingProduct_19Q3_posterminal.diff [^] (1,875 bytes) 2021-05-25 14:01 [Show Content]
diff file icon 46421_21Q2_posterminal.diff [^] (2,048 bytes) 2021-11-19 07:20 [Show Content]
diff file icon 46421_20Q2_posterminal.diff [^] (2,348 bytes) 2021-12-01 08:01 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0046257 closedranjith_qualiantech_com Error While Importing: while a ticket is being deleted is possible to add an item using RFID (in 19q3 version) 
related to defect 0047499 closedranjith_qualiantech_com The "addProduct" function is executd while a ticket is being deleted in SCO mode, generating an inconsistent order 

-  Notes
(0127879)
marvintm (manager)
2021-05-07 07:57

The issue does not affect current releases due to the IndexedDB refactor, but we attached a patch for 19Q3.
(0128448)
marvintm (manager)
2021-05-20 13:14

The provided patch reduced dramatically the number of cases, however, there has been a new case that suggests we need to implement an additional fix:

- We need to follow the same approach when adding a product ,so that we set a flag, and deleteOrder action is rejected if the flag is set
- After the product has been added, the flag should be removed, so that deleting the ticket is again possible

- Issue History
Date Modified Username Field Change
2021-04-29 13:54 maite New Issue
2021-04-29 13:54 maite Assigned To => Retail
2021-04-29 13:54 maite File Added: issue (2).png
2021-04-29 13:54 maite Resolution time => 1620856800
2021-04-29 13:54 maite Triggers an Emergency Pack => No
2021-04-29 13:54 maite Issue Monitored: maite
2021-04-29 13:56 maite Relationship added related to 0046257
2021-05-05 13:19 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2021-05-05 14:18 ranjith_qualiantech_com Status new => scheduled
2021-05-05 14:19 ranjith_qualiantech_com File Added: 46421_19Q3_posterminal.diff
2021-05-07 07:57 marvintm Note Added: 0127879
2021-05-07 07:57 marvintm Status scheduled => resolved
2021-05-07 07:57 marvintm Resolution open => fixed
2021-05-07 07:58 marvintm Review Assigned To => marvintm
2021-05-07 07:58 marvintm Status resolved => closed
2021-05-20 13:14 marvintm Note Added: 0128448
2021-05-20 13:14 marvintm Status closed => new
2021-05-20 13:14 marvintm Resolution fixed => open
2021-05-20 13:14 marvintm Resolution time 1620856800 => 1622412000
2021-05-21 09:58 ranjith_qualiantech_com File Added: 46421_19Q3_posterminal_v2.diff
2021-05-25 12:55 marvintm Status new => scheduled
2021-05-25 12:56 marvintm Status scheduled => resolved
2021-05-25 12:56 marvintm Resolution open => fixed
2021-05-25 12:56 marvintm Status resolved => closed
2021-05-25 13:56 ranjith_qualiantech_com File Deleted: 46421_19Q3_posterminal_v2.diff
2021-05-25 14:01 ranjith_qualiantech_com File Added: 46421_PreventDeleteWhileAddingProduct_19Q3_posterminal.diff
2021-08-04 09:52 maite Relationship added related to 0047499
2021-11-19 07:20 ranjith_qualiantech_com File Added: 46421_21Q2_posterminal.diff
2021-12-01 08:01 ranjith_qualiantech_com File Added: 46421_20Q2_posterminal.diff


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker