From 1810d41d9b284eb7426cba93ac0cc769bc3ddf7a Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Tue, 11 Dec 2007 07:42:05 +0000
Subject: [PATCH]
---
opendj-sdk/opends/src/server/org/opends/server/backends/SchemaBackend.java | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/backends/SchemaBackend.java b/opendj-sdk/opends/src/server/org/opends/server/backends/SchemaBackend.java
index e375aad..de9f810 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/backends/SchemaBackend.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/backends/SchemaBackend.java
@@ -1085,15 +1085,6 @@
Modification m = iterator.next();
pos++;
- if (m.isInternal())
- {
- // We don't need to do anything for internal modifications (e.g., like
- // those that set modifiersName and modifyTimestamp).
- iterator.remove();
- continue;
- }
-
-
// Determine the type of modification to perform. We will support add and
// delete operations in the schema, and we will also support the ability
// to add a schema element that already exists and treat it as a
@@ -1470,7 +1461,8 @@
default:
- if (!modifyOperation.isSynchronizationOperation())
+ if ((!m.isInternal()) &&
+ (!modifyOperation.isSynchronizationOperation()))
{
Message message = ERR_SCHEMA_INVALID_MODIFICATION_TYPE.get(
String.valueOf(m.getModificationType()));
--
Gitblit v1.10.0