From 92942bc98880793237d38d87db45abd5537d3f62 Mon Sep 17 00:00:00 2001 From: jvergara <jvergara@localhost> Date: Thu, 17 Dec 2009 21:11:04 +0000 Subject: [PATCH] Fix for issue 3601 (Control Panel: unable to modify schema objects or attributes) --- opendj-sdk/opends/src/messages/messages/admin_tool.properties | 129 +++++++++++++++++++++++++++++++----------- 1 files changed, 95 insertions(+), 34 deletions(-) diff --git a/opendj-sdk/opends/src/messages/messages/admin_tool.properties b/opendj-sdk/opends/src/messages/messages/admin_tool.properties index eb26bc8..e054abd 100644 --- a/opendj-sdk/opends/src/messages/messages/admin_tool.properties +++ b/opendj-sdk/opends/src/messages/messages/admin_tool.properties @@ -1104,6 +1104,8 @@ INFO_CTRL_PANEL_DELETING_INDEX=Deleting index '%s' INFO_CTRL_PANEL_DELETING_VLV_INDEX=Deleting VLV index '%s' +INFO_CTRL_PANEL_CONFIRMATION_DELETE_SCHEMA_ELEMENTS_MSG=Are you sure you want \ + to delete the elements '%s' defined in the schema? INFO_CTRL_PANEL_DELETE_SCHEMA_ELEMENT_TASK_DESCRIPTION=Delete schema elements. INFO_CTRL_PANEL_DELETING_OBJECTCLASS=Deleting objectclass '%s' INFO_CTRL_PANEL_DELETING_ATTRIBUTE=Deleting attribute '%s' @@ -1113,11 +1115,16 @@ configuration. Details: %s MILD_ERR_CTRL_PANEL_ERROR_CHECKING_ENTRY=Error checking entry. Details: %s -INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_DELETE_SCHEMA_ELEMENT_OFFLINE=This operation \ - is equivalent to removing the following attribute from the schema definition \ - entry (cn=schema) in file '%s': -INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_DELETE_SCHEMA_ELEMENT_ONLINE=Equivalent \ -command line to update the schema: +INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_DELETE_ATTRIBUTE_OFFLINE=Deleting attribute \ + '%s' can also be done removing the following attribute from the schema \ + definition entry (cn=schema) in file '%s': +INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_DELETE_OBJECTCLASS_OFFLINE=Deleting object \ + class '%s' can also be done removing the following attribute from the schema \ + definition entry (cn=schema) in file '%s': +INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_DELETE_ATTRIBUTE_ONLINE=Equivalent \ +command line to delete attribute '%s': +INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_DELETE_OBJECTCLASS_ONLINE=Equivalent \ +command line to delete object class '%s': INFO_CTRL_PANEL_MODIFY_ENTRY_TASK_DESCRIPTION=Modify entry '%s'. INFO_CTRL_PANEL_RENAMING_ENTRY=Renaming entry '%s' to '%s' INFO_CTRL_PANEL_MODIFYING_ENTRY=Modifying entry '%s' @@ -1152,14 +1159,15 @@ INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_START_SERVER=Equivalent command line to \ start the server: INFO_CTRL_PANEL_SERVER_STOPPED=Server Stopped -INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_ADD_SCHEMA_ELEMENT_OFFLINE=This operation is \ - equivalent to adding the following attribute to the schema definition entry \ - (cn=schema) in file '%s': -INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_ADD_SCHEMA_ENTRY_OFFLINE=This operation is \ - equivalent to adding the following entry to the file '%s': -INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_ADD_SCHEMA_ELEMENT_ONLINE=Equivalent command \ - line to update the schema: - +INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_ADD_SCHEMA_ENTRY_OFFLINE=Adding the schema \ + elements '%s' can also be done adding the following entry to the file '%s': +INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_ADD_SCHEMA_ELEMENT_OFFLINE=Adding the schema \ + elements '%s' can also be done adding the following attributes to the \ + schema definition entry (cn=schema) in file '%s': +INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_ADD_ATTRIBUTE_ONLINE=Equivalent \ +command line to add attribute '%s': +INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_ADD_OBJECTCLASS_ONLINE=Equivalent \ +command line to add object class '%s': MILD_ERR_CTRL_PANEL_BACKEND_NOT_FOUND_SUMMARY=Could not find backend MILD_ERR_CTRL_PANEL_BACKEND_NOT_FOUND_DETAILS=The backend '%s' could not be \ found. Check main panel for more information. @@ -1608,7 +1616,7 @@ INFO_CTRL_PANEL_SCHEMA_ELEMENT_NAME=Name INFO_CTRL_PANEL_SCHEMA_ELEMENT_TYPE=Type -INFO_CTRL_PANEL_PARENT_CLASS=Parent Class +INFO_CTRL_PANEL_PARENT_CLASS=Superior Class INFO_CTRL_PANEL_CHILD_CLASS=Child Class INFO_CTRL_PANEL_REQUIRED_ATTRIBUTES=Required Attributes INFO_CTRL_PANEL_OPTIONAL_ATTRIBUTES=Optional Attributes @@ -1618,25 +1626,29 @@ INFO_CTRL_PANEL_CATEGORY_ITEM_SELECTED=Category Item Selected INFO_CTRL_PANEL_MULTIPLE_SCHEMA_ITEMS_SELECTED=Multiple Schema Items Selected -MILD_ERR_CANNOT_DELETE_PARENT_OBJECTCLASS=ObjectClass '%s' is superior of the \ - following classes: %s. You must redefine these classes so that they do not \ - inherit from objectClass '%s' before deleting it. -MILD_ERR_CANNOT_DELETE_PARENT_ATTRIBUTE=Attribute '%s' is superior of the \ - following attributes: %s. You must redefine these attributes so that they do \ - not inherit from attribute '%s' before deleting it. -MILD_ERR_CANNOT_DELETE_ATTRIBUTE_WITH_DEPENDENCIES=Attribute '%s' is optional \ - or required by the following objectClasses: %s. You must redefine these \ - classes so that they do not depend on attribute '%s' before deleting it. -MILD_ERR_CANNOT_MODIFY_PARENT_ATTRIBUTE=Attribute '%s' is superior of the \ - following attributes: %s. You must redefine these attributes so that they do \ - not inherit from attribute '%s' before modifying it. +INFO_OBJECTCLASS_IS_SUPERIOR=Object class '%s' is superior of the \ + following object classes: %s. If you continue, these object classes will be \ + updated with a new superior. +INFO_OBJECTCLASSES_ARE_SUPERIOR=The selected object classes are superior of \ + the following object classes: %s. If you continue, these object classes will \ + be updated with a new superior. +INFO_ATTRIBUTE_IS_SUPERIOR=Attribute '%s' is superior of the \ + following attributes: %s. If you continue, these attributes will be updated \ + with a new superior. +INFO_ATTRIBUTES_ARE_SUPERIOR=The selected attributes are superior of the \ + following attributes: %s. If you continue, these attributes will be updated \ + with a new superior. +INFO_ATTRIBUTE_WITH_DEPENDENCIES=Attribute '%s' is optional or required by the \ + following object classes: %s. If you continue, the definition of the object \ + classes will be modified. +INFO_ATTRIBUTES_WITH_DEPENDENCIES=The selected attributes are optional or \ + required by the following object classes: %s. If you continue, the \ + definition of the object classes will be modified. INFO_CTRL_PANEL_MANAGE_SCHEMA_TITLE=Manage Schema INFO_CTRL_PANEL_DELETE_OBJECTCLASSES_TITLE=Delete Objectclasses INFO_CTRL_PANEL_DELETE_ATTRIBUTES_TITLE=Delete Attributes INFO_CTRL_PANEL_DELETE_OBJECTCLASSES_AND_ATTRIBUTES_TITLE=Delete Objectclasses \ and Attributes -INFO_CTRL_PANEL_CONFIRMATION_DELETE_SCHEMA_ELEMENTS_DETAILS=Are you sure you \ - want to delete the elements '%s' defined in the schema? INFO_CTRL_PANEL_DELETING_SCHEMA_ELEMENTS_SUMMARY=Deleting... INFO_CTRL_PANEL_DELETING_SCHEMA_ELEMENTS_COMPLETE=Schema Definitions Deleted INFO_CTRL_PANEL_DELETING_SCHEMA_ELEMENTS_SUCCESSFUL=The schema elements '%s' \ @@ -1653,6 +1665,7 @@ INFO_CTRL_PANEL_DELETE_ATTRIBUTE_BUTTON=Delete Attribute... INFO_CTRL_PANEL_DELETE_ATTRIBUTE_TITLE=Delete Attribute +INFO_CTRL_PANEL_MODIFY_ATTRIBUTE_TITLE=Modify Attribute INFO_CTRL_PANEL_AUTHENTICATION_REQUIRED_FOR_ATTRIBUTE_DELETE=The server is \ running. You must provide authentication to delete the attribute. INFO_CTRL_PANEL_CONFIRMATION_DELETE_ATTRIBUTE_DETAILS=Are you sure you want to \ @@ -1663,13 +1676,30 @@ successfully deleted MILD_ERR_CTRL_PANEL_DELETING_ATTRIBUTE_ERROR_SUMMARY=Error deleting \ attribute -MILD_ERR_CTRL_PANEL_DELETING_ATTRIBUTE_ERROR_DETAILS=An error occurred deleting \ - attribute '%s'. Check details for more information. +MILD_ERR_CTRL_PANEL_DELETING_ATTRIBUTE_ERROR_DETAILS=An error occurred \ + deleting attribute '%s'. Check details for more information. +INFO_CTRL_PANEL_MODIFYING_ATTRIBUTE_SUMMARY=Modifying attribute '%s'... +INFO_CTRL_PANEL_MODIFYING_ATTRIBUTE_COMPLETE=Attribute Modified +INFO_CTRL_PANEL_MODIFYING_ATTRIBUTE_SUCCESSFUL=The attribute '%s' was \ + successfully modified +MILD_ERR_CTRL_PANEL_MODIFYING_ATTRIBUTE_ERROR_SUMMARY=Error modifying \ + attribute +MILD_ERR_CTRL_PANEL_MODIFYING_ATTRIBUTE_ERROR_DETAILS=An error occurred \ + modifying attribute '%s'. Check details for more information. + +INFO_CTRL_PANEL_MODIFYING_OBJECTCLASS_SUMMARY=Modifying object class '%s'... +INFO_CTRL_PANEL_MODIFYING_OBJECTCLASS_COMPLETE=Object Class Modified +INFO_CTRL_PANEL_MODIFYING_OBJECTCLASS_SUCCESSFUL=The object class '%s' was \ + successfully modified +MILD_ERR_CTRL_PANEL_MODIFYING_OBJECTCLASS_ERROR_SUMMARY=Error modifying \ + object class +MILD_ERR_CTRL_PANEL_MODIFYING_OBJECTCLASS_ERROR_DETAILS=An error occurred \ + modifying object class '%s'. Check details for more information. INFO_CTRL_PANEL_DELETE_OBJECTCLASS_BUTTON=Delete Object Class... INFO_CTRL_PANEL_DELETE_OBJECTCLASS_TITLE=Delete Object Class -INFO_CTRL_PANEL_AUTHENTICATION_REQUIRED_FOR_OBJECTCLASS_DELETE=The server is \ - running. You must provide authentication to delete the object class. +INFO_CTRL_PANEL_AUTHENTICATION_REQUIRED_FOR_OBJECTCLASS_EDIT=The server is \ + running. You must provide authentication to edit the object class. INFO_CTRL_PANEL_CONFIRMATION_DELETE_OBJECTCLASS_DETAILS=Are you sure you want \ to delete the object class '%s' defined in the schema? INFO_CTRL_PANEL_DELETING_OBJECTCLASS_SUMMARY=Deleting object class '%s'... @@ -2073,7 +2103,19 @@ MILD_ERR_CTRL_PANEL_EMPTY_ALIAS=You have provided an empty alias. MILD_ERR_CTRL_PANEL_ALIAS_ALREADY_IN_USE=The provided alias '%s' \ already exists in the schema (defined as %s). +MILD_ERR_NON_MODIFIABLE_CANNOT_BE_USER_APPLICATIONS=Non Modifiable attributes \ + must have an operational usage. +MILD_ERR_CTRL_PANEL_ATTRIBUTE_CANNOT_BE_ITS_SUPERIOR=An attribute cannot be \ + its own superior. +MILD_ERR_CTRL_PANEL_OBJECTCLASS_CANNOT_BE_ITS_SUPERIOR=An object class cannot \ + be its own superior. +MILD_ERR_CTRL_PANEL_OBJECTCLASS_IS_SUPERIOR_OF_SUPERIOR=The object class is \ + superior (directly or indirectly) of '%s'. +MILD_ERR_CTRL_PANEL_ATTRIBUTE_IS_SUPERIOR_OF_SUPERIOR=The attribute is \ + superior (directly or indirectly) of '%s'. INFO_CTRL_PANEL_CREATING_ATTRIBUTE_SUMMARY=Creating attribute '%s'... +INFO_CTRL_PANEL_UPDATING_SCHEMA_FILE_PROGRESS=Adding schema elements to schema \ + file '%s'... INFO_CTRL_PANEL_CREATING_ATTRIBUTE_COMPLETE=Attribute created in schema INFO_CTRL_PANEL_CREATING_ATTRIBUTE_SUCCESSFUL=The attribute '%s' was \ successfully created. @@ -2104,9 +2146,28 @@ INFO_CTRL_PANEL_DEFAULT_DEFINED_IN_SYNTAX=- Default defined in syntax (%s) - INFO_CTRL_PANEL_NEW_ATTRIBUTE_TASK_DESCRIPTION=Create new attribute '%s' in \ schema. +INFO_CTRL_PANEL_NEW_ATTRIBUTES_TASK_DESCRIPTION=Creating new attributes '%s' \ + in schema. +INFO_CTRL_PANEL_NEW_OBJECTCLASSES_TASK_DESCRIPTION=Creating new object classes \ + '%s' in schema. +INFO_CTRL_PANEL_NEW_SCHEMA_ELEMENTS_TASK_DESCRIPTION=Creating attributes '%s' \ + and object classes '%s' in schema. +INFO_CTRL_PANEL_EXPLANATION_TO_MODIFY_ATTRIBUTE=To modify attribute '%s' it \ + will be deleted and then recreated. The same applies to all the schema \ + elements that have references to it. +INFO_CTRL_PANEL_EXPLANATION_TO_MODIFY_OBJECTCLASS=To modify object class '%s' \ + it will be deleted and then recreated. The same applies to all the schema \ + elements that have references to it. +INFO_CTRL_PANEL_EXPLANATION_TO_DELETE_REFERENCED_ELEMENTS=To modify \ + references to the deleted attributes and object classes the schema elements \ + that refer to them must be deleted and then added again. INFO_CTRL_PANEL_CREATING_ATTRIBUTE_PROGRESS=Creating attribute '%s' +INFO_CTRL_PANEL_MODIFY_ATTRIBUTE_TASK_DESCRIPTION=Modify attribute '%s' in \ + schema +INFO_CTRL_PANEL_MODIFY_OBJECTCLASS_TASK_DESCRIPTION=Modify object class '%s' \ + in schema INFO_CTRL_PANEL_ATTRIBUTE_NAME_LABEL=Name: -INFO_CTRL_PANEL_ATTRIBUTE_PARENT_LABEL=Parent: +INFO_CTRL_PANEL_ATTRIBUTE_PARENT_LABEL=Superior: INFO_CTRL_PANEL_ATTRIBUTE_OID_LABEL=OID: INFO_CTRL_PANEL_ATTRIBUTE_ALIASES_LABEL=Aliases: INFO_CTRL_PANEL_ATTRIBUTE_ORIGIN_LABEL=Origin: @@ -2274,7 +2335,7 @@ in schema. INFO_CTRL_PANEL_CREATING_OBJECTCLASS_PROGRESS=Creating object class '%s' INFO_CTRL_PANEL_OBJECTCLASS_NAME_LABEL=Name: -INFO_CTRL_PANEL_OBJECTCLASS_PARENT_LABEL=Parent: +INFO_CTRL_PANEL_OBJECTCLASS_PARENT_LABEL=Superior: INFO_CTRL_PANEL_OBJECTCLASS_OID_LABEL=OID: INFO_CTRL_PANEL_OBJECTCLASS_ALIASES_LABEL=Aliases: INFO_CTRL_PANEL_OBJECTCLASS_ORIGIN_LABEL=Origin: -- Gitblit v1.10.0