Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1105] Widget assets are not copied to the compiled app

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2014-08-11T17:33:57.000+0000
Affected Version/sAlloy 1.5.0
Fix Version/sAlloy 1.5.0
ComponentsTooling
Labelsqe-manualtest, regression
ReporterTim Poulsen
AssigneeFeon Sua Xin Miao
Created2014-08-01T20:16:57.000+0000
Updated2014-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.

Comments

  1. Feon Sua Xin Miao 2014-08-05

    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.
  2. Tim Poulsen 2014-08-11

    PR merged
  3. Federico Casali 2014-09-12

    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.

JSON Source