Page 1 of 1

Diagram text scheme not correctly saved in V7

Posted: 10 Dec 2020 22:45
by LornaCraig
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 626 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 626 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?

Re: Diagram text scheme not correctly saved in V7

Posted: 10 Dec 2020 23:59
by tatewise
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.

Re: Diagram text scheme not correctly saved in V7

Posted: 11 Dec 2020 10:10
by LornaCraig
Thanks, I will report this to Calico Pie.

Re: Diagram text scheme not correctly saved in V7

Posted: 11 Dec 2020 11:24
by Jane
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.

Re: Diagram text scheme not correctly saved in V7

Posted: 11 Dec 2020 14:52
by LornaCraig
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.

Re: Diagram text scheme not correctly saved in V7

Posted: 11 Dec 2020 15:51
by tatewise
That is odd as I could only get it to fail without a fact definition!

Re: Diagram text scheme not correctly saved in V7

Posted: 11 Dec 2020 16:47
by LornaCraig
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.

Re: Diagram text scheme not correctly saved in V7

Posted: 11 Dec 2020 16:51
by tatewise
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.

Re: Diagram text scheme not correctly saved in V7

Posted: 11 Dec 2020 17:07
by LornaCraig
fact definiton 1.JPG
fact definiton 1.JPG (44.78 KiB) Viewed 453 times
fact definition 2.JPG
fact definition 2.JPG (44.46 KiB) Viewed 453 times

Re: Diagram text scheme not correctly saved in V7

Posted: 11 Dec 2020 17:55
by tatewise
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.

Re: Diagram text scheme not correctly saved in V7

Posted: 11 Dec 2020 18:19
by LornaCraig
Thanks! That narrows things down, I'll pass this onto Calico Pie.

Re: Diagram text scheme not correctly saved in V7

Posted: 13 Jan 2021 15:18
by LornaCraig
This has been fixed in V7.0.1.1