Uploaded image for project: 'Magnolia Personalization'
  1. Magnolia Personalization
  2. MGNLPN-432

Trait picker dialog throws exception and is partially broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 1.6.2
    • None
    • None
    • None

    Description

      While rendering the "Pick trait" dialog - an exception is thrown.

      To reproduce, method 1:

      1. Open the Pages app.
      2. Select a variant of the /travel/contact page and click the Choose audience action.
      3. Pick a trait and close the dialog. --> Exception thrown. 

      To reproduce, method 2:

      1. On the preview app while adding traits

      Caused by: java.lang.ClassCastException: info.magnolia.ui.dialog.DialogComponent cannot be cast to com.vaadin.ui.SingleComponentContainer

      See stacktrace(s): https://goo.gl/Y9Ui7t, https://goo.gl/X3haqQ

      On (1) - during the choose audience - you can pick the first trait, choose its value. 
      But from now on you cannot pick additional traits.
      Use the button pick to save the first trait and restart the choose audience procedure for the 2nd trait.

      -On (2) - on the preview app, the layout has issues and the preview app is "damaging" the layout of the shell, but that's another issue, see screenshot preview-app-traits.png.-  MGNLPN-431

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              rkovarik Roman Kovařík
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 0.5h
                    0.5h