Skip to content

Commit

Permalink
Fix list of values in list of "pickerEntity metadata" in claims confi…
Browse files Browse the repository at this point in the history
…guration page
  • Loading branch information
Yvand committed Feb 21, 2022
1 parent f8caefd commit b5ce4b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

* Augment groups with the same attribute as the one set in the LDAPCP configuration. https://github.com/Yvand/LDAPCP/issues/148
* Fix: In claims configurfation page, the values in the list of "PickerEntity metadata" was not populated correctly, which caused an issue with the "Title" (and a few others)
* Update NuGet package NUnit3TestAdapter to v3.16.1
* Update NuGet package Newtonsoft.Json to 12.0.3

Expand Down
4 changes: 3 additions & 1 deletion LDAPCP/ADMIN/LDAPCP/ClaimTypesConfig.ascx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ private void Initialize()
Type EntityDataKeysInfo = typeof(PeopleEditorEntityDataKeys);
foreach (object field in EntityDataKeysInfo.GetFields())
{
DdlNewEntityMetadata.Items.Add(((FieldInfo)field).Name);
FieldInfo fi = (FieldInfo)field;
object fieldValue = fi.GetValue(null);
DdlNewEntityMetadata.Items.Add(fieldValue.ToString());
}

// Populate EntityType DDL
Expand Down

0 comments on commit b5ce4b1

Please sign in to comment.