{ "id": "62892", "key": "TIMOB-2260", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11228", "name": "Release 1.5.0 M03", "archived": true, "released": true, "releaseDate": "2010-11-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:34.000+0000", "created": "2011-04-15T03:15:02.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "dialog", "email", "feature" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:34.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

1.BaseUI> Views> Email Dialog
\n2.select an image when prompted to do so.

\n

results, runtime error, chokes on:

\n

E/KrollCallback( 3105): (kroll$4) [104,74708] ECMA Error\nevaluating source, invocation: [callMethod Media.(anonymous)\norg.appcelerator.titanium.kroll.KrollCallback@44f7ea78], message:\nTypeError: Cannot find function isSupported in object\n[Ti.UI.EmailDialog]. (app://examples/email_dialog.js#16)
\nE/KrollCallback( 3105): org.mozilla.javascript.EcmaError:\nTypeError: Cannot find function isSupported in object\n[Ti.UI.EmailDialog]. (app://examples/email_dialog.js#16)
\nE/KrollCallback( 3105): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)
\nE/KrollCallback( 3105): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)
\nE/KrollCallback( 3105): at\norg.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)
\nE/KrollCallback( 3105): at\norg.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)
\nE/KrollCallback( 3105): at\norg.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)
\nE/KrollCallback( 3105): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)
\nE/KrollCallback( 3105): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)
\nE/KrollCallback( 3105): at\norg.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)
\nE/KrollCallback( 3105): at\nscript(app://examples/email_dialog.js:16)
\nE/KrollCallback( 3105): at\norg.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
\nE/KrollCallback( 3105): at\norg.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
\nE/KrollCallback( 3105): at\norg.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
\nE/KrollCallback( 3105): at\norg.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
\nE/KrollCallback( 3105): at\norg.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
\nE/KrollCallback( 3105): at\norg.appcelerator.titanium.kroll.KrollCallback$1.run(KrollCallback.java:97)
\nE/KrollCallback( 3105): at\nandroid.os.Handler.handleCallback(Handler.java:587)
\nE/KrollCallback( 3105): at\nandroid.os.Handler.dispatchMessage(Handler.java:92)
\nE/KrollCallback( 3105): at\nandroid.os.Looper.loop(Looper.java:123)
\nE/KrollCallback( 3105): at\norg.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:73)
\nI/dalvikvm( 3105): Jit: resizing JitTable from 8192 to 16384

{html}", "attachment": [], "flagged": false, "summary": "Android: Email dialog test case generates runtime errors after selecting an image to attach ", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127970", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Thomas, assigning back to you so you can reclassify this on the\ntest report. A new method was added in iPhone in this commit\n\ncd60010df701b2d14a08f5f359d2d90a0ea81313 and a feature ticket\nwasn't added for Android.

\n

Please assign this back to me after updating the report.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:03.000+0000", "updated": "2011-04-15T03:15:03.000+0000" }, { "id": "127971", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

ignore the original steps, bug was misreported. Test (BaseUI>\nViews> Email Dialog) has changed to include the following code\nblock, which currently causes a crash on android (he says parroting\nDon above).

\n

if (!emailDialog.isSupported()) {

\n
\n     Ti.UI.createAlertDialog({\n\n       title:'Error',\n\n        message:'Email not available'\n\n      }).show();\n\n      return;   \n    }\n
{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:03.000+0000", "updated": "2011-04-15T03:15:03.000+0000" }, { "id": "127972", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

opening again. Been working on it since yesterday. The package\nmanager is not giving me good information that the ACTION_SEND\nintent has handlers.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:03.000+0000", "updated": "2011-04-15T03:15:03.000+0000" }, { "id": "127973", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [3c4ab74e03c99b701bf9f5c5672152fa26ce4af8])\n[#2260 state:fixed-in-qa] You must use a device\nand an emulator or an emulator with and without an email client to\nverify this feature. A stock emulator should return false because\nthere is indeed no email client configured. You can add K9 to the\nemulator if you want an email client, but it's easier to use a\ndevice that's configure for email. \nhttps://github.com/appcelerator/titanium_mobile/commit/3c4ab74e03c9...

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:04.000+0000", "updated": "2011-04-15T03:15:04.000+0000" }, { "id": "127974", "author": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Failed on device (1.5) (via kitchen sink example ) BaseUI>\nViews> Email Dialog. Titanium SDK version: 1.5.0 (11/24/10 12:05\nc0aff27)

\n

Location:
\n[16,0] app://examples/email_dialog.js

\n

Message:
\nTypeError: Cannot find function isSupported in object\n[Ti.UI.EmailDialog].(app://examples/email_dialog.js#16)

{html}", "updateAuthor": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:04.000+0000", "updated": "2011-04-15T03:15:04.000+0000" }, { "id": "127975", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Matt, I just reverified with a newer build,\n735911a6fa4c85f450dc, but it should be in the one you pulled. It\nmight be that it didn't push successfully to the phone.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:04.000+0000", "updated": "2011-04-15T03:15:04.000+0000" }, { "id": "127976", "author": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

resolved android 1.6/2.1 Titanium SDK version: 1.5.0 (12/03/10\n10:38 33c2058), KS

{html}", "updateAuthor": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:05.000+0000", "updated": "2011-04-15T03:15:05.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }