Stream: IG creation
Topic: Links cannot be resolved
Etienne Cantineau (Sep 29 2020 at 11:16):
Hello, I'm getting since today errors "The link 'StructureDefinition-XXX.xml.html' for "XML" cannot be resolved", same for Json and Turtle for each structure definitions without having changed anything in those. I see in the QA reports from committers streams that I'm not the only one having these errors.
See: http://build.fhir.org/ig/ec-ehealth/ehealthplatformstandards/branches/master/qa.html
Grahame Grieve (Sep 29 2020 at 11:16):
hmm. what's your ig.ini say?
Etienne Cantineau (Sep 29 2020 at 11:18):
Here it is: https://github.com/ec-ehealth/ehealthplatformstandards/blob/master/ig.ini
Grahame Grieve (Sep 29 2020 at 11:19):
hmm. that should work. Does it work for you locally?
Etienne Cantineau (Sep 29 2020 at 11:20):
I have the same broken links than in CI-build
Grahame Grieve (Sep 29 2020 at 11:28):
I don't know. I'll have a look tomorrow
Etienne Cantineau (Sep 29 2020 at 11:29):
Ok thank you
Jose Costa Teixeira (Sep 29 2020 at 13:11):
https://github.com/HL7/fhir-ig-publisher/blob/94de7ce70af464ae935b04f268727c4490aef66b/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/renderers/CanonicalRenderer.java#L83
points to r.fhirType()+"-"+r.getId()+".{{[fmt]}}.html
Jose Costa Teixeira (Sep 29 2020 at 13:12):
I think the link should be r.fhirType()+"-"+r.getId()+".{{[fmt]}}
(just xml, without html)
Jose Costa Teixeira (Sep 29 2020 at 13:13):
or the corresponding tab, which is in <type<-<id>.profile.<format>.html
Grahame Grieve (Sep 29 2020 at 22:36):
@Lloyd McKenzie this is something to do with the template. It would appear that releasing a new template has changed this value:
"profile-xml": "{{[type]}}-{{[id]}}.xml.html",
to
"profile-xml": "{{[type]}}-{{[id]}}.profile.xml.html",
Grahame Grieve (Sep 29 2020 at 22:36):
we have never used .profile. in any IG that I know of
Grahame Grieve (Sep 29 2020 at 23:10):
I don't know why we do that. but it doesn't matter. the base template config was missing an entry.
Grahame Grieve (Sep 29 2020 at 23:10):
fixed now
Last updated: Apr 12 2022 at 19:14 UTC