New Storage: Testsuite fails when JPA Map storage is enabled for groups
Closes #11369
This commit is contained in:
parent
f48d468641
commit
3d1118223b
1 changed files with 1 additions and 6 deletions
|
@ -67,12 +67,7 @@ public class MapGroupAdapter extends AbstractGroupModel<MapGroupEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getFirstAttribute(String name) {
|
public String getFirstAttribute(String name) {
|
||||||
List<String> attributeValues = this.entity.getAttribute(name);
|
return getAttributeStream(name).findFirst().orElse(null);
|
||||||
if (attributeValues == null) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return attributeValues.get(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue