Metadata creator hotfix
Posted on 2008-05-23 14:24:01 CEST.
Today we discovered major issue with metadata creator. Simply, creator person's guid isn't stored in database for any registered MgdSchema class. Issue appeared in 1.8.7 version of midgard and fix will be included in upcoming 1.8.8 release.
If you use Midgard 1.8.6, hold on with upgrade till 1.8.8 is released.
As a temporary solution you can upgrade your midgad packages if your system is debian or compile midgard-core with manually applied patch.
Tables can be fixed using example query:
UPDATE article SET metadata_creator=REPLACE(metadata_authors, '|' ,'') WHERE metadata_creator='' AND metadata_authors<>'' AND metadata_authors<>'||' AND LENGTH(metadata_authors) < 39;
However you should check tables and correct data manually in case if metadata_authors column contain more than one guid.
