[ALOY-1105] Widget assets are not copied to the compiled app
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-08-11T17:33:57.000+0000 |
Affected Version/s | Alloy 1.5.0 |
Fix Version/s | Alloy 1.5.0 |
Components | Tooling |
Labels | qe-manualtest, regression |
Reporter | Tim Poulsen |
Assignee | Feon Sua Xin Miao |
Created | 2014-08-01T20:16:57.000+0000 |
Updated | 2014-09-12T02:18:26.000+0000 |
Description
In testing widgets, I've found that widget assets are not copied to the compiled app.
Steps to reproduce:
1. Make sure you're using a 1.5.0 branch of Alloy
2. From the repo directory, run
jake app:run dir=ALOY\-898
This sample app happens to use the loading widget, which contains a set of graphic assets.
3. When the app opens, click Open Window. You'll see messages in the console that the image assets cannot be found.
4. Copy the file path from one of those log messages. Open Finder and choose Go, Go to Folder. Paste in that path -- before you click Open, change the two instances of %20 to spaces in the path.
5. Right-click Harness.app and choose Show package contents. There should be an images/com.appcelerator.loading folder containing simlinks to a set of PNG assets. It's not there.
6. Change to Alloy 1.4.1 and repeat the preceding steps. The images will be there.
PR: https://github.com/appcelerator/alloy/pull/501 Functional Test: 1. Follow the steps listed in the description 2. There should be no image not found error messages and the image files from widget should be copied to the compiled app The ticket exposes an issue on the fix done to ALOY-1002, reopening the ticket.
PR merged
Verified fixed on iPad iOS 8, Android 4.3 and Mobileweb. Sample code from https://github.com/appcelerator/titanium_mobile_tests_internal/tree/master/Alloy/JIRA/ALOY-1105 TiSDK 3.4.0.v20140911135715 Appcelerator Studio 3.4.0.201409111151 CLI 3.4.0-rc2 Alloy 1.5.0-rc Xcode6-beta7 Closing.