Unreferenced Places Deleted
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Unreferenced Places Deleted Expand / Collapse
Author
Message
Post #21426 Posted 4/20/2008 9:10:56 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Today @ 5:50:06 PM
GenoPro Version: 2.0.1.5
Posts: 10, Visits: 51
version 2.0.1.4
maybe it's not a bug, but a fearure
after saving the document, GenoPro deletes unreferenced Places.

create new document
add new individual
edit individual properties
add some Places
now save the document
Places are gone
if not all Places are gone, then click save one more time

can it somehow be disabled?
Post #21427 Posted 4/20/2008 11:10:18 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:00:02 PM
GenoPro Version: 2.0.1.6
Posts: 3,427, Visits: 14,248
The place object and the source object are shared among other objects such as individuals, families and pictures.  Each time a modification is made, a new place object is created, and later merged with an existing place if there is an identical one.

GenoPro has a built-in algorithm to detect duplicate records and merge them together.   This features saves space (memory) while providing a better understanding of the structure of the family tree. This feature was originally written to merge identical pictures.  Later, this code was used to merge identical places, sources, pictures, unions, occupations and education records.  Those objects were always kept regardless of their use.  For instance, if you enter a place name, and make a typo, then the old place name would remain in the document even if no longer used.  I saw documents having several thousand of those objects, obviously not wanted since they were all typos.  The decision was made to automatically cleanup those "stray objects" when saving.

There is no easy solution to this dillemma, and if you have suggestions, feel free to share them with us. Perhaps one solution would be having an option in the place object for "not deleting automatically if unused".

In the meantime, a workaround is to create a dummy individual and assign all the places you want to keep.

You are welcome to read Source vanishing when saving.



Post #21429 Posted 4/20/2008 2:27:38 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Today @ 5:50:06 PM
GenoPro Version: 2.0.1.5
Posts: 10, Visits: 51
thank you for the broad explanation
I suggest having somewhere in Options a toggle 'Cleanup on save' and a button 'Cleanup now'
Post #21430 Posted 4/20/2008 2:37:15 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:00:02 PM
GenoPro Version: 2.0.1.6
Posts: 3,427, Visits: 14,248
GenoPro already have a menu item "Delete Stray Objects" (at the bottom of the Table Layout menu, in the sub-menu Delete).

I took a note in my todo list to have an option to "Automatically delete stray objects on save".  By default, this option would be on because if it is off, the .gno file would contain a ton of garbage and most people would be afraid to use this option.  Few people are willing to use a "delete" function they don't understand.

I think this option should follow the .gno document rather than the computer.  This would be safer than storing this option in the computer registry where all the documents would be subject to this option when saving.

Post #21436 Posted 4/20/2008 4:32:36 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Today @ 5:50:06 PM
GenoPro Version: 2.0.1.5
Posts: 10, Visits: 51
Automatic deletion is a rather dangerous feature. Yes, it's logical to keep .gno file small, but in favour of some hundreds of kilobytes the user can lose vital information. Deletion of a single individual leads to deleting some other (now unreferenced but very important) records, and the user is not warned about this.
Post #21438 Posted 4/20/2008 4:53:50 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:00:02 PM
GenoPro Version: 2.0.1.6
Posts: 3,427, Visits: 14,248
VovKa (4/20/2008)
Automatic deletion is a rather dangerous feature.

I agree with you.  On the other hand, I saw countless family trees with hundred of those places and source records that were junk.  Nobody was willing to delete those objects.  The philosophy is: if an object such as a place or picture is not used, then it may be deleted.  This is not a perfect scenario, however it is a good compromise.

Of course GenoPro could be smarter and try to detect the quality of the object being deleted.  There is a lot of work to be done in this area.  For instance, merging identical Union records is still open to debate.  I am not sure myself which is the best way to go about this.  See post Same marriage union record for several families.

Post #21439 Posted 4/20/2008 5:28:19 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Today @ 5:50:06 PM
GenoPro Version: 2.0.1.5
Posts: 10, Visits: 51
what about adding a toggle 'Show only junk records' in Table Layouts.
then it would be seen what to delete and why.
at least the user will be responsible for that but not AI.
Post #21440 Posted 4/20/2008 5:34:04 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:00:02 PM
GenoPro Version: 2.0.1.6
Posts: 3,427, Visits: 14,248
VovKa (4/20/2008)
what about adding a toggle 'Show only junk records' in Table Layouts.
then it would be seen what to delete and why.
at least the user will be responsible for that but not AI.

That's what the option "Delete Stray Objects" at the bottom of the menu Table Layout is about.  The dialog to delete the unused objects displays a list of all the 'junk records'.

Post #21441 Posted 4/20/2008 5:41:27 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Today @ 5:50:06 PM
GenoPro Version: 2.0.1.5
Posts: 10, Visits: 51
wow, i've never seen that
by the way, this dialog can not be translated
« Prev Topic | Next Topic »