Skip to content

ownerTree.container is undefined for product categories #3312

Closed
@luigifab

Description

@luigifab

With OpenMage 20.1.0-rc4, when I go to Products > Any Product > Categories, at store view level, I get the following error: ownerTree.container is undefined

render : function(bulkRender){
var n = this.node;
var targetNode = n.parentNode ?
n.parentNode.ui.getContainer() : n.ownerTree.container.dom; /* in later svn builds this changes to n.ownerTree.innerCt.dom */
if(!this.rendered){

My 10 seconds solution is to replace, line 67/68 by: var targetNode = n.parentNode ? n.parentNode.ui.getContainer() : (n.ownerTree.container ? n.ownerTree.container.dom : n.ownerTree.innerCt.dom);

But I'm not sure why, and if it's only me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions