modxcms / Collections

An Extra for MODX Revolution that provides for Resource Collections managed by CollectionContainer Resources
GNU General Public License v2.0
53 stars 37 forks source link

After the change of parent, the resource disappears, show_in_tree property = 0 #337

Closed Arahort closed 2 years ago

Arahort commented 2 years ago

Modx: 2.8.3 Collections: 3.7.1-pl

If you create a resource in a collection and change its parent to a non-collection, then the resource is not displayed in the resource tree. In the database, the parameter "show_in_tree" is 0 Moving resources created in a non-collection works correctly.

Steps to reproduce:

  1. Resource in collection http://joxi.ru/12M9edacgw0382
  2. Change parent to non-collection http://joxi.ru/a2X9Wk8cQl40aA

Expected Result: The resource will be displayed in the tree http://joxi.ru/J2bW4GpHqgVVwA

Actual result: The resource disappears, it can only be found through a search, show_in_tree in the database is 0 http://joxi.ru/eAO9eK3cv6kkBm

Arahort commented 2 years ago

Another plugin conflicted with Collections, not relevant