We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    I can’t quite get how this option works with default properties.

    It will actually revert the values of the default properties to their original values, even after a cache clear. At some point, however, it no longer changes them at all.

    Is the turning point navigating away from the page?

    Also, when applied to Property Sets, I assume that it "reverts" them to the values of the default properties of the element you’re working with at the moment. Is that correct? If they’re attached to several elements, the action wouldn’t actually be "reversion" in some cases although, offhand, I can’t think of a better way to describe it.


      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
      • 28215
      • 4,149 Posts
      Quote from: BobRay at Aug 11, 2009, 07:27 PM

      It will actually revert the values of the default properties to their original values, even after a cache clear.
      Are you saving the Property Set (or the Element you’re editing) after reverting?

      At some point, however, it no longer changes them at all.
      If this happens, it’s definitely a bug.

      Also, when applied to Property Sets, I assume that it "reverts" them to the values of the default properties of the element you’re working with at the moment. Is that correct? If they’re attached to several elements, the action wouldn’t actually be "reversion" in some cases although, offhand, I can’t think of a better way to describe it.
      Yes, that is correct. It reverts the set to the the default properties of that Element.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 3749
        • 24,544 Posts
        Quote from: splittingred at Aug 11, 2009, 08:39 PM

        Quote from: BobRay at Aug 11, 2009, 07:27 PM

        It will actually revert the values of the default properties to their original values, even after a cache clear.
        Are you saving the Property Set (or the Element you’re editing) after reverting?
        At some point, however, it no longer changes them at all.
        If this happens, it’s definitely a bug.
        I was saving the element (you can’t save the property set when it’s the default properties -- you get a confusing error message, which I Jira’d).

        Is revert supposed to take the default properties back to their original values (when they were created), back to their previous values before the last save, back to the values they had when you started this editing session, or what?

        Here’s what confused me.

        I’m pretty sure this was the sequence:

        I loaded the element, changed some values, saved the element, navigated away, came back and clicked on revert and they went back to their previous values.

        I wonder if it could be related to this bug: http://svn.modxcms.com/jira/browse/MODX-1123
        Later, I did the same sequence and they didn’t change (they stayed in their most recent form).
          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