It is possible to move a older under its child folder which cause a disappearing of the folders between the initial place of the parent folder and the child.
This is caused because because the MBP folder structure is a Drupal vocabulary but in Drupal vocabularies this operation is disallowed (moving a parent under its child).
Step to reproduce:
1. Create children of the Media root.
2. Go to edit form of the Media root folder
3. Now the user is able to move the folder under his children - this is wrong!
4. Select one of the Media root children
5. And you will notice how some of the folder will disappeared.
Comments
Comment #1
boyan.borisov CreditAttribution: boyan.borisov commentedI prepared a small patch that hide the children of the folder and the folder itself in the edit folder form. The code is pretty similar of the code from the taxonomy module that handles the same case.
Comment #2
boyan.borisov CreditAttribution: boyan.borisov commentedComment #3
boyan.borisov CreditAttribution: boyan.borisov commentedComment #4
boyan.borisov CreditAttribution: boyan.borisov commentedSorry but I missed to changed the status of the issue when I posted the comment with the patch. This did not trigger the simple test bot mechanism.
So I am uploading the patch again...
Comment #5
boyan.borisov CreditAttribution: boyan.borisov commentedRemoving some trailing spaces.
Comment #6
salvis