Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-804

Exception: "Failed to mount: Cannot call method 'inAccordionMold' of undefined"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.10
    • Fix Version/s: 6.0.0, 5.0.11
    • Component/s: Components
    • Labels:

      Description

      The exception: "Failed to mount: Cannot call method 'inAccordionMold' of undefined" appears when you try to build a Tabbox and its contents in two steps: the tabbox when the application runs and its content when an event happens.

      See the example code here: http://zkfiddle.org/sample/16ruij2/2-Cannot-call-method-inAccordionMold-of-undefined
      When the button is clicked, the exception appears. It won't happen if you change ZK version to 5.0.9.

      Finally, a workaround for this is: http://zkfiddle.org/sample/16ruij2/3-Cannot-call-method-inAccordionMold-of-undefined
      If the Tabpanels component is added in the first step and not in the second, the error doesn't happen.

        Attachments

          Activity

            People

            Assignee:
            SimonPai SimonPai
            Reporter:
            jaragunde jaragunde
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: