Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1539 in Architect 2.0.
  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    36
    Vote Rating
    0
    ikim is on a distinguished road

      0  

    Default Error on Event Listeners Build 311

    Error on Event Listeners Build 311


    I'm getting the following errors in designer in the latest build (311) where I wasn't before. I have a valid fn set, not sure what the 2nd part means (match a configuration). Can someone please clarify?

    "A valid function must have fn set. In addition, a function of a non top level component must match a configuration."

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,185
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    Touch has a requirement that basic functions which are added must either be added at the top level component or if they are a configuration of that component.

    This rule does not apply to event bindings. It is a bug on our part to show this as an error. Your code will continue to work fine and you can treat this as a warning.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha - Architect Dev Team dfoelber's Avatar
    Join Date
    Sep 2011
    Location
    Rockville, MD
    Posts
    93
    Vote Rating
    10
    dfoelber will become famous soon enough

      0  

    Default


    Hi,

    The warning has been fixed and will be included in the next autoupdate.
    David Foelber
    @davidfoelber
    Sencha Architect Development Team