[AC-947] Controllers without views cannot be used as base controllers
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Resolved |
| Resolution | Needs more info |
| Resolution Date | 2015-09-17T06:46:19.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Alloy, Titanium SDK & CLI |
| Labels | TCSupportTriage, alloy, compile, controller, view |
| Reporter | Brenton House |
| Assignee | Shak Hossain |
| Created | 2014-09-22T18:03:40.000+0000 |
| Updated | 2017-02-07T23:30:50.000+0000 |
Description
A base controller that is created without a view does not get copied to the build folder and thus gets an error when Alloy goes to apply properties to that object.
A workaround is to provide an simple view with an empty Alloy tag.
[~brentonhouse] I just spotted this old ticket. Have you tried with a recent Alloy version? We did make some changes in 1.5.1 that might relate. If you could, would you attach a sample project to make it easier to test? If it's still valid, I'll move to the Alloy project so that we can take a look at it.
I will take a look at it. Thanks!