Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9677] Android: Anvil: moduleReachable test inside calendar test suite fails

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-07-16T15:37:24.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sn/a
ComponentsAndroid
Labelsanvil, api, parity
ReporterAllen Yeung
AssigneeNeeraj Gupta
Created2012-06-20T17:15:54.000+0000
Updated2017-03-10T00:04:10.000+0000

Description

Reproduction steps: 1. Launch anvil for android 2. Run 'start --suite=android_calendar --test=moduleReachable' Expected result: moduleReachable test should pass Actual Result: The test fails with an output like:
    Config ID <android_calendar>:
        Suite name <android/android_calendar/android_calendar>:
            moduleReachable - 26ms - exception - <Error: Permission Denial: opening provider com.android.providers.calendar.CalendarProvider2 from ProcessRecord{40be9e38 2564:com.appcelerator.harness/10121} (pid=2564, uid=10121) requires android.permission.READ_CALENDAR or android.permission.WRITE_CALENDAR
    at [object Object].moduleReachable (suites/android/android_calendar/android_calendar.js:32:39)
    at [object Object].processDriverData (common.js:129:57)
    at Stream.<anonymous> (util.js:50:26)>

Comments

  1. Ping Wang 2012-07-16

    Can not reproduce with 2_1_X branch.
  2. Lee Morris 2017-03-10

    Closing this ticket as the issue cannot be reproduced.

JSON Source