Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6101

N2B doesn't support multi-value properties

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • node2bean
    • None

    Description

      I've attempted to develop a custom trait which is basically an enum. For example:

      flintstonemember

      { fred, wilma, barney, betty, pebbles, bambam }

      For the field definition I'm using the OptionGroupFieldDefinition . This definition is pretty basic and configured as followed:

      • trait.rule: multiselect = true
      • trait.value: multiselect = false

      The next step is to create a page variant and choose an audience. Selecting the custom trait flintstonemember now allows me to select multiple values (as multiselect = true).
      Doing so causes a failure within the Node2Bean component which leads to the attached stacktrace.

      The bottom line is that the translation of Node2Bean cannot deal with multiple values (I already talked to Ondrej about it).

      Even though I know how to get around this I consider this an error due to the fact that I don't do anything weird here.

      Please confirm this issue or explain why I'm wrong in such a basic scenario.

      Best regards

      Daniel Kasmeroglu

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              daniel.kasmeroglu Daniel Kasmeroglu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD