Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1817 in a recent build.
  1. #1
    Touch Premium Member pkellner's Avatar
    Join Date
    Sep 2008
    Location
    San Jose, California
    Posts
    802
    Vote Rating
    23
    pkellner will become famous soon enough pkellner will become famous soon enough

      0  

    Default Duplicating a button with a handler on a toolbar does not rename function

    Duplicating a button with a handler on a toolbar does not rename function


    if you have a button on a toolbar that has a handler assigned to it, then you duplicated that button, you end up creating two identical handlers (same name). the designer should either warn you and prompt you do change the name or not let you do it if a handler is there. (IMHO of course)

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,413
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Thanks for the bug report Peter.

    Steps to reproduce:
    Create an Architect Project
    Choose Ext or Touch
    Add a Toolbar
    Put a button in the toolbar
    add an event handler to the button
    Duplicate the button

    The event handler name is the same in both buttons.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Touch Premium Member pkellner's Avatar
    Join Date
    Sep 2008
    Location
    San Jose, California
    Posts
    802
    Vote Rating
    23
    pkellner will become famous soon enough pkellner will become famous soon enough

      0  

    Default


    you are shaming me into proper bug reporting!

Thread Participants: 1