Skip to content

Policy automations revert to old value in UI after saving (Fleet Free) #38948

@rachaelshaw

Description

@rachaelshaw

Fleet version: Fleet 0.0.0-SNAPSHOT-ea3e47b

Web browser and operating system: Chrome 144.0.7559.97 running on macOS


💥  Actual behavior

In Fleet Free, the Policies > Manage automations > Other modal displays the old values after saving then re-opening the modal without refreshing the page.

🛠️ To fix

Make sure modal form fields display the updated values after saving

🧑‍💻  Steps to reproduce

These steps:

  • Have been confirmed to consistently lead to reproduction in multiple Fleet instances.
  • Describe the workflow that led to the error, but have not yet been reproduced in multiple Fleet instances.
  1. On free.fleetdm.com, go to Policies > Manage automations > Other
  2. Enable or disable, check some boxes, then save and see success message.
  3. Without refreshing the page, reopen Manage automations > Other and see the modal has reset to its previous state (changes appear to be reverted)
  4. Refresh the page, see changes were indeed saved

🕯️ More info (optional)

I haven't observed this in Fleet Premium, only on our free instance. And it seemed to get better when I had the inspector open (probably because disabled cache?)

Metadata

Metadata

Labels

#g-orchestrationOrchestration product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documented~assisting qaThis issue can be QA'd by anyone outside the QA team when capacity allows~timeboxA task that is completed in a predetermined amount of time.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions