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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048053
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2021-11-12 13:282021-11-17 13:05
ReporterdromeroView Statuspublic 
Assigned Tovmromanos 
PriorityhighResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tovmromanos
Web browser
ModulesCore
Regression level
Regression date2021-11-24
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048053: Sales Order Lines Picking window can be opened on multiple tabs simultaneously

DescriptionEven with the Allow Multiple Tabs of a Window = N preference, the "Sales Order Lines Picking" window for launching AWO picking tasks can be opened multiple times in the same browser.

This can cause (has caused, in fact) that the user has two open tabs with the logs loaded and inadvertently launches the tasks in the first tab and then also in the second, duplicating the AWO tasks.
Steps To ReproduceIn the image are the steps
TagsNo tags attached.
Attached Filespng file icon Sales Order Lines Picking.png [^] (100,246 bytes) 2021-11-12 13:28

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0047551 closedvmromanos Modules Generate picking process can be launched twice in parrallel -> this generates two picking tasks for certain items 
related to defect 0047960 closedplatform Openbravo ERP Open Multiple tabs of a window despite of preference settings 

-  Notes
(0133051)
vmromanos (manager)
2021-11-15 15:11

In 0047551 we make sure that only one task generation process (regardless of the type) can be launched in parallel for an object. This actually fixes the real problem of two process launched in parallel in the same session or even in different sessions.

Following the reported issue as an example, the first process launched will block the task generation for the second one. The tasks will be generated in the first process, and when finished, the second process will try to generate the tasks too, but it will detect that they were already generated by the first process and it won't generate them again.

About the Allow Multiple Tabs preference, I highly recommend you to read the 0047960 to better understand its purpose.
(0133105)
dromero (reporter)
2021-11-16 13:36

Hi,

I have been explaining to the client and we have reproduced in a livebuild, it continues to open several tabs.
The steps are to enter system and activate the environment as production. Then choose the role "AWO-QA Admin" and check that several tabs of "Sales Order Lines Picking" can be opened
(0133108)
vmromanos (manager)
2021-11-16 13:47

Hi,

Opening two tabs in the same instance is NOT a problem and it's the expected behavior in this case. The important thing is the fix in 0047551, which makes sure that the task generation is not run in parallel for the same object (in this case the order lines).
(0133109)
eugeni (reporter)
2021-11-16 13:59

Just for clarification. We don't have a problem with task generation running in parallel. As the user can open twice (or more) tabs of "Sales Order Lines Picking" ignoring the expected behavior for the rest of windows, she can run task generation in tab 1 for SO 1 and later on (5' later) on tab 2 -> this generates 2 tasks which is not right.

Simplest way to avoid this is not allowing to open more than one tab of the window (although other user might have already open same window without refreshing and having the same problem), therefore this does not fix the root cause.
(0133117)
vmromanos (manager)
2021-11-16 14:30

Hi Eugeni,

What you are reporting is fixed in 0047551. Please read carefully my note https://issues.openbravo.com/view.php?id=48053#c133051 [^]

Please also verify if you have that fix in your instance (it's quite recent)
(0133147)
eugeni (reporter)
2021-11-17 13:05

Thanks Victor, fix tested and working!

- Issue History
Date Modified Username Field Change
2021-11-12 13:28 dromero New Issue
2021-11-12 13:28 dromero Assigned To => Triage Finance
2021-11-12 13:28 dromero File Added: Sales Order Lines Picking.png
2021-11-12 13:28 dromero Modules => Core
2021-11-12 13:28 dromero Regression date => 2021-11-24
2021-11-12 13:28 dromero Triggers an Emergency Pack => No
2021-11-12 15:02 eugeni Issue Monitored: eugeni
2021-11-15 14:08 vmromanos Relationship added related to 0047551
2021-11-15 14:43 vmromanos Relationship added related to 0047960
2021-11-15 14:43 vmromanos Assigned To Triage Finance => vmromanos
2021-11-15 15:11 vmromanos Review Assigned To => vmromanos
2021-11-15 15:11 vmromanos Relationship replaced duplicate of 0047551
2021-11-15 15:11 vmromanos Note Added: 0133051
2021-11-15 15:11 vmromanos Status new => closed
2021-11-15 15:11 vmromanos Resolution open => duplicate
2021-11-16 13:36 dromero Note Added: 0133105
2021-11-16 13:47 vmromanos Note Added: 0133108
2021-11-16 13:59 eugeni Note Added: 0133109
2021-11-16 14:30 vmromanos Note Added: 0133117
2021-11-17 13:05 eugeni Note Added: 0133147


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker