Skip to content
Commit f8f72974 authored by segfault's avatar segfault
Browse files

tps: Fix activation of feature in inconsistent state

We used to set Feature.IsActive property only based on whether the
feature is in the config file. That meant that we set it to True even if
the mounts were not all active, which led to errors when activating a
feature which was in inconsistent state (the feature being in the config
file but not all mounts being active).

This should also avoid (potential) issues where after a method call that
failed or was cancelled, a feature would have IsActive set to True (because
it's in the config file) but the mounts not being active, causing the
feature to be displayed as active in the UI but the user's data not actually
being stored. We now set IsActive to False in that case.

Closes #19376
parent 75bbb360
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment