Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1817 in Architect 2.1.
  1. #1
    Touch Premium Member pkellner's Avatar
    Join Date
    Sep 2008
    Location
    San Jose, California
    Posts
    447
    Vote Rating
    1
    pkellner is on a distinguished road

      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
    8,191
    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


    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
    447
    Vote Rating
    1
    pkellner is on a distinguished road

      0  

    Default


    you are shaming me into proper bug reporting!