We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5904
    • 58 Posts
    Noticed an alarming issue with the Revo resources tree. I'm seeing all the child resources disappear from a container in test installs of 2.2.7-pl, 2.3.0, and now in 2.2.8. All on a shared/managed server (Apache v2.2.24, PHP v5.2.17, MySQL v5.5.31-log).

    On each test install I imported the resources from an Evo site (~800 resources) using Provisioner to the 'Provisioner' context and then, one-by-one, dragged a few containers over to the 'web' context. With the latest install of v2.2.8, the first two containers are reliably displaying their children (~200) when the right arrow is clicked to expand the sub-tree. However, the third container (18 children) dragged over sometimes has a right arrow and when clicked it disappears and the children are not displayed (although the children are in the database and viewable/editable via their resource IDs).

    Tried clearing the browser cache, flushing all sessions, tried using Firefox and Google Chrome to no avail.

    Repeated similar steps on a test Revo v2.2.7-pl ModxCloud (free Lab account) install. Have yet to see this issue happening.

    Any help very welcome. Thank you!
      • 5904
      • 58 Posts
      Noticed in the database that the context_key for the children is still 'provisioner'. So it seems that the container/parent drag operation is not always updating the context_key field.

      To get around the issue I ran the following, in phpMyAdmin... SQL tab, search and replace query:

      UPDATE `modx_site_content` SET context_key = replace(context_key,"provisioner","web") WHERE `parent` = 3;

      The container/parent with the issue = id of 3.

      Hope this helps someone!

      PS Please advise where best to post this as a bug. Thank you
        • 3749
        • 24,544 Posts
        There is a similar problem with Articles when you create articles from the context menu in the tree.
          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