[TIMOB-20155] Windows: Ti.Codec.encodeNumber hangs on Windows 10
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2015-12-21T15:57:29.000+0000 |
| Affected Version/s | Release 5.1.0 |
| Fix Version/s | Release 5.3.0 |
| Components | Windows |
| Labels | qe-5.3.0 |
| Reporter | Kota Iguchi |
| Assignee | Kota Iguchi |
| Created | 2015-12-19T01:05:46.000+0000 |
| Updated | 2016-05-12T21:16:54.000+0000 |
Description
On Windows 10,
Ti.Codec.encodeNumber hangs.
var buffer = Ti.createBuffer({
length: 8
});
Ti.Codec.encodeNumber({
source: 78187493530,
dest: buffer,
type: Ti.Codec.TYPE_LONG
});
https://github.com/appcelerator/titanium_mobile_windows/pull/509
[~kota], What is the expected output for
Ti.Codec.encodeNumber? And, isTi.Codecsupposed to be used with media type APIs?[~wluu] [ti.codec.test.js](https://github.com/appcelerator/titanium_mobile_windows/blob/master/Examples/NMocha/src/Assets/ti.codec.test.js) would be a good example on how to use
Ti.Codec. For acceptance test on this ticket, I think we just want to make sureencodeNumberdoesn't hang on Windows 10 for the example above.Thanks [~kota].
Verified as fixed. Tested on: Nokia Lumia 928 (8.1) Windows Simulator (8.1) Microsoft Lumia 640 (10) Windows Simulator (10) Windows 10 Studio: 4.6.0.201605121040 Ti SDK: 5.3.0.v20160512105713 Appc NPM: 4.2.5-5 App CLI: 5.3.0-44 Node v0.12.7 *Closing Ticket.*