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

copilot-swe-agent[bot]
3 days ago 943ae0d0dc4f982ad869acb43a6438c26813882e
Fix compilation error: use getAttributeDescription().getAttributeType() instead of getAttributeType()

Agent-Logs-Url: https://github.com/OpenIdentityPlatform/OpenDJ/sessions/e4c3f74e-8d96-4b8f-bdcc-91c814ffb791

Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
1 files modified
2 ■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/plugins/ReferentialIntegrityPlugin.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/plugins/ReferentialIntegrityPlugin.java
@@ -1016,7 +1016,7 @@
      if (modifiedAttribute != null && !modifiedAttribute.isEmpty())
      {
        // Only enforce referential integrity on attributes that this plugin is configured to manage.
        final AttributeType modifiedAttrType = modifiedAttribute.getAttributeType();
        final AttributeType modifiedAttrType = modifiedAttribute.getAttributeDescription().getAttributeType();
        boolean isManagedAttributeType = false;
        if (modifiedAttrType != null && attributeTypes != null)
        {