diff --git a/ChangeLog b/ChangeLog index a072cb652..8f772deb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ 2007-01-06 Alex Roitman + * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Upgrade media + refs for the sources. * src/plugins/ExportVCard.py (get_option_box): Typo. 2007-01-06 Don Allingham diff --git a/src/GrampsDb/_GrampsBSDDB.py b/src/GrampsDb/_GrampsBSDDB.py index b7a8fc143..2ef2c51a5 100644 --- a/src/GrampsDb/_GrampsBSDDB.py +++ b/src/GrampsDb/_GrampsBSDDB.py @@ -1672,6 +1672,11 @@ class GrampsBSDDB(GrampsDbBase,UpdateCallback): (junk_handle, source.gramps_id, source.title, source.author, source.pubinfo, source.note, source.media_list, source.abbrev, source.change, source.datamap) = info + + # Cover attributes contained in MediaRefs + for media_ref in source.media_list: + convert_mediaref_9(media_ref) + self.commit_source(source,trans) self.update()