updatesectionidentifiers.php in ez4.4.

Author Message

Lars Eirik R

Thursday 21 October 2010 5:12:31 am

Hi. Just recently upgraded from 4.07 to 4.4.

During this upgrade i noticed that the updatesectionidentifiers.php does not update my sections.

When inestigating the code it seems that the filteredsearch returns an empty array. However if i return all sections they do indeed miss identifiers.

Is this a bug, should i instead run the fetchList and upgrade all sections? When viewing my sectionlisting in the admin siteaccess only the new 4.4 section i created does have an identifier.

Thanks.

André R.

Thursday 21 October 2010 7:42:58 am

Yes, this is a known issue as the SQL mistakenly is missing default value ''.

Should have been "ALTER TABLE ezsection ADD identifier VARCHAR(255) DEFAULT '';"

You can change the default value or remove / re add the column and re run the script to fix it.

Issue: http://issues.ez.no/IssueView.php?Id=17453

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.