Class edition locked

You need to be logged in to post messages in the forums. New users may register here.

Gilles Rosenbaum

Member since:
13 November 2008

Posts: 3

Monday 05 July 2010 3:11:03 am

Hi,
I'm using a fully functionnal eZ Publish 4.2.0 with enhancedezbinaryfile rev 3.
When the enhancedezbinaryfile extension is activated and I'm working on class edition, publishing (or cancelling) any changes is impossible.
I can't add or delete a class attribute.
When I desactive this extension, class edition is back to normal.
I check my logs but nohing special.

Any ideas ?

Thx for your help

GR
Up

Steven E. Bailey

Member since:
09 January 2008

Posts: 20

Monday 05 July 2010 3:38:06 am

No idea. I can't imagine that it has anything to do with the extension... Does it happen with just one object or have you tried with several/with a test object?

I can think of something that might me causing this:

How many attributes does the object have - I have, in the past, had trouble with objects that had a lot of attributes - over 25 I think it was. Or, if I added attributes to the class and then I edited an object that was created before the attributes were added, that object will sometimes have the problem as you describe

For both problems, you have to run the addmissingobjectattributes.php script on that class.

Take a look here http://issues.ez.no/IssueView.php?Id=10203 for a more detailed explanation and a link to the addmissingobjectattributes.php script.
Up

Gilles Rosenbaum

Member since:
13 November 2008

Posts: 3

Monday 05 July 2010 6:59:59 am

You are right, I reach 25 content attributes for my class which has only one object.
I've tried to run addmissingobjectattributes.php script on that class without success.
I still can't add or delete a content attribute for my class but I can update my object !

Thank you for your help

GR
Up

Steven E. Bailey

Member since:
09 January 2008

Posts: 20

Tuesday 06 July 2010 12:23:39 am

Hmm, I've got a few different versions of addmissingobjectattributes.php - if you give me a md5sum of the one you used and the exact error message I'll take a look and see if one of my versions fixed whatever your problem is.
Up

You need to be logged in to post messages in the forums. New users may register here.