Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15672] iOS: ScrollIndicatoryStyle - ScrollIndicatoryStyle property is returning 'undefined' error when launching on device

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-11-12T20:48:58.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 23, 2013 Sprint 23 Core, Release 3.2.0
ComponentsCLI, iOS
Labelsqe-3.2.0, regression
ReporterWilson Luu
AssigneeChris Barber
Created2013-11-06T00:40:02.000+0000
Updated2013-11-13T18:39:41.000+0000

Description

*Details:* Ti.UI.iPhone.ScrollIdnicatoryStyle property is returning 'undefined' error when launching on device. *This is a regression because it worked on 3.1.3.GA stack.* *Steps to reproduce:* 1. Install SampleTab.zip attachment to an ipad device; app was built specifically for ipad 2. Launch app *Actual:* 'undefined' error is returned when app is launched (see undefined_error.png). If you comment out line 10 (scrollIndicatorStyle:Ti.UI.iPhone.ScrollIndicatorStyle.DEFAULT), then the error will not be thrown. *Expected:* An 'undefined' error should not thrown.

Attachments

FileDateSize
SampleTab.zip2013-11-06T00:40:02.000+00001082712
undefined_error.png2013-11-06T00:40:02.000+000062123

Comments

  1. Vishal Duggal 2013-11-07

    This is a build system issue. In defines.h you get the following directive #define USE_TI_UIIPHONESCROLLINDICATORSTYLEDEFAULT Expected #define USE_TI_UIIPHONESCROLLINDICATORSTYLE
  2. Chris Barber 2013-11-12

    This was fixed already in master (https://github.com/appcelerator/titanium_mobile/commit/499ab6b3f638417a732a88eb2e486ec1ec0c9abd). Please re-test using a newer CI build.
  3. Wilson Luu 2013-11-13

    Closing ticket as fixed. Verified sample app launches correctly i.e. no 'undefined' error returned. Tested on: Titanium Studio, build: 3.2.0.201311122225 SDK build: 3.2.0.v20131112180422 Ti CLI: 3.2.0 (4c816f21d7d9360659d77e9a6a994992ef880b72) Xcode: 5.0.2 Device: ipad 2 (7.0.2)

JSON Source