Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.3.1] Multiple ArticlesContainers alongside modDocument in the tree makes modDocuments disappear #148

Open
ReSpawN opened this issue Aug 29, 2014 · 4 comments

Comments

@ReSpawN
Copy link

ReSpawN commented Aug 29, 2014

Running the latest MODX, upgraded from 2.1.5 and I've got resources disappearing when using multiple Articles.

In the first screenshot (http://pbrd.co/1n3m5qO), "Referenties", "Nieuws" and "FAQ" are ArticleContainers. Now, by looking at the second screenshot (http://pbrd.co/1n3mglK), you'll see "Over ons hardnekkig" rearing it's head and "FAQ" sporadically jumping under "Contact".

At first, I started debugging by changing the ArticlesContainer in the database (_site_content) 'class_key' to modDocument. Suddenly, all was fine, the resources reappeared in the right order but when I switched 'em back, "Over ons hardnekkig" was gone.

Next, I debugged the articlescontainer.class.php and traced it to line 220, isLazy:

    /**
     * Prevent isLazy error since Articles types have extra DB fields
     * @param string $key
     * @return bool
     */
      public function isLazy($key = '') {
          return false;
      }

When I commented that out, I got what was shown in screenshot 2.

Might be an xPDO problem.
I tried duplicating, deleting... everything,... but no cigar.

@ReSpawN
Copy link
Author

ReSpawN commented Sep 1, 2014

Kind of a priority issue with 2.3.1 and Articles...

We just tested it with 2.1.5, same problem!

@opengeek
Copy link
Member

opengeek commented Sep 2, 2014

What version of Articles is this using?

@ReSpawN
Copy link
Author

ReSpawN commented Sep 2, 2014

That would be 1.7.8-pl! :)

Clean 2.3.1 installation with 1.7.8-pl yielded the same incorrect behavior. First I created 4 modDocuments with 2 of them having a child, all published and not hidden from menu.
Next, I created 3 subsequent ArticlesContainers and all worked fine. When I started dragging and reordering, after pressing the reload button or refreshing the page, 2-3 modResources disappeared. When I reordered the resources back to the last 3 being ArticlesContainers, I got them back.

@ReSpawN ReSpawN changed the title [2.3] Multiple ArticlesContainers alongside modDocument in the tree makes moDocuments disappear [2.3.1] Multiple ArticlesContainers alongside modDocument in the tree makes modDocuments disappear Sep 2, 2014
@ReSpawN
Copy link
Author

ReSpawN commented Sep 16, 2014

Any resolution yet? The problem still pops up on multiple websites at this time. We're running 3 Article Containers, indexed separately in the tree, sometimes separated by a modResource or modWeblink...

@JoshuaLuckers JoshuaLuckers transferred this issue from modxcms/revolution Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants