We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38850
    • 110 Posts
    I will preface by saying this is probably exactly how MODX is supposed to work, as designed. But I find it confusing and think it should probably work a little different and better.

    When editing a user, you can override a system setting with a user setting. This part works fine, I can add the setting and change the value. The problem is in what happens if I want to remove the custom setting.

    I found out the hard way that if I right-click and choose "Delete Setting" it gives me this danger message that I could literally break my whole MODX installation! Not knowing exactly what they mean by that, cause all I'm doing is removing a custom user setting right?? I delete the setting from the user and go on about my day.

    The problem is, and I didn't realize this at first, MODX deleted the entire setting from the entire system! NOT just from the user custom settings area. The setting could no longer be found in the System Settings area either!

    This is what I'm saying is bad behavior, I just want to delete the custom setting override from the user itself, NOT delete the global setting from the System Settings area. I do not believe MODX should behave this way, it's dangerous and confusing if you start adding and removing custom settings from many users, one could accidentally delete all kinds of system settings!

    So knowing that, and having recreated the system setting, the setting once again appeared in my user account! All on its own. This lead me to look for any way where I can remove the setting from the user but I cannot find it, there doesn't seem to be any way to remove the setting from the user. If I delete it, the entire global setting is deleted, and even if I make the setting match the system value, it still stays there. Now this user is stuck having custom settings which aren't any different from global setting, with no way to remove the setting from the user account.

    Is this a bug? And will it be fixed to work better? I'm using Revo version 2.3.1-pl

    This question has been answered by exside. See the first response.

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      That is definitely not supposed to happen. This was reported as a bug some time ago, and supposedly has already been patched for 2.3.2.

      https://github.com/modxcms/revolution/issues/12027
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 38850
        • 110 Posts
        Thanks, the link you have only shows 5 days old on the discussion. They are talking about version 2.3.4 as the fix. As far as I know, 2.3.1-pl is the latest, guess I'll check again if there is a patch or update out.
          • 3749
          • 24,544 Posts
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
          • discuss.answer
            • 40045
            • 534 Posts
            Indeed, the whole PR is here: https://github.com/modxcms/revolution/pull/11795 and it was merged, so will be in 2.3.2
              • 38850
              • 110 Posts
              Guess I'll wait for the official upgrade.

              Thanks