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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045314
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Advanced Warehouse Operationsmajoralways2020-10-28 02:372020-11-04 12:43
ReporterlbressanView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0045314: On the AWO frontend, when 2 different users initiate a boxing in same time, the reference generated is the same.

DescriptionOn the AWO frontend, when 2 different users initiate a boxing in same time, the reference generated is the same.
Steps To ReproduceWith 2 profile : AWOQAADMIN and AWO US E
In attachment 2 pictures to show the same reference on 2 different profile.
STEP 1 Login on the AWO mobile
STEP 2 Click on BOX in the main menu
STEP 3 Click on CREATE NEW REFERENCE
STEP 4 Select a reference type (Sequenced container)
STEP 5 See in the picture in attachment, the same reference is generated for both users.

Recreation steps on https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.warehouse.advancedwarehouseoperations/#tasks [^]
TagsNo tags attached.
Attached Fileszip file icon Same Boxing Ref.zip [^] (2,624,132 bytes) 2020-10-28 02:37

- Relationships Relation Graph ] Dependency Graph ]
causes defect 0045464 closedAtulOpenbravo AWO - Box numbers auto incremented twice 

-  Notes
(0124133)
AtulOpenbravo (developer)
2020-11-03 18:38

Test Plan
- Login AWO mobile with 2 profile : AWOQAADMIN and AWO US E in different browser and follow below steps simultaneously.
- Click on BOX in the main menu
- Click on CREATE NEW REFERENCE
- Select a reference type (Sequenced container)
- Realize that reference is created with different sequence for both users though they created reference simultaneously.
(0124134)
hgbot (developer)
2020-11-03 18:46

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/11 [^]
(0124161)
hgbot (developer)
2020-11-04 12:43

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations [^]
Changeset: d3d7a622e41caa3512e71bd1ae6b78c88f55726e
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 2020-11-03T23:10:55+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/d3d7a622e41caa3512e71bd1ae6b78c88f55726e [^]

Fixes BUG-0045314: On the AWO frontend, when 2 different users
initiate a boxing in same time, the reference generated is the
same.

**Whenever sequence no is fetched for any reference type using
its document sequence, set updateNext flag as true so that next
seq is used for simultaneous reference being created by parallel
users.
**Used OBContext admin mode with flush() inorder to avoid write
access check for ADSequence entity.

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/datasources/ReferencedInventoryTypeSequenceProvider.java
---
(0124162)
hgbot (developer)
2020-11-04 12:43

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/11 [^]

- Issue History
Date Modified Username Field Change
2020-10-28 02:37 lbressan New Issue
2020-10-28 02:37 lbressan Assigned To => Triage Finance
2020-10-28 02:37 lbressan File Added: Same Boxing Ref.zip
2020-10-28 02:37 lbressan Resolution time => 1605567600
2020-11-02 19:08 AtulOpenbravo Assigned To Triage Finance => AtulOpenbravo
2020-11-02 19:08 AtulOpenbravo Status new => scheduled
2020-11-03 18:38 AtulOpenbravo Note Added: 0124133
2020-11-03 18:46 hgbot Note Added: 0124134
2020-11-04 12:43 hgbot Resolution open => fixed
2020-11-04 12:43 hgbot Status scheduled => closed
2020-11-04 12:43 hgbot Note Added: 0124161
2020-11-04 12:43 hgbot Note Added: 0124162
2021-01-12 09:11 vmromanos Relationship added causes 0045464
2022-09-06 17:18 caristu Category Advance Warehouse Operations => Advanced Warehouse Operations


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker