我正在尝试为 cms 安装分类法和分类法选择器插件。
我的命名空间文件夹中有以下 cnd 文件:
myhippoproject.cnd:
<'myhippoproject'='http://www.onehippo.org/myhippoproject/nt/1.0'>
<'hippo'='http://www.onehippo.org/jcr/hippo/nt/2.0.2'>
<'hippostd'='http://www.onehippo.org/jcr/hippostd/nt/2.0'>
<'hippostdpubwf'='http://www.onehippo.org/jcr/hippostdpubwf/nt/1.0'>
<'hippotaxonomy'='http://www.hippoecm.org/hippotaxonomy/nt/1.2'>
[myhippoproject:basedocument] > hippo:document, hippostd:publishableSummary,
hippostdpubwf:document orderable
[myhippoproject:textdocument] > myhippoproject:basedocument,
hippostd:relaxed, hippotaxonomy:classifiable
[myhippoproject:newsdocument] > myhippoproject:basedocument,
hippostd:relaxed
据我了解,textdocument 应该在生成时继承 myhippoproject:basedocument、hippostd:relaxed 和 hippotaxonomy:classifiable。但是,当我构建项目并浏览到 localhost:8080/cms/console 并查看 myhippoproject 下的 textdocument 节点时,没有勾选这 3 个的 mixins。
即使在我手动勾选了可分类的 mixin 后,我也会收到错误“节点不可分类”。