This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » eZ Publish 5 Platform » Strange issue with fetch
expandshrink

Strange issue with fetch

Strange issue with fetch

Wednesday 06 March 2013 6:37:02 pm

HI community!

Today, I decide to develop a new site with ezpublish 2013.1.

I have pakeged my class from ez 2012.6 to install on ez 2013.1 and all has been ok!

Then, I have create a new class and a new object under principal node (node_id 2) with node_id 64 and object_id 60.

Then, I have made a fetch('content','node', hash('node_id', 64)) but when I try to stamp the result with attribute I have NULL result. Then, I try to stamp a folder and the folder is ok, I try to stamp a file and file is ok... Than I try to use:

 

{def $object = fetch( 'content', 'object', hash( 'object_id', 60 ) )}
{$object|attribute(show)}

 

and I have the result!

Than I ask, it is a iussue?! Maybe I forgot anything to set in a file?! New parameter?!

Modified on Wednesday 06 March 2013 7:16:33 pm by Pierandrea Della Putta

No reply yet!

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from