U4-3465 - Media tree not updating

Created by Thomas Kjær Nielsen 08 Nov 2013, 18:59:29 Updated by Shannon Deminick 12 Nov 2013, 01:04:03

Relates to: U4-3488

Tested on 7.0.0-build-154.

When I use a Media-picker on a content-node - the mediepicker slides in from the right. I then create a new folder via the "breadcrumb + folder creator" - very nice feature BTW.

But, when I switch to the media section I can't see folders or files without updating. Think this will confuse a few users.

If the is time I think you should consider auto-refreshing the trees when switching sections or somehow to expire the different trees when changes happen.

Comments

Søren Reinke 10 Nov 2013, 09:04:44

I agree, while playing with the V7RC i found that it did not 'reload nodes' a few places. When i get the time i'll try to make a list of the places, the problem is, it's not all the time it's not reloading nodes automatically.


Shannon Deminick 11 Nov 2013, 07:00:47

I've fixed up quite a lot of the tree syncing now, will have a look at the pickers too. Would still be wonderful if you could post a list of places it's not working properly


Shannon Deminick 11 Nov 2013, 07:33:27

Also, a work around for now is if you double click on a section it will reload the nodes from the server so you don't actually have to do a full refresh.


Søren Reinke 11 Nov 2013, 13:06:48

Hi Shannon

I noticed the problem with 'Scripts' i added a new 'folder' to scripts, but it did not reflect by expanding the 'scripts' in the tree structure, when i clicked it to expand it was not shown either, after doing a 'reload nodes' it did show up.

With Partial Views, i found another issue, i added a partial view called 'test' which did not show up in the tree, without doing a reload nodes, but if i saved the script file it would in the end show up by it self.


Shannon Deminick 12 Nov 2013, 01:02:18

I've fixed the media picker issue, when you create folders it will clear out it's parent's branch's tree cache, we can use this same logic for clearing tree cache for specific branches in the future.


Shannon Deminick 12 Nov 2013, 01:03:57

The scripts and partial view syncing is fixed with previous tree syncing updates except for the scripts folders - will create a separate issue for that.


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

Sprint:

Story Points:

Cycle: