Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12563] CLI: Titanium project get method returns no default value for URL like it does for other not specified keys

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-04-07T21:35:20.000+0000
Affected Version/sRelease 3.0.2
Fix Version/s2014 Sprint 07, 2014 Sprint 07 Tooling, Release 3.3.0
ComponentsCLI
Labelsqe-closed-3.3.0, qe-sdk3.0.2, qe-testadded
ReporterShyam Bhadauria
AssigneeChris Barber
Created2013-02-04T12:40:33.000+0000
Updated2014-04-24T11:11:19.000+0000

Description

It is not a regression. It occurs since 3.0.0. Steps to reproduce: 1. Create a project with no values for key 'publisher' and 'url' 2. Give command 'ti project'. 3. Now retrieve the values for publisher and url separately(ti project publisher and ti project url) Expected result: 2. It displays Deployment Targets and Project Properties.It should display 'Not Specified' for publisher and url values. 3. It should display 'Not Specified' for both values. Actual result: 2. It displays Deployment Targets and Project Properties.It displays 'Not Specified' for publisher and url values here. 3. It displays 'Not Specified' for publisher whereas for url it displays nothing.For parity, we can display 'Not Specified' for url as well.

Comments

  1. Chris Barber 2014-04-02

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5573
  2. Allen Yeung 2014-04-07

    Testing instructions: 1. Create a titanium project 2. In the newly created project, open tiapp.xml and remove the 'url' and 'publisher' properties 3. Go into the project and run 'ti project' Expected Result: The publisher and url fields should say 'not specified' 4. Run 'ti project url' Expected Result: url should return a empty string.
  3. Deepti Pandey 2014-04-24

    Verified as FIXED using : Mac :10.9.2 Studio - 3.3.0.201404211130 SDK - 3.3.0.v20140423155715 acs-1.0.14 alloy-1.4.0-dev npm-1.3.2 titanium-3.3.0-dev titanium-code-processor-1.1.1-beta1 Xcode :5.1.1 'Not specified' is displayed for URL and publisher details of 'ti project' command. Hence closing.

JSON Source