#311 control ID rename (severe)

open
nobody
None
9
2009-06-14
2009-06-14
Shula Ha-Mokshim
No

Once a control is created, changing its ID from the inspector only changes the ID in the declaration (creation) code.
Therefore, Boa leaves all other references to the control inaccessible/zombie.
Boa must at least inform the users they need to make the relevant changes manually.

Immediate solution: Inform the user

Possible fix: in case of an ID change, replace all occurrences of the ID in the module (the whole project?).
If the new ID already being used for another control (from what Boa knows, not , cancel and inform the user.

Discussion

  • this bug is severe - in case of ID rename, the bound method simply stops working, without any exception raised or error reported, and the programmer can't tell why it doesn't work..

     
    • priority: 5 --> 9