mehran
22 Aug 2012, 2:22 AM
REQUIRED INFORMATION
Architect Build tested:
Build: 588
Project Type:
ExtJS 4.1.x
Description:
I have a huge project that I was working on with the SA 2. Some of the components in my project were overridden. Now that I've upgraded to SA 2.1, the components which are overridden can not be opened. I investigated the code a lot and found that such components are requiring their own overriding classes. It's worth mentioning that this problem is not reproducible in a project that is created in SA 2.1 from start. That's why I have attached a sample project to demonstrate the bug.
Steps to reproduce the problem:
** Please keep in mind that this scenario is applicable in projects which are upgraded from SA 2. Such a project is attached.
In Sencha Architect 2.1, drag and drop a window to the views folder.
Create an override for the window.
The created override is empty, try to add something to it.
Go back to "Generated Class" code and you shall see the troublesome "requires" statement.
The result that was expected:
The overridden class needs not to require the overriding class.
The result that occurs instead:
There's an automatically generated "requires" statement in the overridden class which prevents the code to be executed. It's impossible to remove this "requires" statement and have the class overridden.
HELPFUL INFORMATION
Screenshot, Project, or Video:
Sample upgraded project from SA 2: 38181
Possible fix:
not provided
Operating System:
Ubuntu 12.04
Architect Build tested:
Build: 588
Project Type:
ExtJS 4.1.x
Description:
I have a huge project that I was working on with the SA 2. Some of the components in my project were overridden. Now that I've upgraded to SA 2.1, the components which are overridden can not be opened. I investigated the code a lot and found that such components are requiring their own overriding classes. It's worth mentioning that this problem is not reproducible in a project that is created in SA 2.1 from start. That's why I have attached a sample project to demonstrate the bug.
Steps to reproduce the problem:
** Please keep in mind that this scenario is applicable in projects which are upgraded from SA 2. Such a project is attached.
In Sencha Architect 2.1, drag and drop a window to the views folder.
Create an override for the window.
The created override is empty, try to add something to it.
Go back to "Generated Class" code and you shall see the troublesome "requires" statement.
The result that was expected:
The overridden class needs not to require the overriding class.
The result that occurs instead:
There's an automatically generated "requires" statement in the overridden class which prevents the code to be executed. It's impossible to remove this "requires" statement and have the class overridden.
HELPFUL INFORMATION
Screenshot, Project, or Video:
Sample upgraded project from SA 2: 38181
Possible fix:
not provided
Operating System:
Ubuntu 12.04