eZ Community » Forums » eZ Publish 5 Platform » EzPublish Community Edition 2014.11.1...
expandshrink

EzPublish Community Edition 2014.11.1 kernel bug on class eZContentOperationCollection

EzPublish Community Edition 2014.11.1 kernel bug on class eZContentOperationCollection

Tuesday 12 January 2016 4:04:13 pm - 1 reply

There is a bug on class eZContentOperationCollection at row 277 where the code is

if ( !$existingNode );

{   

$existingNode = eZContentObjectTreeNode::findNode( $nodeID , $object->attribute( 'id' ), true );

}

There is one thing ";" at the end of the if.

The if statement should be

if ( !$existingNode )

{   

$existingNode = eZContentObjectTreeNode::findNode( $nodeID , $object->attribute( 'id' ), true );

}

Then without ";" is correct

Tuesday 12 January 2016 6:19:31 pm

Wow, this is true, you should create an issue in https://jira.ez.no/browse/EZP/ and do a pull request to get this merged into master.

I just checked in master and it is there https://github.com/ezsystems/ezpublish-legacy/blob/master/kernel/content/ezcontentoperationcollection.php#L277

 

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from