Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054047Retail ModulesMobile Warehouse operationspublic2023-11-29 11:562024-02-13 14:50
malsasua 
AtulOpenbravo 
highmajoralways
closedfixed 
5
 
RR24Q1 
approved
Gold
77494
No
0054047: [RM-10059] EWPT: This task is assigned to the User user1. Your User (user2) can't process it
In AWO app mobile, in offline, when a task is processed by user1 but later, do login user2 and back to online, the task processed by user1 is synced with context info of user2, and it causes an Error While Processing Tasks:
This task is assigned to the User user1. Your User (user2) can't process it

https://openbravo.atlassian.net/browse/RM-10059 [^]
in POS ->
1. create a Distribution Order Receipt for user1
in AWO ->
2. do login with user1
3. select the Reception task created in 1
4. count the line
5. go to offline
6. confirm the task
in Server ->
7. restart tomcat -> so the tomcat session created in 2 will be killed
in AWO ->
8. go to online
9. do login with user2

the task confirmed in 6 will be synced with user2 context info -> a new record will be created in Error While Processing Task:
his task is assigned to the User user1. Your User (user2) can't process it
No tags attached.
related to defect 0054308 closed AtulOpenbravo Modules [DO OTF] Sync error when creating an DO on device A with user 1 and confirm it on device A with user 2 
Issue History
2023-11-29 11:56malsasuaNew Issue
2023-11-29 11:56malsasuaAssigned To => Retail
2023-11-29 11:56malsasuaOBNetwork customer => Gold
2023-11-29 11:56malsasuaSupport ticket => 77494
2023-11-29 11:56malsasuaTriggers an Emergency Pack => No
2023-12-01 08:36aaroncaleroAssigned ToRetail => Triage Omni WMS
2023-12-04 11:01mtaalSummaryEWPT: This task is assigned to the User user1. Your User (user2) can't process it => [RM-10059] EWPT: This task is assigned to the User user1. Your User (user2) can't process it
2023-12-04 11:01mtaalDescription Updatedbug_revision_view_page.php?rev_id=27209#r27209
2023-12-04 11:01mtaalAssigned ToTriage Omni WMS => AtulOpenbravo
2023-12-05 07:29AtulOpenbravoStatusnew => scheduled
2023-12-07 08:20AtulOpenbravoNote Added: 0157992
2023-12-07 08:21hgbotMerge Request Status => open
2023-12-07 08:21hgbotNote Added: 0157993
2023-12-14 09:05hgbotMerge Request Statusopen => approved
2023-12-14 09:05hgbotNote Added: 0158184
2023-12-14 09:05hgbotResolutionopen => fixed
2023-12-14 09:05hgbotStatusscheduled => closed
2023-12-14 09:05hgbotNote Added: 0158185
2024-01-11 11:30AtulOpenbravoRelationship addedrelated to 0054308
2024-02-13 14:50mtaalFixed in Version => RR24Q1

Notes
(0157992)
AtulOpenbravo   
2023-12-07 08:20   
- Login with AWOQAdmin role in Back Office
- Create a User with Allow Warehouse Operations flag = Yes and Role FE_East_Users
- Log out.

- Login in AWO Front end with user AWO_US_W.
- Create a DO OTF with DO Warehouse - US East Coast, Storage Bin Food003.
- Add Product Pineapple with Quantity 1.
- Confirm the DO. Note the DO DocumentNo. for example: 1000125.

- Check in Back Office, Reference DO Receipt document no. for the DO OTF created in above step. for example DocumentNo: 1000126

- Login in AWO Front End with user AWO_US_E
- From Menu choose Receipt Menu
- Apply document no filter for DO Receipt with DocumentNo for example : 1000126
- Click on Document and realize that DOR Task is created.
- In browser >> Developer Tools >> Network Tab >> Set Offline mode.
- Confirm the DOr task in offline mode.

- Restart the application.
- Login in AWO Front End with user Test (and not AWO_US_E)
- In BackOffice, navigate to DO Receipt with DocumentNo for example: 1000126
- Realize that the task related to its DOr Line is confirmed and header as 100% Receipt Status.
(0157993)
hgbot   
2023-12-07 08:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/197 [^]
(0158184)
hgbot   
2023-12-14 09:05   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/197 [^]
(0158185)
hgbot   
2023-12-14 09:05   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations [^]
Changeset: a8da93dd1e7614b41197a13e4d013d05e6634c26
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 14-12-2023 08:05:15
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/a8da93dd1e7614b41197a13e4d013d05e6634c26 [^]

Fixes BUG-0054047: [RM-10059] EWPT: This task is assigned to the User user1. Your User (user2) can't process it

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/centralbroker/TaskValidator.java
---