Describe the bug
Under M3 H5 Classic UI (M3CE), when user changed to Blank Division, the CurrentDivision value is having value "" instead of undefined.
Thus, the UserServicesCore function addAliases is assign with Division value which is incorrect.
To Reproduce
Steps to reproduce the behavior:
Make sure "Enable classic UI" option is turned on in M3 H5
Current user default company 888 divison 200 (888/200) in MNS150
Change user company division to CMP888 (888/Blank)
Open any H5 SDK program that uses this.userService.getUserContext(), example here is M3 Odin default program that show User Context:
Expected behavior
CurrentDivision retrieved from User Context should be Blank as its value is "" but not undefined.
UserServiceCore.addAliases need to be fixed.
Version
@infor-up/m3-odin: version 6.0.0
@infor-up/m3-odin-angular: version 6.0.0
@infor-up/m3-odin-cli: version 6.0.0
Additional context
Add any other context about the problem here.
Describe the bug Under M3 H5 Classic UI (M3CE), when user changed to Blank Division, the CurrentDivision value is having value "" instead of undefined. Thus, the UserServicesCore function addAliases is assign with Division value which is incorrect.
To Reproduce Steps to reproduce the behavior:
Expected behavior CurrentDivision retrieved from User Context should be Blank as its value is "" but not undefined. UserServiceCore.addAliases need to be fixed.
Version
@infor-up/m3-odin
: version 6.0.0@infor-up/m3-odin-angular
: version 6.0.0@infor-up/m3-odin-cli
: version 6.0.0Additional context Add any other context about the problem here.