A bug has been reported where changing the user notification level on a user profile page reverts to the default level after reloading the page. This issue is not present on the settings page /preferences/users.
Don initially reported the bug and provided a screenshot. JammyDodger was able to replicate the issue on Meta and suspects that it was introduced between this version and the current version. Don and ondrej also confirmed the bug on their sites.
sam acknowledged the report and promised to resolve the issue. markvanlan investigated the cause and found that a recent commit introduced the bug by passing an object { level: "muted" } to the server instead of a string value. A PR has been created to fix the issue, which also addresses a JS deprecation and a server error when the level param is not valid. The PR is available for review at https://github.com/discourse/discourse/pull/16268.
If I set the user notification level on user page it will revert to the default (which were you previously set up in settings to the user i think) level after reload the page.
A recent commit caused an object { level: "muted" } to be passed to the server instead of a string value. I have a PR that fixes that issue, as well as the server throwing an error when the level param is not valid. For the review - it also fixes a JS deprecation due to overriding a computed property (by adding a set)