eZ Community » Forums » eZ Publish 5 Platform » [eZ 2014.11] - Problem on the...
expandshrink

[eZ 2014.11] - Problem on the creation of an object - priority to main language

[eZ 2014.11] - Problem on the creation of an object - priority to main language

Monday 09 March 2015 5:41:14 pm - 2 replies

Hi,

We have a big problem when we create an object in ez 5 in PHP. We have checked the "default object availability" parameter in the class User.

But when we create a user in PHP with user service eZ 5, the object does not have the parameter "Use the main language if there is no prioritized translation" checked.

On the other side, if we create object with eZ 4 services, the object has the parameter checked. 

So it works in eZ 4, but not in eZ 5. The problem appears also with other classes.

Has anyone an idea ???

 

Thx

Modified on Monday 09 March 2015 5:48:27 pm by Clem PERISCOPE

Wednesday 11 March 2015 5:29:35 pm

Finally, we have found a solution. We have to add this value when we create object :

 $contentCreateStruct->alwaysAvailable = 1;

Saturday 14 March 2015 10:14:47 am

Glad you've found a solution, and thank you for sharing it. 

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from