View Full Version : [FIXED] Phantom method in my controllers....
12 Mar 2012, 9:26 PM
I have no idea how this happened but two of my controllers haves a "phantom" method called "onControllerChangeStub":
For now is just a little bit annoying because cant remove.
I know that messign with metadata files is dangerous but I guess the only way I can remove is editing those files.
Or this method is automatically generated by Designer because some property?
13 Mar 2012, 11:03 AM
We consolidated a lot of the code that does source code generation when we implemented the ability to override.
In Ext 4, when we handle multiple methods that are bound to the same event name we must generate a "Stub" method for the views. This allows us to use the object syntax, ie:
However, because in controllers they are bound to specific controlQuery's this should not be required. We will review and fix this bug, however it is a non-priority given that it does not break any functionality.
13 Mar 2012, 11:25 AM
I can live with that dead code.
13 Jun 2012, 5:57 AM
We have fixed the cause of the bug but this doesn't remove the phantom methods. Please send your project and I'll be happy to remove them for you. Likely I'll just be hand editing the metadata file.
Powered by vBulletin® Version 4.1.5 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.