Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Fetching Structure Definitions within Property.getChildProperties() #682
looks like I've never executed this line, but it's not obvious that's the right fix (I'm concerned that this would just be fixing the symptom, not the problem) - can you tell me how to reproduce this? Grahame…
On Tue, Jul 4, 2017 at 6:23 AM, travislukach ***@***.***> wrote: When processing a StructureMap with StructureMapUtilities.analyse methods, there is a reference to another class within a referenced StructureDefinition. Using the the StrucutreDefinitions provided with DefaultProfileValidiationSupport I was working on a map using the Coding structure. At some point I wanted to utilize Coding.extension for a value. Extension is present in the DefaultProfileValidiationSupport's StructureDefinitions, so theoretically there shouldn't be any problems. But when I enter the getChildProperties method within the Property object, there is an issue. When it calls the fetchResource method with the context, it doesn't feed in the full URL for Extension, it just feeds in "Extension", returning null as a value and causing the DefinitionException to be thrown when it doesn't, so the map analysis isn't getting completed in the end. So just making sure it feeds the full URL in would be a good fix unless there was another way of working around this. [image: fetchstructuredefinitionerror] <https://user-images.githubusercontent.com/7997121/27806951-57dea60e-6003-11e7-87a8-19ccd15ff0a9.PNG> — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#682>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFllFVDEWmIrGy449Fbp9pb-5LOWoGr1ks5sKU3FgaJpZM4OMp_3> .
-- ----- http://www.healthintersections.com.au / firstname.lastname@example.org / +61 411 867 065
@grahamegrieve This actually appears to be an issue with HAPI's worker context implementation, not with the
Will see about a fix for this.