Upgrade userinfo-dicts to memberobjects

Bug #100332 reported by Guido Wesdorp
10
Affects Status Importance Assigned to Milestone
Silva
Fix Released
High
Martijn Faassen

Bug Description

Since the way Silva stores userinfo (last_author_info) has
drastically changed for the new version, there needs to be a
way to upgrade existing content to use this functionality.
There is a method available on the Silva root now, which has
to be thoroughly tested and then moved to a more generic
upgrade method (which should also take care of the rest of
the upgrade).

Tags: silva-0.9.1b
Revision history for this message
Clemens Robbenhaar (crobbenhaar) wrote :

Are there any plans for the "more generic upgrade method" ?
I actually had something in mind when creating
http://issues.infrae.com/silva/issue150
Should I elaborate, or better keep progress on "my" issues? ;-)

Revision history for this message
Martijn Faassen (faassen) wrote :

I would like a more generic upgrade method. Monday I
discussed this with Zagy, unfortunately he's ill this week.
Deferring to that issue (issue150) for discussion.

Guido (johnny) created a way to upgrade the dictionaries
to member objects. This should be tested again before
the release.

Revision history for this message
Clemens Robbenhaar (crobbenhaar) wrote :

Random test report: running "upgrade_memberobjects"
seemd to run on my test instances w/o problems.
 However I had already edited quite a lot of objects,
thus there has not been a lot of content objects
who needed to update.
 (... should have made a backup of the original state
of the Data.fs form 0.9 ...)

Revision history for this message
Jan-Wijbrand Kolman (jw-infrae) wrote :

I ran the script w/o problems too. How can we be sure that
this is properly tested? I hesitate to set this to resolved..

Revision history for this message
Guido Wesdorp (guido-infrae) wrote :

Don't be scared... I've used the code a couple of times and
it did the trick quite well... I have to say that there were
some other issues then as well, but I think it works quite
okay...

Revision history for this message
Martijn Faassen (faassen) wrote :

Resolving this one; seems to have gotten enough testing for
now. Should test it on a real big database, perhaps.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.