Fact sentence structure - output error
Posted: 02 Mar 2022 12:13
Hello,
As a new user of FH, I have been experimenting with Fact sentence templates (as I have a few custom facts from Legacy that I want to re-create in FH) and have come across a “bug” in Narrative reports.
For example, I have created a new fact (Birth Informant) that uses the following sentence structure:
{individual} reported the birth of {note} {date} {place} {age}
This gives me the desired outcome, as can be seen in the sentence field towards the bottom of the Property box.
But when I generate an Individual Narrative report the sentence is not output as was shown in the Property Box but with the date prefix capitalised and closed up, as shown in this image.
Experimenting further with the placement of the {note} code i.e. placing the note code between the date and place codes (which I know doesn’t read correctly but is just for testing purposes) gives the same result/error – the prefix for the place (in) has now become capitalised and closed up in the Report, although it shows correctly in the Property Box.
I then experimented further using the (standard) Census fact and can re-create the same error for it i.e. adding the {note} code affects the following {whichever code} prefix output in a Report, in the same manner.
Having had no previous experience with earlier versions of FH, I am wondering if this always been the case or is it a regression (either way, it is a “bug” in my opinion).
I thought I would run this past the group to gauge their opinion before submitting it to CP support.
Regards, Richard
As a new user of FH, I have been experimenting with Fact sentence templates (as I have a few custom facts from Legacy that I want to re-create in FH) and have come across a “bug” in Narrative reports.
For example, I have created a new fact (Birth Informant) that uses the following sentence structure:
{individual} reported the birth of {note} {date} {place} {age}
This gives me the desired outcome, as can be seen in the sentence field towards the bottom of the Property box.
But when I generate an Individual Narrative report the sentence is not output as was shown in the Property Box but with the date prefix capitalised and closed up, as shown in this image.
Experimenting further with the placement of the {note} code i.e. placing the note code between the date and place codes (which I know doesn’t read correctly but is just for testing purposes) gives the same result/error – the prefix for the place (in) has now become capitalised and closed up in the Report, although it shows correctly in the Property Box.
I then experimented further using the (standard) Census fact and can re-create the same error for it i.e. adding the {note} code affects the following {whichever code} prefix output in a Report, in the same manner.
Having had no previous experience with earlier versions of FH, I am wondering if this always been the case or is it a regression (either way, it is a “bug” in my opinion).
I thought I would run this past the group to gauge their opinion before submitting it to CP support.
Regards, Richard