Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-12378

Unable to create multi-values prop from derived data functions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 13.4.2
    • 13.4.3, 14.1.1, 14.2.0, 100.4.0
    • None
    • Flagged
    • Pulsar
    • Pulsar 233 - Maintenance

    Description

      Using a derived data to set some props of documents, it's not possible set multi-valued property when the property is not present before the derived function runs.

      Doing:
      parameters.put(ATTR_KEYS, returnedValues);
      where “ATTR_KEYS” is the name of the prop and “returnedValues” is an array of Value objects, if the prop is already present, it’s work, but when not present, the derived function try to create it but with single-valued, and store only the first element of the array.

      Docs about derived data: https://documentation.bloomreach.com/library/concepts/content-repository/derived-data.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            elucidi Enzo Lucidi
            Hippo Helpdesk Hippo Helpdesk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: