Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-450

Writable property doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Neutral Neutral
    • None
    • 6.2.8
    • None

      Steps to reproduce

      1. Create a test page with basic template and add an html component with some content
      2. Modify the html component definition to add writable: false in }}{{/mtk/templates/components/html.yaml
      3. Go to pages-app and open the page created in step 1 and select the html component
      4. Add a new html component

      Expected results

      According to the purpose of the writable property: 

      Determines if component can be edited. Set to false to prevent editors editing the component.{quote}

      So in step 3, the component cannot be edited whereas in step 4 you shouldn't be able to add any value

      Actual results

      The edit icon from the component bar disappears accordingly but edit component action in the action bar remains available so actually editors can edit the component. When creating a new component in step 4, value can also be assigned.

       

        Acceptance criteria

              jpetras Jakub Petras
              jayala Jonathan Ayala
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD