Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-987

Nested @Templated beans that aren't Composite or IsElement have incorrect Widget hierarchy

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 4.0.0.Beta3
    • Fix Version/s: 4.0.0.Beta4
    • Component/s: ErraiUI
    • Labels:
      None

      Description

      I have been chasing an Errai 4 failure, for which I finally can produce stack trace - I have attached stack trace image and generated code.

      The forum reference with more details is here:
      https://developer.jboss.org/thread/272402

      My code is no longer using widgets, so this maybe E4 internal stuff.

      Sugested fix: shouldn't you check with Windget.isAttached() just in case before the atach/detach calls?

        Gliffy Diagrams

          Attachments

          1. Capture.PNG
            Capture.PNG
            136 kB
          2. Capture1.PNG
            Capture1.PNG
            84 kB
          3. for_max_barkley.zip
            4.60 MB
          4. gen.zip
            248 kB

            Activity

              People

              • Assignee:
                mbarkley Max Barkley
                Reporter:
                hr.stoyanov Hristo Stoyanov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: