Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30679

[Custom attributes] Default attributes for LI elements are not set after changes in previous LI

    XMLWordPrintable

    Details

      Description

      description

      Default attributes for LI elements are not set after changes made in previous LI element.

      prerequisites

      `ezplatform.yml` custom attributes configuration:

                             li:
                                  'select-single-attr-li':
                                      type: 'choice'
                                      multiple: false
                                      required: true
                                      choices: ['value1-li', 'value2-li']
                                      default_value: 'value2-li'
                                  'boolean-attr':
                                      type: 'boolean'
                                      default_value: true

      steps

      1. Create a new article
      2. Add new unnumbered list to richtext
      3. Write the first point, open attributes window, save default attributes
      4. Add the second point, open attributes window, select non-default values, save
      5. Add the third point, open attributes window

      expected result

      1. attributes are filled with default values

      actual result

      1. attributes are filled with previously selected values

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maciej.tyrala@ez.no Maciej TyraƂa
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: