1

我正在尝试为 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 后,我也会收到错误“节点不可分类”。

4

1 回答 1

3

您能在 .cnd 导出中查看 myhippoproject 的命名空间吗localhost:8080/cms/console?它有没有说明'hippotaxonomy:classifiable'你的文档类型?如果没有,您很可能需要从一个干净的存储库开始(当然在您重建项目之后)

于 2012-06-20T19:14:38.040 回答