[TIMOB-13359] Android: Support error object of an event payload other than string
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-04-05T23:48:04.000+0000 |
Affected Version/s | Release 3.1.0 |
Fix Version/s | Release 3.1.0, 2013 Sprint 07 Core, 2013 Sprint 07, Release 3.2.0 |
Components | Android |
Labels | module_android, qe-testadded |
Reporter | Matt Langston |
Assignee | Matt Langston |
Created | 2013-04-03T23:07:37.000+0000 |
Updated | 2014-02-11T11:03:06.000+0000 |
Description
Changes introduced in TIMOB-12651 enforced that error objects of an event payload must be of type String, but this broke backward compatibility discovered while optimizing Lanica's "Gardens of Time" app. We should still allow error object to be other than String for backwards compatibility, but also issue e deprecation warning.
See here for the change introduced in 3.1.0:
https://github.com/BlainHamon/titanium_mobile/commit/d2102b5d9020a11b26cd51a92c23029b68082240
Attachments
File | Date | Size |
---|---|---|
timob_13359_app.zip | 2013-04-05T21:37:28.000+0000 | 825173 |
timob13359module.zip | 2013-04-05T21:37:28.000+0000 | 1760801 |
Pull request for master: https://github.com/appcelerator/titanium_mobile/pull/4071
Pull request for backport to 3_1_X: https://github.com/appcelerator/titanium_mobile/pull/4085
https://github.com/appcelerator/titanium_mobile/pull/4091 Backport: https://github.com/appcelerator/titanium_mobile/pull/4092
How can we test this?
Hi Eric, Run the attached app with the attached module against any SDK. If the bug is fixed in the SDK you build against then the app will print
in the log window. If the bug is not fixed in the SDK you build against then the app will print
in the log window. -Matt
Run the attached app with the attached module against any SDK. It printed in the console: MDL: TIMOB-13359 is fixed Used environment for verification SDK - 3.1.0.GA , 3.1.1.v20130508001914 Appcelerator Studio, build: 3.1.1.201305072102 Device : Samsung GALAXY Note Android 2.3.6