Titanium JIRA Archive
Appcelerator Community (AC)

[AC-561] iOS: on widget's controller WPATH doesn't always work as expected

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2016-01-11T09:30:40.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy
Labelsimageview, widget, wpath
ReporterMauro Piccotti
AssigneeShak Hossain
Created2016-01-11T07:34:35.000+0000
Updated2016-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.

Comments

  1. Mauro Piccotti 2016-01-11

  2. Mostafizur Rahman 2016-01-11

    We reopened TC-5821 and closing this one for duplicated issues. Thanks

JSON Source