This bug is to address a problem in that Platform/Server/Service resource type names are not required to be unique. Uniqueness is enforced on a appdef type basis, i.e. no 2 Platform types/Server types or Service types may have the same name. However nothing prevents a Server type and a Service type from having the same name.
The result is we get Hibernate exceptions when looking up resources by type since it's assumed they WILL be unique.
Proposed fix is to check uniqueness on plugin deployment, aborting the deployment if a duplicate name is found.