| | |
| | | { |
| | | Modification mod = modsIt.next(); |
| | | Attribute attr = mod.getAttribute(); |
| | | AttributeType attrType = attr.getAttributeType(); |
| | | AttributeType attrType = attr.getAttributeDescription().getAttributeType(); |
| | | // Fractional replication ignores operational attributes |
| | | if (attrType.isOperational() |
| | | || isMandatoryAttribute(entryClasses, attrType) |
| | |
| | | List<Modification> mods = op.getModifications(); |
| | | for (Modification mod : mods) |
| | | { |
| | | AttributeType modAttrType = mod.getAttribute().getAttributeType(); |
| | | AttributeType modAttrType = mod.getAttribute().getAttributeDescription().getAttributeType(); |
| | | if ((mod.getModificationType() == ModificationType.DELETE |
| | | || mod.getModificationType() == ModificationType.REPLACE) |
| | | && currentRDN.hasAttributeType(modAttrType)) |