Titanium JIRA Archive
Appcelerator Community (AC)

[AC-947] Controllers without views cannot be used as base controllers

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2015-09-17T06:46:19.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Titanium SDK & CLI
LabelsTCSupportTriage, alloy, compile, controller, view
ReporterBrenton House
AssigneeShak Hossain
Created2014-09-22T18:03:40.000+0000
Updated2017-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.

Comments

  1. Tim Poulsen 2015-02-11

    [~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.
  2. Brenton House 2015-02-11

    I will take a look at it. Thanks!

JSON Source