Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1548] renaming index breaks the app

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2017-04-10T04:02:09.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterILAY SENER
AssigneeFeon Sua Xin Miao
Created2017-03-14T05:43:47.000+0000
Updated2017-04-11T16:44:13.000+0000

Description

Comments

  1. Feon Sua Xin Miao 2017-03-14

    [~isener], what do you have in the new index.xml and index.js? These works for me.
       <Alloy>
       	<Window class="container">
       	</Window>
       </Alloy>
       
       $.index.open();
       
  2. ILAY SENER 2017-03-14

    just a simple label and background colour for the window... index.xml index.js $.index.open(); *) index -> old (using Studio's 'rename' option). *) create new index.js/xml/tss from Studio. *) WOuld be good to have 'refactor' option, where all relevant files updated automatically, so are the references, but this is a separate concern. How did you
  3. Feon Sua Xin Miao 2017-03-14

    [~isener], I still can't reproduce it. Can you upload the debug output, and also try clean the project.
  4. ILAY SENER 2017-04-10

    I have this working. Not sure if I have missed something when the error/issue was generated. It is possible that I might have just created a controller, but didn't add into the new index.xml file. Please close this.

JSON Source