[AC-561] iOS: on widget's controller WPATH doesn't always work as expected
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Resolved |
| Resolution | Duplicate |
| Resolution Date | 2016-01-11T09:30:40.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Alloy |
| Labels | imageview, widget, wpath |
| Reporter | Mauro Piccotti |
| Assignee | Shak Hossain |
| Created | 2016-01-11T07:34:35.000+0000 |
| Updated | 2016-01-11T09:30:40.000+0000 |
Description
In a widget I used an ImageView with multiple images, loaded by WPATH. It worked until version 5.0.2.
In my widget I have images "loading_x.png" inside assets/images.
The error is (it's evident that the path is wrong):
[ERROR] : couldn't load imageview image: /images/it.apra.tiimagegallery/loading_1.png at position: 0
I reproduced the bug in a empty project, you can clone it from my github repo:
https://github.com/nonno/Ti.TestProject/tree/wpath-bug
(you should click on the label)
I don't know why but a removeAllChildren called on the container where I want to put my images causes the problem, look in widget.js and try to remove the comment.
We reopened TC-5821 and closing this one for duplicated issues. Thanks