#73 — Migration from 0.9.0b1 (and earlier) to 1.0
| State | Unconfirmed |
|---|---|
| Version: | 1.0 |
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Anne Bowtell |
| Submitted on | Feb 04, 2009 |
| Responsible |
—
|
| Target release: |
—
|
Last modified on
Feb 04, 2009
by
Anne Bowtell
A Plone 2.5 site has been using CMFBibAT for some time and has migrated from 0.8 to 0.9.0b1. On migration to Plone 3 and version 1.0, schemas of a sub-set of the bib items in the site appeared not to have updated. These turned out to be items created by earlier versions of CMFBibAT. A manual solution was to use the archetypes_tool > Update Schemas tab, selecting the Remove schema attributes from instance option.
Another possibility would be to adjust line 278 of migrations/cmfbib08to09.py
obj._updateSchema(remove_instance_schemas=True)
which would catch any 0.8 content migrating to 1.0
and in cmfbib09to10.py
do a spot check of the first 10 created bib items on the site and examine whether they have 'identifiers' as a field, if true, update the schemas with remove_instance_schema=True.
I've attached my version of cmfbib09to10.py - it needs testing, but has worked for me.
Another possibility would be to adjust line 278 of migrations/cmfbib08to09.py
obj._updateSchema(remove_instance_schemas=True)
which would catch any 0.8 content migrating to 1.0
and in cmfbib09to10.py
do a spot check of the first 10 created bib items on the site and examine whether they have 'identifiers' as a field, if true, update the schemas with remove_instance_schema=True.
I've attached my version of cmfbib09to10.py - it needs testing, but has worked for me.
- Steps to reproduce:
- It would be hard to create the conditions to reproduce this. I will archive the pre-migrated version of my site and can test if required.
No responses can be added.
If you can, please log in before submitting a reaction.
cmfbib09to10.py