Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Outdated
-
None
-
None
-
None
Description
Reproduction scenario:
1- Login into the CMS
2- From the 'Browse' perspective go to 'Configuration'
3- Create a new compound/document type
4- From the 'Mixins' section choose any type, 'Taggable' for example
5- Delete property you just added a log message is displayed on the screen
[INFO] [talledLocalContainer] 01.02.2013 14:08:28 WARN [org.hippoecm.frontend.editor.builder.TemplateBuilder.getJcrNodeType():987] Could not retrieve node type 'hippogogreen:blablabla'. Maybe it is not saved yet. javax.jcr.nodetype.NoSuchNodeTypeException:
{http://www.onehippo.org/jcr/hippogogreen/2.0}justfortest
Details:
-----------
- Currently in 'org.hippoecm.frontend.editor.builder.TemplateBuilder#getJcrNodeType' I catch the 'NoSuchNodeTypeException' which happens if the type being edited is not committed yet
- That solves the problem but not good enough
- It would be much better if we can determine if the type being edited is committed yet
Hints:
--------
- Look at code in:
- editor/common/src/main/java/org/hippoecm/editor/model
- editor/common/src/main/java/org/hippoecm/editor/repository
- editor/repository/src/main/java/org/hippoecm/editor/repository/impl/EditmodelWorkflowImpl.java
Attachments
Issue Links
- is a result of
-
CMS-6185 in document type editor, it is impossible to delete classifiable and taggable once added
- Closed