Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10713

[SearchTool] Wrong display of content enumerator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.0, 4.7.11
    • 4.3.12, 4.4.0
    • None
    • None

      I have an enumerator typed for Content, and on displaying the result of this enumerator in a search (normal or Solr), I get the label [object Object] instead of a link (or at least the title) of the content.

      I get this in JSON:

      "etapePorteuse": {
          "label": "[K543NBUB] L2 Math\u00e9matiques",
          "value": {
              "isSimple": false,
              "id": "container://9ec55e9c-0a5c-473d-b3a3-b1762bc441c6",
              "title": "L2 Math\u00e9matiques"
          }
      }

      Where a String enumerator result is like this:

      "catalog": {
          "label": "Catalogue 2013-2017",
          "value": "2013-2017"
      },

      You can test with the field etapePorteuse of courses in the ODF environment.

            Unassigned Unassigned
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: