PSPChannel read API uses settings handler get() method to read setting values.
The read of uioPlus settings fails because the communication between Local Flow Manager and UIO+("net.gpii.uioPlus") is one way from LFM to UIO+ but not vice versas: UIO+ applies setting changes sent from LFM but doesn't return settings set via UIO+ back to LFM.
Steps to test the read of UIO+ settings using VM provided in the GPII/windows repo:
1. Start the VM;
2. In the VM, open a powershell terminal and run:
3. Once "npm install" completes, go to the directory where GPII/windows is pulled on the local computer, edit the file @ node_modules/gpii-universal/examples/pspChannelClient/pspChannelClientReadPrefs.js, change line 54-56 to:
4. Go back to the previous powershell terminal in the VM, run:
5. Open another powershell terminal in the VM, run:
The following error message is returned:
If the read succeeds, the preference value should be returned.
A side note: An example of reading a preference value successfully is to repeat the step 3 and edit the same chunk of code to: