U4-2300 - 6.1.0: Changing a template's parent causes tree to collapse

Created by Tom Fulton 30 May 2013, 23:29:51 Updated by Sebastiaan Janssen 31 Aug 2013, 09:26:10

Relates to: U4-2295

  • Create a new template
  • Change it's Master Template
  • Click Save
  • The tree collapses all nodes instead of keeping the Templates tree open

Screencast: http://www.screenr.com/32HH

Comments

Sebastiaan Janssen 31 May 2013, 10:22:42

So pre-6.1.0 we didn't even try to sync the tree. Now that we do, it's trying to sync to the wrong treeSyncPath. The path gets set to the OLD path, before moving the template. But nobody is updating that to the new path. Since it has no idea what to do, it just closes the tree.

Not sure how to deal with that, returning it from SaveTemplate maybe? That now only returns true/false. Shannon?


Douglas Robar 29 Aug 2013, 10:38:43

This is an extremely frustrating issue, especially when you have a lot of templates but even on small sites it is a nuisance.

Would there not be some way to return the ID of the template and then find that ID in the template tree upon refresh? Or even the template's alias since that (should) be unique.


Shannon Deminick 30 Aug 2013, 01:06:35

I'm sure it's an 'easy' fix, will look


Shannon Deminick 30 Aug 2013, 04:16:01

Fixed in 9b56c7eab6a2c02f26771c93a10485933d1a3283


Douglas Robar 30 Aug 2013, 07:26:15

Shannon, you're a STAR! Sometimes the easy fixes are just so valuable to users. Thanks.


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Easy

Category: UI

Backwards Compatible: True

Fix Submitted:

Affected versions: 6.1.0, 6.1.3

Due in version: 6.1.5

Sprint:

Story Points:

Cycle: