Stream: IG creation
Topic: The link '' for "" cannot be resolved error
Jean Duteau (Aug 20 2020 at 16:23):
I just created a brand new IG and I'm getting a strange error:
The link '' for "" cannot be resolved
I'm getting 11 of these: 1 for toc.html, artifacts.html, index.html, and 1 for eight different pages associated with the one profile I created.
Unfortunately, the line information that the qa page spits out is useless as none of the lines it is outputting actually has an empty link. I also did a search on the files and didn't find any empty links. Has anyone seen these errors before?
Jean Duteau (Aug 20 2020 at 16:27):
okay, I think I found the error - I didn't have a publisher defined. Once I added that, the link errors went away.
Grahame Grieve (Aug 20 2020 at 20:32):
@Lloyd McKenzie this looks like a template issue
Lloyd McKenzie (Aug 23 2020 at 20:46):
@Jean Duteau Can you create a Git issue against the base template for this?
Jean Duteau (Aug 23 2020 at 22:12):
already raised by Elliot
Jens Villadsen (Mar 20 2021 at 10:14):
I'm seeing thee same issue
Jens Villadsen (Mar 20 2021 at 10:15):
@Jean Duteau what was the fix? My IG source is based on FSH and located here https://github.com/hl7dk/dk-core - and the QA report can be found here: https://hl7dk.github.io/dk-core/qa.html
Jose Costa Teixeira (Mar 20 2021 at 10:26):
@Jens Villadsen this should be because your IG is missing the url
Jens Villadsen (Mar 20 2021 at 10:27):
Where?
Jose Costa Teixeira (Mar 20 2021 at 10:27):
The IG should have a contact where telecom.system = "url"
Jose Costa Teixeira (Mar 20 2021 at 10:27):
<contact>
<name value="yourOrg" />
<telecom>
<system value="url" />
<value value="http://yourOrg.org" />
</telecom>
</contact>
Jose Costa Teixeira (Mar 20 2021 at 10:28):
translate to fsh and put this in your IG
Jens Villadsen (Mar 20 2021 at 14:16):
So following this I suppose ;) https://fshschool.org/docs/sushi/configuration/#recommended-configuration
Jose Costa Teixeira (Mar 21 2021 at 23:34):
yes, the one with contact, and make sure there is a url in there
Jose Costa Teixeira (Mar 21 2021 at 23:35):
contact:
- name: Bob Smith
telecom:
- system: url
value: http://example.com
Jose Costa Teixeira (Mar 21 2021 at 23:36):
@Lloyd McKenzie this would be a good example why we should allow the validator to validate some of the input resources against the profiles. This slice (url contact) i sneeded by the template
John Moehrke (Mar 22 2021 at 12:13):
I didn't know of this. Yes, a warning from the build would be good when something that is required is missing.
John Moehrke (Mar 22 2021 at 12:17):
ah, this is only needed if not using an implementation guide -- https://fshschool.org/docs/sushi/configuration/#fsh-only
Last updated: Apr 12 2022 at 19:14 UTC