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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050321
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2022-09-23 12:002022-09-23 12:03
ReporteraferrazView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix 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

0050321: LoginDataProvider.getData overwrites data defined for the same property instead of merging it

DescriptionLoginDataProvider.getData overwrites data defined for the same property instead of merging it.

The problem is in MobileCoreLoginUtilsServlet.addExtraLoginData function.
Steps To Reproduce- Implement LoginDataProvider.getData and return a Map with "terminal" as key and any JSONObject as value.
- Clean the cache in ReactPOS and login -> You get following error: Cannot read properties of undefined (reading 'minutestorefreshdatatotal')
Proposed SolutionAttached a fix to do a first level merge of properties with a JSONObject value.
Check if we should do a deep merge.
Check if other type of values like JSONArray should be also merged.
TagsNo tags attached.
Attached Filesdiff file icon 50321.diff [^] (1,388 bytes) 2022-09-23 12:03 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2022-09-23 12:00 aferraz New Issue
2022-09-23 12:00 aferraz Assigned To => Triage Platform Base
2022-09-23 12:00 aferraz Triggers an Emergency Pack => No
2022-09-23 12:03 aferraz File Added: 50321.diff


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker