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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

boyan.borisov’s picture

I 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.

boyan.borisov’s picture

Status: Active » Needs review
boyan.borisov’s picture

Status: Needs review » Needs work
boyan.borisov’s picture

Status: Needs work » Needs review
FileSize
1.69 KB

Sorry 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...

boyan.borisov’s picture

Removing some trailing spaces.

salvis’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)