Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-1742

Provide faceted search configuration for target Platform 5.6 + documentation

    XMLWordPrintable

    Details

    • 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

      Description

      (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>

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified