U4-3714 - Media tree doesn't get refreshed after upload

Created by Jeroen Breuer 26 Nov 2013, 09:03:46 Updated by Shannon Deminick 10 Dec 2013, 04:12:01

Just tried to upload some media in v7 and after uploading the media is added on the right panel, but the tree on the left doesn't get refreshed. Tested on IE11.

Comments

Per Ploug 09 Dec 2013, 07:57:19

tried to fix this by calling the treesync methods, but doesnt seem to work, however if I refresh from context menu, it does work


Shannon Deminick 09 Dec 2013, 08:04:37

Happy to give it a look tomorrow, just assign to me if you want


Shannon Deminick 10 Dec 2013, 04:11:56

This is fixed in 7894fcfc91d694d4573107abf6661571d4cbd1af

treeSync functionality is in order to sync the editor to an individual node, this was working but the problem for this was that it wasn't reloading the children. So first we sync the node (do not force-reload since that is only required if the node name is changed), then with the result we have access to a treeNode model for which we can reload the children.


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0

Due in version: 7.0.1

Sprint:

Story Points:

Cycle: