Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12605] Android: No error comes, when guid is not present in tiapp.xml

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-10-19T01:22:15.000+0000
Affected Version/sRelease 3.0.0, Release 3.0.2, Release 3.1.0
Fix Version/s2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0
ComponentsAndroid, Tooling
Labelsandroidbuild, ay-verified, cb-verified, cli, qe-sdk3.0.2, qe-testadded
ReporterParas Mishra
AssigneeChris Barber
Created2013-02-06T12:31:26.000+0000
Updated2014-06-19T12:43:09.000+0000

Description

Android: No error comes, when guid is not present in tiapp.xml Its not a regression. Tested on google nexus, android version: 4.1 Steps to reproduce: 1. Comment out guid in tiapp.xml in default titanium project. 2. Reach out to the project directory in terminal. 3. Run titanium build -T device Actual: No error comes and app installs on device. Expected: ERROR] : tiapp.xml is missing the element The guid must be in the format XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX and consist of letters and numbers.

Comments

  1. jithinpv 2013-03-15

    Issue reproduces with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 (03/11/13 15:43 0c88429) Titanium SDK version: 3.0.2 (02/07/13 16:46 a4def81) Device: Samsung galaxy s duos Android version: 4.0.4 jithinpv
  2. Chris Barber 2013-08-07

    Tested this with 3.1.1.GA and it properly errors out when there isn't a guid or the guid is bad. I looked at the 3.1.0.GA code and it looks fine too.
  3. Allen Yeung 2013-10-19

    PR: https://github.com/appcelerator/titanium_mobile/pull/4781
  4. Samuel Dowse 2013-11-06

    +Verified fixed on:+ Mac OSX 10.9 Mavericks Titanium Studio, build: 3.2.0.201311060354 Titanium SDK, build: 3.2.0.v20131105162443 CLI: 3.2.0 Alloy: 1.3.0 +*Produced the error message:*+ If you need a new guid, below are 5 freshly generated new ones that you can choose from: {color:red} [ERROR] : tiapp.xml is missing the element [ERROR] : The guid must be in the format XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX and consist of letters and numbers. e69346ba-0be5-488b-ac6a-b918d11b73ac ace13b18-5611-4004-969e-f4cf3b4f63b6 11241dfd-b91e-4b5b-bda5-200ee71e664a e3d4f433-2465-4c20-9e25-07262a61d586 4d1a9144-c136-430e-8998-e6d876aaaf9a [ERROR] Application Installer abnormal process termination. Process exit value was 1{color} Closing.

JSON Source