From: doug <do...@o2...> - 2011-08-14 13:23:19
|
Hi, I'd be unhappy to see the patch taken as a full resolution of this and related bugs just yet. Some sorts of editing need the database to be exported as csv (or xml) for editing and re-imported back onto the original: I've not been able so far to be sure if merging always takes place perfectly or if it leaves duplicates remain that need identifying. For this case, requiring the import to create a new family tree wouldn't be helpful. Doug On 13/08/11 05:58, jerome wrote: > Hi, > > > This could be an acceptable solution because I suppose this is a very special case, maybe related to use of handle.bash some months ago ??? > > http://gramps-project.org/wiki/index.php?title=Handle.bash > > Note, there is also others issues where to create an new database and to import content is sometimes a solution. > > http://www.gramps-project.org/bugs/view.php?id=5092 > http://www.gramps-project.org/bugs/view.php?id=4515#c16956 > > > > Jérôme > > > --- En date de : Ven 12.8.11, Michiel Nauta<m.d...@he...> a écrit : > >> De: Michiel Nauta<m.d...@he...> >> Objet: [Gramps-devel] May Check and Repair tool ask user to backup and import his data? >> À: "Gramps Development List"<gra...@li...> >> Date: Vendredi 12 août 2011, 23h14 >> Hi, >> >> I am working on bug 5140. It is about import of an XML file >> with >> identical handles for different primary objects. Previous >> versions of >> Gramps, before 3.3.0, just accepted these files, version >> 3.3.0 raises an >> error. Files shouldn't have such duplicate handles, handles >> are supposed >> to be unique. >> >> Fixing the import is not the problem, it is the Check and >> Repair tool >> that is. The Check and Repair tool needs to look for such >> cross table >> duplicate handles (as I call them) and fix them. I haven't >> got the code >> for the Check and Repair tool yet, but I fear this could be >> quite >> complicated because it needs code at the database level. It >> is far >> easier to ask the user to make a backup of his database and >> import that >> into an empty family tree. So that is what I do in the >> patch attached to >> the bug. My question is, is this solution acceptable? >> >> Michiel >> >> ------------------------------------------------------------------------------ >> FREE DOWNLOAD - uberSVN with Social Coding for Subversion. >> Subversion made easy with a complete admin console. Easy >> to use, easy to manage, easy to install, easy to extend. >> Get a Free download of the new open ALM Subversion platform >> now. >> http://p.sf.net/sfu/wandisco-dev2dev >> _______________________________________________ >> Gramps-devel mailing list >> Gra...@li... >> https://lists.sourceforge.net/lists/listinfo/gramps-devel >> > > ------------------------------------------------------------------------------ > FREE DOWNLOAD - uberSVN with Social Coding for Subversion. > Subversion made easy with a complete admin console. Easy > to use, easy to manage, easy to install, easy to extend. > Get a Free download of the new open ALM Subversion platform now. > http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > |