Stream: IG creation
Topic: ImplementationGuide/page/nameUrl Issue
Nagesh Bashyam (Mar 04 2019 at 04:04):
Has anyone encountered the following issue where within the ig.xml file when i have the following , the build crashes with the latest publisher. However if i remove the nameUrl, the build succeeds with an error saying nameUrl is missing. Any pointers or is this a known issue ?
<page>
<nameUrl value="index.md"/>
<title value="PRO Homepage"/>
<generation value="markdown"/>
</page>
Grahame Grieve (Mar 04 2019 at 04:05):
what's the crash?
Nagesh Bashyam (Mar 04 2019 at 04:09):
Load hl7.fhir.core-4.0.0 package from /Users/nbashyam/.fhir/packages/hl7.fhir.core#4.0.0 (03.0924sec)
Exception in thread "main" java.lang.Error: Not the right type for ImplementationGuide.definition.page.name[x]: uri
at org.hl7.fhir.r5.model.ImplementationGuide$ImplementationGuideDefinitionPageComponent.setName(ImplementationGuide.java:7959)
at org.hl7.fhir.convertors.conv40_50.ImplementationGuide.convertImplementationGuideDefinitionPageComponent(ImplementationGuide.java:1004)
at org.hl7.fhir.convertors.conv40_50.ImplementationGuide.convertImplementationGuideDefinitionComponent(ImplementationGuide.java:908)
at org.hl7.fhir.convertors.conv40_50.ImplementationGuide.convertImplementationGuide(ImplementationGuide.java:84)
at org.hl7.fhir.convertors.VersionConvertor_40_50.convertResource(VersionConvertor_40_50.java:3374)
at org.hl7.fhir.igtools.publisher.ConfigFileConverter.parse(ConfigFileConverter.java:281)
at org.hl7.fhir.igtools.publisher.ConfigFileConverter.convert(ConfigFileConverter.java:94)
at org.hl7.fhir.igtools.publisher.Publisher.initializeFromJson(Publisher.java:1123)
at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:969)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:542)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4987)
Grahame Grieve (Mar 04 2019 at 04:16):
I think you are not using the very latest IGPublisher (from yesterday)
Nagesh Bashyam (Mar 04 2019 at 04:20):
Let me try quickly
Nagesh Bashyam (Mar 04 2019 at 04:23):
Same Issue with the latest one I just downloaded from http://build.fhir.org/downloads
Grahame Grieve (Mar 04 2019 at 04:24):
how do I reproduce this?
Nagesh Bashyam (Mar 04 2019 at 04:24):
An Example is present at https://github.com/HL7/patient-reported-outcomes
Nagesh Bashyam (Mar 04 2019 at 04:26):
You will have to uncomment the "nameUrl" element in the source/resources/ig.xml and try it with the latest publisher and it will reproduce the error.
Eric Haas (Mar 04 2019 at 05:37):
I just downloaded the latest ig-pub anc got the same error. My old version of ig-pub is fine btw.
Grahame Grieve (Mar 04 2019 at 05:39):
when the next master build completes this will be fixed
Eric Haas (Mar 04 2019 at 05:39):
ty
Nagesh Bashyam (Mar 07 2019 at 19:00):
@Grahame Grieve Is this issue fixed in the latest publisher ?
Grahame Grieve (Mar 07 2019 at 20:39):
I think so
Eric Haas (Mar 07 2019 at 21:14):
yes it is
Nagesh Bashyam (Mar 08 2019 at 05:10):
Works..Thanks
Last updated: Apr 12 2022 at 19:14 UTC