Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1526] Special text property value is not parsed correctly

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-10-27T03:37:34.000+0000
Affected Version/salloy 1.9.2
Fix Version/sRelease 6.0.0, Release 6.1.0
ComponentsTooling
Labelsqe-6.0.0
Reporterkreutzer
AssigneeFeon Sua Xin Miao
Created2016-10-07T07:14:51.000+0000
Updated2016-10-27T20:22:17.000+0000

Description

In the new version we found an error... We get a compiler error. This is caused in the XML file by text="#js:dtgL('report46')" Fun fact when i build the project via command line : ti build —platform ios it works... so it has to be something in the Studio itsself

Attachments

FileDateSize
Screen Shot 2016-10-05 at 11.26.07.png2016-10-07T07:13:13.000+000054231
test2.zip2016-10-11T09:44:47.000+00006969384

Comments

  1. Sharif AbuDarda 2016-10-08

    Hello, please share the full code of the xml file. We need to see where and how you are using the text property. Thanks.
  2. kreutzer 2016-10-11

    I attached a complete example... I had to delete some icons because of the 10MB restriction.
  3. kreutzer 2016-10-12

    My comment was invalid... i got a successfull build but can not install it on a device. Also the launch in simulator is not possible. When i use the verion 5.4.0 i am able to build, but not start When i use 5.5.1 the compiler is aborting the operation. :(
  4. kreutzer 2016-10-24

    Did we make any progress on this? I am able to launch the simulator via terminal. But i need to profle my app to see the bottle necks in my app. Further i am not able to package my app into a new .ipa
  5. kreutzer 2016-10-26

    Hi hope your all well. I need to make progress on this. I getting in real trouble if i can not deliver any app in the next days.
  6. Feon Sua Xin Miao 2016-10-26

    PR: https://github.com/appcelerator/alloy/pull/800 *To Test* 1. Create an app, update index.xml with <Label text="#js:dtgL('report46')"></Label> 2. Run the app, there should be no alloy compilation error.
  7. Chee Kiat Ng 2016-10-27

    Might need to backport this for 6_0_X appc-cli.
  8. Feon Sua Xin Miao 2016-10-27

    For backport, we need to merge the PR then update app-cli.
  9. Chee Kiat Ng 2016-10-27

    ok PR merged :)
  10. Feon Sua Xin Miao 2016-10-27

    alloy@1.9.4 is included in 6.0.0-67.
  11. kreutzer 2016-10-27

    Brilliant, but a small question how do i get the mentioned version?
  12. Chee Kiat Ng 2016-10-27

    [~kreutzer] that's a pre-release that will be released next monday (PST). It's coupled with the 6.0.0 RC release. you can get it by doing this in command line appc use 6.0.0-67 by then. Or you can get the GA version when it's released later in November 10. you just have to do appc use latest
  13. Josh Longton 2016-10-27

    Verified as fixed; Special text is now parsed correctly and the app builds successfully. *ENV* {noformat} MacOS 10.12 android emulator (6.0, 4.4.2) Nexus 5X (6.0) Ti SDK 6.0.0.v20161026195651 Studio 4.7.1.201609100950 Appc NPM 4.2.8-9 Appc CLI 6.0.0-66 Alloy 1.9. Node 4.4.7 {noformat} *Closing*

JSON Source