-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 2.13
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Content Views
-
Environment:5.6-HF23
-
Tags:
-
Backlog priority:500
-
Sprint:Sprint 1, Sprint 2, Sprint 3
(Note: this issue is actually related to the "Studio" project)
Original report is here: http://answers.nuxeo.com/questions/6527/cant-save-search-due-to-unknown-type-faceted_search_default_cv
The problem is that content views with the "Faceted search" checkbox enabled are contributed with code like:
<doctype name="faceted_search_default_cv" extends="FacetedSearch">
<facet name="FacetedSearch"/>
<facet name="HiddenInNavigation"/>
<schema name="faceted_search_default_cv"/>
</doctype>
Since the XML refers to FacetedSearch which is declared nowhere, the doctype registration is postponed until after the SQL Model is initialized. As a consequence, no persistence of these types is possible, thus breaking the ability to save searches.
This can be fixed by declaring the FacetedSearch facet:
<extension point="doctype" target="org.nuxeo.ecm.core.schema.TypeService">
<facet name="FacetedSearch" />
</extension>
- depends on
-
NXDOC-169 Add documentation for faceted search changes on 5.7/5.8
- Resolved