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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048274
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coreminorhave not tried2021-12-17 13:022021-12-23 17:41
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusacknowledgedFix 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

0048274: userActionInProgress state property incorrectly set to null in some cases

DescriptionIf we have a UIAction "A" which invokes a different UIAction "B" (for example in a post hook) then the userActionInProgress state property is incorrectly set to null after "B" finishes.

This is not correct userActionInProgress should be "A" when "B" finishes.
Steps To Reproduce1- Create a new ticket
2- Add a couple of products
3- Select a line
4- Unselect the previously selected line. Check the state changes, the following sequence of changes has been applied to the userActionInProgress property
  > null --> OBPOS2_SelectLine (OK)
  > OBPOS2_SelectLine --> OBPOS2_SetMultiLineSelection (OK)
  > OBPOS2_SetMultiLineSelection --> null (WRONG): instead of null it should be restored to OBPOS2_SelectLine and once OBPOS2_SelectLine finishes then set back to null again
Proposed SolutionThe proposed fix for this issue was implemented in 0048144 but then reverted in 0048269, because when we login in POS2, the are two user actions ('OBPOS2_SelectKeymapCategory', 'OBC2_setKeymapPages') whose execution is being overlapped causing the stack not being cleared properly, and therefore the UserAction Scrim is always shown, blocking every user operation.

The final fix should also take into account that scenario to avoid breaking the POS
TagsNo tags attached.
Attached Filespng file icon 1.png [^] (8,999 bytes) 2021-12-17 13:05


png file icon 2.png [^] (12,163 bytes) 2021-12-17 13:05


png file icon 3.png [^] (10,109 bytes) 2021-12-17 13:05

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0048144 closedcaristu userActionInProgress state property incorrectly set to null in some cases 
related to defect 0048269 closedcaristu POS2 is stuck in loading status 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2021-12-17 13:02 caristu New Issue
2021-12-17 13:02 caristu Assigned To => caristu
2021-12-17 13:02 caristu Triggers an Emergency Pack => No
2021-12-17 13:02 caristu Issue generated from 0048144
2021-12-17 13:02 caristu Relationship added related to 0048144
2021-12-17 13:02 caristu Status new => acknowledged
2021-12-17 13:03 caristu Relationship added related to 0048269
2021-12-17 13:05 caristu File Added: 1.png
2021-12-17 13:05 caristu File Added: 2.png
2021-12-17 13:05 caristu File Added: 3.png
2021-12-21 13:51 caristu Proposed Solution updated
2021-12-23 12:55 caristu Assigned To caristu => platform
2021-12-23 17:41 AugustoMauch Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker