{ "id": "154104", "key": "TIMOB-23583", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2018-07-26T22:11:38.000+0000", "created": "2016-01-04T17:48:15.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "imageview", "widget", "wpath" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-07-26T22:11:38.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "In a widget I used an ImageView with multiple images, loaded by WPATH. It worked until version 5.0.2.\r\nIn my widget I have images \"loading_x.png\" inside assets/images.\r\n\r\nThe widget is this one:\r\nhttps://github.com/apra-informatica/Ti.ImageGallery/blob/master/controllers/widget.js\r\n\r\nAnd the code:\r\n\tspinnerImages = [\r\n\t\tWPATH('/images/loading_1.png'),\r\n\t\tWPATH('/images/loading_2.png'),\r\n\t\tWPATH('/images/loading_3.png'),\r\n\t];\r\n\tspinner = Ti.UI.createImageView({\r\n\t\t'backgroundColor' : 'transparent',\r\n\t\t'width' : '64dp',\r\n\t\t'height' : '64dp',\r\n\t\t'images' : spinnerImages\r\n\t});\r\n\r\nIt writes:\r\n[ERROR] : couldn't load imageview image: /images/it.apra.tiimagegallery/loading_1.png at position: 0", "attachment": [], "flagged": false, "summary": "iOS: on widget's controller WPATH doesn't work as expected", "creator": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 9.1 \r\nSDK 5.1.1.GA \r\niPad 2 simulator", "closedSprints": [ { "id": 1053, "state": "closed", "name": "2018 Sprint 15 SDK", "startDate": "2018-07-15T21:52:05.453Z", "endDate": "2018-07-29T21:52:00.000Z", "completeDate": "2018-07-29T22:25:11.723Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "373785", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nPlease provide a small sample code which generates the issue. We will try to regenerate in our environment, Also, provide detail steps to reproduce the issue. More info on the [WPATH|http://docs.appcelerator.com/platform/latest/#!/guide/WPATH%28%29_Example]. \r\n\r\nThanks. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-01-05T05:55:30.000+0000", "updated": "2016-01-05T05:55:30.000+0000" }, { "id": "373806", "author": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm trying to reproduce it in a empty project and empty widget but there it works... I'm confused, by the way it stopped to work in my project and I don't know why, perhaps something related with the bug in ScrollableView.views.\r\nI'll update this issue if I'll understand a little more.\r\nThanks for the quick reply.", "updateAuthor": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-05T14:05:55.000+0000", "updated": "2016-01-05T14:05:55.000+0000" }, { "id": "373811", "author": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I reproduced the bug in a empty project, you can clone it from my github repo:\r\nhttps://github.com/nonno/Ti.TestProject/tree/wpath-bug\r\n(you should click on the label)\r\n\r\nI 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.", "updateAuthor": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-05T15:54:08.000+0000", "updated": "2016-01-05T16:44:19.000+0000" }, { "id": "388625", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Sorry [~pic], do you think you can include these in the tiapp.xml to see if helps?\r\n{code}\r\n\t\r\n\t\tfalse\r\n\t\tfalse\r\n{code}", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-06-20T03:55:18.000+0000", "updated": "2016-06-20T03:55:18.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }