wasabee-project / Wasabee-IITC

ENL DrawTools and Op Management
Apache License 2.0
30 stars 21 forks source link

Entering My Count multiple times for a key will cause WebUI to fail to show keys #338

Closed bgillock closed 2 years ago

bgillock commented 2 years ago

In the keys dialog, if you enter your key count more than once for the same key, it will cause WebUI keys page to fail to load.

To duplicate:

  1. Bring up the keys list on an Op in Wasabee-IITC.
  2. Type in a 5 for a key in the My count column
  3. Select enter
  4. Bring up the keys tab for the operation in WebUI
  5. Note the keys on hand matches
  6. In the keys list in Wasabee-IITC, change the 5 to a 6
  7. Select enter
  8. Reload the page in WebUI showing the keys list

Should show the updated Keys on hand count, but rather the page fails to load and in the Console you see:

image

Hint: it creates duplicate entries in the keysonhand list for the operation. image

bgillock commented 2 years ago

This appears to be fixed by a change on the servers. Closing.