{ "id": "113262", "key": "TIMOB-13649", "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": null, "resolutiondate": null, "created": "2013-04-23T00:20:20.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "28086", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "108092", "key": "ALOY-471", "fields": { "summary": "Enable Collection binding for DashboardView", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:04:06.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "According to the [documentation|http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.DashboardView-event-delete], the delete event for DashboardView is\r\n\r\n{quote}\r\nFired when an item is deleted in edit mode.\r\n{quote}\r\n\r\nHowever, a delete event will be fired for every item in a dashboardview even when not in edit mode. If you, for example, called {{setData()}} programmatically to reset the DashboardView, an individual delete event is fired for all items that are going to be replaced, which probably doesn't make sense in the context of a wholesale replace. It is also pretty noisy. In addition, {{setData()}} is used by Alloy data binding to reset the dashboard when the model is updated. ", "attachment": [], "flagged": false, "summary": "DashboardView fires delete events for all items even when not in edit mode", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.1.0.GA\r\niOS 6.1", "comment": { "comments": [ { "id": "298093", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "I can confirm this bug is still present. Clicking a dashboard item when not in edit mode fires the delete event. It seems also to be fired when existing edit mode (not sure if it fires before or after the commit event).", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-03-20T17:51:36.000+0000", "updated": "2014-03-21T13:12:54.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }