wasabee-project / Wasabee-IITC

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

Can't store keys on hand value for a Get Keys type of Marker on a portal not in the operation #340

Closed bgillock closed 2 years ago

bgillock commented 2 years ago

When a My Count is entered for a portal which only has a Get Keys Marker on it, an error is thrown by the server and keys on hand is not updated.

image

To duplicate:

  1. Select a portal not in the operation already
  2. Select + Markers
  3. Set the Type of the marker to Get Keys
  4. Select Add
  5. Bring up the Keys dialog
  6. Enter a number in the My Count for the portal selected in 1.

Expect the server to get updated to reflect the count. Instead get a 406 from the server indicating the portal is not in the operation. Key list shows a new On Hand count.

le-jeu commented 2 years ago

Fix by 4b63417646b3403a81026725b44786d8385b66aa