Stream: IG creation
Topic: Issue with contained ?template
David Hay (Aug 06 2020 at 22:50):
The IG publisher is failing when I'm using contained resources in an example (If I remove the contained resources then it works fine). It occurred when I upgraded the IG publisher, but continues even when I reverted to the previous one, making me wonder if it is an issue in the template.
The error is:
Liquid Exception: Could not locate the included file 'ActivityDefinition-coloRectal_ActTragacanth-html.xhtml'
with the parent resource id being 'coloRectal' and the contained resource id being 'ActTragacanth'.
I've noticed that the output folder is empty, though the temp/pages folder is full (though not with the missing file - the closest being:
ActivityDefinition-coloRectal_ActTragacanth.html
Grahame Grieve (Aug 06 2020 at 22:52):
what matters is what is in temp/pages/_includes
David Hay (Aug 06 2020 at 23:02):
Only 'colorectal' one is:
ActivityDefinition-coloRectal_ActTragacanth-history.xhtml
Grahame Grieve (Aug 06 2020 at 23:13):
hmm. can I debug?
David Hay (Aug 06 2020 at 23:40):
Have just pushed to git (https://github.com/HL7NZ/cca/tree/master)
If you comment out line 31 in fsh/examples/colorectal protocol.fsh then it builds fine. Otherwise you get the error...
Grahame Grieve (Aug 07 2020 at 01:42):
fixed next release
David Hay (Aug 07 2020 at 01:50):
thanks!
Last updated: Apr 12 2022 at 19:14 UTC