You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an entity metadata includes DisplayName elements within ScopedUIInfo elements, and these precede the DisplayName in the UIInfo element, discojson will produce JSON with the 1st scoped DisplayName element.
This will also happen with UI info elements other than DisplayName, e.g. Description.
Code Version
master (2.1.3)
Expected Behavior
The DisplayName in the UIInfo element should be picked
Current Behavior
The DisplayName in the 1st ScopedUIInfo element is picked
Possible Solution
Check ancestors of the DisplayName (and other UI info) elements
Steps to Reproduce
Produce metadata for an entity including the XML structure below
Check ancestors of the DisplayName (and other UI info) elements
I totally agree. mdui:DisplayName is defined in the SAML MDUI spec as part of an mdui:UIInfo element, so you know the semantics of that. OpenAthens' ScopedUIInfo has not, to my knowledge, been standardised and published so IMO you should ignore any mdui:DisplayName in a oaf:ScopedUIInfo container.
If an entity metadata includes
DisplayName
elements withinScopedUIInfo
elements, and these precede theDisplayName
in theUIInfo
element, discojson will produce JSON with the 1st scopedDisplayName
element.This will also happen with UI info elements other than
DisplayName
, e.g.Description
.Code Version
master (2.1.3)
Expected Behavior
The
DisplayName
in theUIInfo
element should be pickedCurrent Behavior
The
DisplayName
in the 1stScopedUIInfo
element is pickedPossible Solution
Check ancestors of the
DisplayName
(and other UI info) elementsSteps to Reproduce
The text was updated successfully, but these errors were encountered: