Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
1.5.0, 1.4.1
-
Operating System: Debian 8
PHP Version: 5.6.14-0+deb8u1
Database and version: Mysql 5.5.46-0+deb8u1
Browser (and version): Firefox 47
Env: Prod
Description
Steps to reproduce
- Create one folder "Folder1"
- Create another folder "FolderDestination"
- Add "FolderDestination" to the locations of the Folder1
- Move "Folder1" to "FolderDestination" - (currently this is being allowed but shouldn't this be restricted, since there is already a location for Folder1 on the FolderDestination container?)
- We can see that now "FolderDestination" appears twice on locations for Folder1
- Now view the "FolderDestination" object. On Sub-items no items are shown and in developer tools, we have the error:
TypeError: this.get(...) is undefined http://ezp.paulo/_ezcombo?/bundles/ezplatformui/js/views/tabs/ez-locationviewversionstabview.js&/bundles/ezplatformui/js/extensions/ez-tabs.js&/tpl/handlebars/subitemboxview-ez-template.js&/bundles/ezplatformui/js/views/subitem/ez-subitembaseview.js&/bundles/ezplatformui/js/extensions/ez-loadmorepagination.js&/bundles/ezplatformui/js/views/subitem/ez-asynchronoussubitemview.js&/tpl/handlebars/subitemlistitemview-ez-template.js&/tpl/handlebars/subitemlistitem-name-ez-template.js&/tpl/handlebars/subitemlistitem-priority-ez-template.js&/bundles/ezplatformui/js/views/subitem/ez-subitemlistitemview.js&/tpl/handlebars/subitemlistmoreview-ez-template.js&/bundles/ezplatformui/js/views/subitem/ez-subitemlistmoreview.js&/tpl/handlebars/subitemgriditemview-ez-template.js&/bundles/ezplatformui/js/views/subitem/ez-subitemgriditemview.js&/tpl/handlebars/subitemgridview-ez-template.js&/bundles/ezplatformui/js/views/subitem/ez-subitemgridview.js&/bundles/ezplatformui/js/views/ez-subitemboxview.js Line 1154