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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046408
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] Coreminorhave not tried2021-04-29 09:222022-02-01 08:07
Reporterjorge-garciaView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed 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

0046408: If a components uses useEnabledUserAction hook but the role has no access to the user action, the function returns undefined

DescriptionIf a components uses useEnabledUserAction hook but the role has no access to the user action, the function returns undefined
Steps To Reproduce1) Go to Role window in ERP
2) Select "VallBlancaUser" record and go to User Action Access tab
3) Deactivate the record for "SelectCurrentSchema"
4) Go to the POS and clear the cache
5) Do a login and try to change the current schema to another one
6) The application crashes
Proposed SolutionHere we have to decide one of two things:
  - If MAKES sense that useEnabledUserAction returns undefined if the role has no permission to execute the user actions, then we have to change SchemaSelectorButton component and any other components that uses the hook to manage properly this case
  - If DOES NOT makes sense that seEnabledUserAction returns undefined if the role has no permission to execute the user action, then we have to decide what should be returned and decide how to manage properly all possible scenarios
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2021-04-29 09:22 jorge-garcia New Issue
2021-04-29 09:22 jorge-garcia Assigned To => Retail
2021-04-29 09:22 jorge-garcia Triggers an Emergency Pack => No
2021-04-29 09:43 guilleaer Assigned To Retail => platform
2021-04-30 09:13 guilleaer Status new => acknowledged
2022-02-01 08:07 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker