mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
18.22.2010 fa2c596315129d5622e738acc9454769af3b2425
Make sure inherited collective attributes are always encapsulated by CollectiveVirtualAttribute
2 files modified
9 ■■■■■ changed files
opends/src/server/org/opends/server/types/Entry.java 2 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/types/SubEntry.java 7 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/types/Entry.java
@@ -3795,6 +3795,8 @@
              {
                continue;
              }
              collectiveAttr = new CollectiveVirtualAttribute(
                      collectiveAttr);
            }
            else
            {
opends/src/server/org/opends/server/types/SubEntry.java
@@ -409,9 +409,10 @@
        {
          for (AttributeValue value : attr)
          {
            this.collectiveAttributes.add(
                    Attributes.empty(
                    value.toString()));
            CollectiveVirtualAttribute collectiveAttr =
              new CollectiveVirtualAttribute(
                Attributes.empty(value.toString()));
            this.collectiveAttributes.add(collectiveAttr);
          }
        }
      }