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

maxComponents property causes editing capabilities to become disabled when max is reached

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 4.5.9
    • 4.5.8
    • templating
    • None

    Description

      When the property maxComponents is used it can cause components to become un-editable. Meaning, the edit bar is not shown.

      Here are some steps to recreating this issue on the demo site:

      1. Add the maxComponents here: config:/modules/standard-templating-kit/templates/components/features/stkFAQ/areas/faqItems[maxComponents] = 1
      2. Load http://demoauthor.magnolia-cms.com/demo-project/service/faq.html

      It appears that when the number of components reaches the maximum not only is the new component option disabled but also the edit options are disabled.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                rgange Richard Gange
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD