eZ Community » Forums » Developer » New class attributes does not appear...
expandshrink

New class attributes does not appear in old objects

New class attributes does not appear in old objects

Thursday 11 October 2012 3:42:21 pm - 3 replies

Super weird bug in eZ Publish
I have a class with 33 attributes. I added some attributes last week but I already had content with this class.
When i create a new object I have no problem. But when i edit old objects (created before adding new attributes), only some of those new attributes appears on the edit screen.
Same problem if i fetch an old object, the data map show me only some attributes.
It is super weird. I have never seen this. Do you have any clue about this ?

Friday 12 October 2012 11:54:13 am

Hi Paul,

1. Did you enable debug to display any errors?
2. Did you override some admin templates that would hide new attributes?

Best regards,

Jean-Luc.

Friday 12 October 2012 1:15:24 pm

Hi Paul,

did you by any change ran into timeouts when adding new attributes to classes and objects? Timeouts are one of the causes of the problem you're having, for example, request times out before all objects were managed to be updated with new attributes.

Saturday 13 October 2012 9:09:11 am

Try running extension/ezscriptmonitor/bin/addmissingobjectattributes.php from the CLI, that should fix it.

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from