bug: custom tag name clash with GenoDate Object
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 )
        



bug: custom tag name clash with GenoDate Object Expand / Collapse
Author
Message
Post #6769 Posted 5/6/2005 6:14:56 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 11:16:52 AM
GenoPro Version: 2.0.1.6
Posts: 1,174, Visits: 5,581
My initial attempts at using the new report generator were unsuccessful because I kept hitting the following error:
Generating report to G:\Shared Documents\Family\Genealogy\reports\
Cloning document Masterb13...
Opening configuration file Config.xml for skin '\_English - Generic Report'...
Loading dictionary.xml...
Processing template 'init.htm'...
Processing template 'default.htm'...
Processing template 'toc_families.htm'...
Processing template 'toc_individuals.htm'...
Error at line 72: Object doesn't support this action: 'i.birth.date.year'
Microsoft VBScript runtime error 800A01BD

After a bit of head scratching I realized that one of my custom tags, used to record the original Gedcom date qualifier, which I had called 'birth.date.type' was causing a problem with the GenoDate object. When I deleted the custom tag, using the tag editor, and saved the file the problem remained, even though the tag had been removed from the .xml file. It was only after I re-imported the .xml file into GenoPro that the report was produced without error. It was as if the erroneous tag remained in the .gno file even after deleting it with the tag editor. I submit this bug in case other users hit the same or similar problem. Perhaps a 'reserved word list' is required to prevent such clashes.



'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #6770 Posted 8/18/2005 6:49:10 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 @ 8:36:46 AM
GenoPro Version: 2.0.1.6
Posts: 3,534, Visits: 14,913
Can you send me a sample .gno file producing the error. I will take a look at the issue and fix it.

Post #6771 Posted 8/18/2005 6:49:10 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 @ 8:36:46 AM
GenoPro Version: 2.0.1.6
Posts: 3,534, Visits: 14,913
From the attachment you sent, I see what you mean. This is a though decision I made to have the "date" as a standalone object. In other words, once you have "i.birth.date", you have an atomic datatype, and there is no more a link to the original source. Since there is no intrinsic methor or property named "type" to the GenoDate, you get this error.

What you can do is change your user-defined tag from "birth.date.type" to "birth.date_type" which will work.

By the way, I am curious, what values do you enter in "birth.date.type"? Maybe this could be a built-in feature of the date object (for Beta 16)...


Post #6772 Posted 8/18/2005 6:49:10 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 11:16:52 AM
GenoPro Version: 2.0.1.6
Posts: 1,174, Visits: 5,581
The idea was to capture Gedcom date modifiers such as ABT, BEF, AFT, EST, CAL etc. I.e. type of approximate date. I know this area has beeen covered elsewhere in the forum and is a planned enchancement to GenoPro.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #6773 Posted 8/18/2005 6:49:10 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 @ 8:36:46 AM
GenoPro Version: 2.0.1.6
Posts: 3,534, Visits: 14,913
Beta 16 will have this built-in. New methods will be added to the GenoDate to extract the "type" of date, whatever it is a full date, partial date, an estimate date and other date types.

« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 8:38 PM

Copyright 1998-2008 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.