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

Changing template of component to Link/Teaser breaks the layout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce

      1. Go to Demo and open Pages-app
      2. Create/edit a page
      3. Create a component which doesn't have a link (as HTML, textAndImage, Image...)
      4. Click on the component and choose "Change template"
      5. Select "Link" or "Teaser"
      6. Check the layout breaks and no default option (page, external, download) are selected
      7. Once you fulfill the required fields, the error disappearĀ 

      Expected results

      The Link/Teaser component behaves as when you create a new component instead of changing the template. It must:

      1. Select by default the "Page" option within the Link Type field
      2. Not break the UI

      Actual results

      The opposite mentioned above

      Workaround

      N/A

      Development notes

      N/A

      Checklists

        Acceptance criteria

        Attachments

          1. change-template.png
            change-template.png
            209 kB
          2. error.png
            error.png
            399 kB

          Issue Links

            Activity

              People

                Unassigned Unassigned
                ccantalapiedra Carlos Cantalapiedra
                AuthorX
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Bug DoR
                    Task DoD