PartKeepr
PartKeepr copied to clipboard
Barcode scanner configuration problem
System Information
- PartKeepr Version: 1.3
- Reproducible on the demo system: Yes
How to reproduce
On the "Barcode Scanner Configuration" I tried to configure action, but after clicking update, is shows no action selected, and it doesn't work. This also doesn't work on demo. This is how I tried to configure barcode scanner (correct me if I am wrong):
- Added modifier and hotkey
- click ADD
- enter Code and select action
- click Update Fill in any steps to reproduce the issue. A good description of an issue would be:
Works fine for me, maybe try another browser. From the screenshots it looks like you're using IE or Edge, which I both dont have
Oh nevermind - I was able to reproduce the issue. Yes, it seems to be a display bug - when you edit the row the action is shown.
Thanks, I got it working now, maybe add it to bugs list.
yes, just leave the issue open and I'll eventually fix it
Also I am getting simillar issue as #924, but the temporary fix in that post hasn't fixed mine. Also his error response has "line 0, col 83:" mine has "line 0, col 57:" or something like that, everything else works fine.
Does the modifier and key need to be embedded in an actual barcode? If I assign "
Most barcode scanners are simple keyboard 'wedges' so enter characters as if directly typed - so I guess typing the modifier on the keyboard and then scanning would work. However it is convenient to at least have the option of a modifier embedded in the barcode. It does allow for simpler one handed operation or operation without a keyboard.
The information is correctly stored in the table SystemPreference and everything is fully functional. Seems to me that at BarcodeScannerConfiguration,js the render function renderer: function (v) { if (v instanceof Ext.data.Model) { return v.get("name"); } else { return i18n("No action selected"); } }, could not retrieve the information back
the fix appears in my pull request https://github.com/partkeepr/PartKeepr/pull/1201