Stream: conformance
Topic: Forge: Reference to a set of Resources
Simone Heckmann (Nov 07 2017 at 09:15):
I am currently working on an Extension of type reference
that's supposed to allow references to a handful of resource types.
I have it configured like this:
pasted image
Simone Heckmann (Nov 07 2017 at 09:16):
What's weird is that the extension still shows value[x] even though all the types I ticked are references. Am I doing it wrong?
Simone Heckmann (Nov 07 2017 at 09:17):
shouldn't it be valueReference?
Michel Rutten (Nov 07 2017 at 09:17):
Hi @Simone Heckmann, seems like a bug? When all type constraints share the same type code, Forge should rename the element.
Simone Heckmann (Nov 07 2017 at 09:19):
Huh. I un-ticked one of the references and then re-ticked it and guess what:
pasted image
:D
Michel Rutten (Nov 07 2017 at 09:21):
Aha! Guess there is a subtle problem with state management. If the issue occurs again and you can describe steps to reproduce, please let us know.
Michel Rutten (Nov 07 2017 at 09:23):
In the first screenshot, I can also see an invalid candidate type option for Reference(Coverage). Forge should display the Coverage profile url in the second column (targetProfile).
Simone Heckmann (Nov 07 2017 at 10:39):
Steps to reproduce:
1. Download this Extension from Simplifier: https://simplifier.net/Sandbox/agent
(in XML)
2. Open in Forge
Michel Rutten (Nov 07 2017 at 10:41):
Thank you for reporting! I'll submit an issue to our internal tracker.
Last updated: Apr 12 2022 at 19:14 UTC