Open modxbot opened 12 years ago
leffyrant submitted:
From the above I conclude that the Resource Tree does not display a TV if either the main Category or one of its direct children has a TV assigned to it.
Sorry, I meant unless.
frischnetz submitted:
This is also true for chunks.
In case someone runs into trouble with this bug, the workaround would be to reduce the category-nesting by dragging the category-items in the lower part of the element-tree with the mouse. After that you can access your TVs or chunks again.
leffyrant created Redmine issue ID 8214
To reproduce the issue:
Create three new Categories: A, A-A and A-A-A, where A-A is a subcategory of A and A-A-A a subcategory of A-A.
Create a TV tv and set its Category to A-A-A.
Provided that Categories A and A-A have no TVs belonging to them, neither Category A-A nor A-A-A (which contains tv) will show up in the Resource Tree.
The attached photos depict the above situation. Specifically:
Photo _tv_inA-A shows the situation where tv belongs to Category A-A and the Resource Tree displays it just fine.
Photo _tv_inA-A-A shows the situation where tv has moved to Category A-A-A and the Resource Tree does not display any subcategory of Category A.
Photo _tv_in_A-A-A_phpmyadmintest shows that tv still exists and is, indeed, under Category A-A-A (id 17). In fact, tv can be referenced and, in general, function perfectly fine. The only problem is that it does not appear in the Resource Tree.
In addition to the above, the last two photos provide further feedback. They both refer to the case of creating a new TV _tvguard. The two scenarios are:
Photo _tv_guard_inA-A shows that if we create a new TV under Category A-A, then the Resource Tree functions correctly.
Photo _tv_guard_inA shows that if we move _tvguard to Category A, then the Resource Tree stops displaying the subcategories of A, again.
From the above I conclude that the Resource Tree does not display a TV if either the main Category or one of its direct children has a TV assigned to it. So, the nesting of empty (as far as TVs are concerned) Categories reaches next level before this issue arises.