[TIMOB-14478] iOS7: Filesystem - is not working, returning Script Error
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-08-12T21:08:24.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | 2013 Sprint 16, 2013 Sprint 16 API, Release 3.1.2, Release 3.2.0 |
Components | iOS |
Labels | ios7, qe-3.0.1, qe-3.1.1, qe-closed-3.1.2, qe-testadded |
Reporter | Olga Romero |
Assignee | Ingo Muschenetz |
Created | 2013-07-03T16:32:29.000+0000 |
Updated | 2015-02-02T20:47:10.000+0000 |
Description
To reproduce:
1. Install and run KS> Platform> Filesystem
Actual result:
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [INFO] Resources Directory :file:///var/mobile/Applications/0FF1FB00-5F80-46A6-9589-89441AE4F43A/KitchenSink.app/
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [INFO] Temp Directory :file:///private/var/mobile/Applications/0FF1FB00-5F80-46A6-9589-89441AE4F43A/tmp/
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [INFO] Application Directory :file:///var/mobile/Applications/0FF1FB00-5F80-46A6-9589-89441AE4F43A/Applications/
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [INFO] Application Data Directory :file:///var/mobile/Applications/0FF1FB00-5F80-46A6-9589-89441AE4F43A/Documents/
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [INFO] Application Support Directory :file:///var/mobile/Applications/0FF1FB00-5F80-46A6-9589-89441AE4F43A/Library/Application%20Support/
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [INFO] External Storage Available :false
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [INFO] Separator :/
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [INFO] Line Ending :
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [INFO] file = [object TiFilesystemFile]
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [INFO] contents blob object = undefined
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [ERROR] Script Error {
backtrace = "#0 () at file:///var/mobile/Applications/0FF1FB00-5F80-46A6-9589-89441AE4F43A/KitchenSink.app/ui/common/PlatformWindow.js:61";
line = 22;
message = "'undefined' is not an object (evaluating 'contents.text')";
name = TypeError;
sourceId = 50690080;
sourceURL = "file:///var/mobile/Applications/0FF1FB00-5F80-46A6-9589-89441AE4F43A/KitchenSink.app/ui/common/platform/filesystem.js";
}
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: JWJ handled JavaScript error!!!
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [DEBUG] Message: 'undefined' is not an object (evaluating 'contents.text')
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [DEBUG] Line number: 22
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [DEBUG] Source: file:///var/mobile/Applications/0FF1FB00-5F80-46A6-9589-89441AE4F43A/KitchenSink.app/ui/common/platform/filesystem.js
Jul 3 09:27:53 Europa KitchenSink[198] <Warning>: [DEBUG] Backtrace: #0 () at file:///var/mobile/Applications/0FF1FB00-5F80-46A6-9589-89441AE4F43A/KitchenSink.app/ui/common/PlatformWindow.js:61
Fixed filesystem fix from dawson
Verified fixed on iOS7 simulator. Console output:
Titanium SDK 3.1.2.v20130808180613 Alloy 1.2.0-alpha6 Appcelerator Studio 3.1.2.201308082014 CLI 3.1.2-alpha Node 0.10.13 Xcode 5-DP5 Closing.
Tested and verified the fix with: Appcelerator Studio, build: 3.1.2.201308091728 Titanium SDK, build 3.1.1.GA Alloy 1.2.0 CLI 3.1.2 Device: iPhone5 iOS7