* Diagram text scheme not correctly saved in V7

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile
Post Reply
User avatar
LornaCraig
Megastar
Posts: 1964
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Diagram text scheme not correctly saved in V7

Post by LornaCraig » 10 Dec 2020 22:45

I’m having trouble with a couple of diagram text scheme lines which used to work OK in V6. These are for a custom event, “received into the church” and a custom attribute, “DNA match”.

I can re-create the lines in a text scheme and the ‘Test’ button confirms that the template is valid.

These are the lines:

Received into church:%INDI.EVEN-RECEIVED_INTO_THE_CHURCH.DATE:COMPACT% in %INDI.EVEN-RECEIVED_INTO_THE_CHURCH.PLAC:MEDIUM%
and
DNA match:%INDI._ATTR-DNA_MATCH%

which produce the desired output, for example:
correct output.JPG
correct output.JPG (13.55 KiB) Viewed 600 times


This continues to work for the duration of the FH session. However after FH has been closed and re-opened the “%” signs have been stripped out of the templates so that the wrong text is displayed in the diagram. The lines then look like this:

Received into church: INDI.EVEN-RECEIVED_INTO_THE_CHURCH.DATE:COMPACT in INDI.EVEN-RECEIVED_INTO_THE_CHURCH.PLAC:MEDIUM
and
DNA match:INDI._ATTR-DNA_MATCH

The result is this:
After closing and re-opening FH.JPG
After closing and re-opening FH.JPG (18.27 KiB) Viewed 600 times

To complicate things further, sometimes (but not always) after closing and re-opening FH those particular text lines have been Left Aligned although I always set them to be Centred.

Before I report this to Calico Pie as a bug, can anyone shed any light (other than the observation that the % signs are being stripped out when FH is closed) or suggest a workaround?
Lorna

User avatar
tatewise
Megastar
Posts: 20078
Joined: 25 May 2010 11:00
Family Historian: V6.2
Location: Torbay, Devon, UK
Contact:

Re: Diagram text scheme not correctly saved in V7

Post by tatewise » 10 Dec 2020 23:59

I have reproduced the problem but only by deleting the Tools > Fact Types definition for the custom fact.
So that is definitely a bug.
Another case of an established feature that has become broken nothing to do with new features.

I have not had the left-aligned/centred problem.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
LornaCraig
Megastar
Posts: 1964
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Diagram text scheme not correctly saved in V7

Post by LornaCraig » 11 Dec 2020 10:10

Thanks, I will report this to Calico Pie.
Lorna

User avatar
Jane
Site Admin
Posts: 8075
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Re: Diagram text scheme not correctly saved in V7

Post by Jane » 11 Dec 2020 11:24

Lorna can you check you do have a definition for the custom Fact. If Mike had to delete the Custom fact to make it happen.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

User avatar
LornaCraig
Megastar
Posts: 1964
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Diagram text scheme not correctly saved in V7

Post by LornaCraig » 11 Dec 2020 14:52

Yes, I have definitions for both the custom event and the custom attribute. And the text scheme works fine until FH is closed and re-opened.

Calico Pie have logged the problem for attention.
Lorna

User avatar
tatewise
Megastar
Posts: 20078
Joined: 25 May 2010 11:00
Family Historian: V6.2
Location: Torbay, Devon, UK
Contact:

Re: Diagram text scheme not correctly saved in V7

Post by tatewise » 11 Dec 2020 15:51

That is odd as I could only get it to fail without a fact definition!
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
LornaCraig
Megastar
Posts: 1964
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Diagram text scheme not correctly saved in V7

Post by LornaCraig » 11 Dec 2020 16:47

I'll post here again if I hear any more from Calico Pie. Anyway my custom facts haven't changed at all and the scheme always worked in V6 .

I can make it work in V7 by re-creating those lines each time I open FH7, it's just that next time I run FH the % signs have been stripped out so it doesn't work.
Lorna

User avatar
tatewise
Megastar
Posts: 20078
Joined: 25 May 2010 11:00
Family Historian: V6.2
Location: Torbay, Devon, UK
Contact:

Re: Diagram text scheme not correctly saved in V7

Post by tatewise » 11 Dec 2020 16:51

Excuse this question if you have already checked but do the custom fact definitions in Tools > Fact Types open and close without problems. I'm just wondering if there are any complex Sentence Templates or something FH V7 does not like that makes it appear as if those definitions are not all present and correct.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
LornaCraig
Megastar
Posts: 1964
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Diagram text scheme not correctly saved in V7

Post by LornaCraig » 11 Dec 2020 17:07

fact definiton 1.JPG
fact definiton 1.JPG (44.78 KiB) Viewed 427 times
fact definition 2.JPG
fact definition 2.JPG (44.46 KiB) Viewed 427 times
Lorna

User avatar
tatewise
Megastar
Posts: 20078
Joined: 25 May 2010 11:00
Family Historian: V6.2
Location: Torbay, Devon, UK
Contact:

Re: Diagram text scheme not correctly saved in V7

Post by tatewise » 11 Dec 2020 17:55

By exactly replicating that Project only custom event definition I now get exactly the same symptoms as Lorna.

With a bit more experimentation involving a global custom event similar to yours and my own Project only custom event, then the problem is associated with the Fact Definition NOT exiting in the global definitions.
i.e. If the custom fact is local to the Project, or has no definition at all, then it does not exist in the global ProgramData.
So that fits your case of a Project only fact and my original scenario of no definition at all.

Perhaps you could pass that on to Calico Pie.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
LornaCraig
Megastar
Posts: 1964
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Diagram text scheme not correctly saved in V7

Post by LornaCraig » 11 Dec 2020 18:19

Thanks! That narrows things down, I'll pass this onto Calico Pie.
Lorna

User avatar
LornaCraig
Megastar
Posts: 1964
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Diagram text scheme not correctly saved in V7

Post by LornaCraig » 13 Jan 2021 15:18

This has been fixed in V7.0.1.1
Lorna

Post Reply