You found a bug! We've classified it as TOUCH-3849 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    39
    Vote Rating
    1
    P.verbrugge is on a distinguished road

      0  

    Default "Initialize" not called when converted to controller action

    "Initialize" not called when converted to controller action


    Found a problem.

    Create a panel, and bind an "initialize" event to it. In the even set a console.log that outputs data to the console. Start the app and you see the console output.

    Now, convert that action to a controller action. Keep the console.log output. Restart the app and look at the console. There will be no output.

    Seems like the initialize function is not called as soon as it converted to a controller action. This happends when the object is hidden!

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,142
    Vote Rating
    855
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1