Modify an existing node type

REQ-181

Actors

Name

Modifying an existing node type is similar to creating a new node type. Again, you will use the create node use case and the create node control.

However, you should be aware, that only trivial modifications to a node type can be done this way. A trivial modification is a modification, that can be done without considering the content of the repository. For instance, it is possible to add a new non mandatory property to the node type, but it is not possible to remove such a property. The latter action could leave the repository in an inconsistent state. So for non trivial node type modifications, you will get an error message.

You can bypass such checks, if you shutdown the repository and modify the node type configuration manually, i.e. modify the file tomcat installation/nodes/repository-1.0/repository/nodetypes/custom_nodetypes.xml. However, you should be aware, that this may set the repository in an inconsistent state. At least, you should discard all nodes conflicting with the new node type definition before modifying the configuration manually.