uhppoted / uhppoted-httpd

Browser based user interface for an access control system based on the UHPPOTE TCP/IP controllers
Other
4 stars 1 forks source link

[Bug] Cards | save button does not always update card group membership #36

Closed iKrushYou closed 6 months ago

iKrushYou commented 6 months ago

Description

updating a card's group membership will sometimes not work if the only attribute changed is a group membership

Steps to reproduce

  1. create a new card without any priviilges image
  2. observe: the user is created without any privileges image image
  3. add a group to the card and hit the check mark to "save"
  4. observe: the "modified" corner is still present
  5. observe: in the web controller, the doors still say forbid

notes:

I plan to give this to non-technical individuals and an issue like this could be extremely confusing / catastrophic for the adoption of a new interface

uhppoted commented 6 months ago

Probably related to ... warning messages I'm getting from my server...

iKrushYou commented 6 months ago

Probably related to ... warning messages I'm getting from my server...

I believe this was indeed related

uhppoted commented 6 months ago

Am going to close this - there's nothing to really fix - but feel free to reopen if it becomes apparent that there is more to it than a network connectivity issue.

iKrushYou commented 6 months ago

The only fix I can think of could be better error handling - it's strange that it would save partially and half would fail