[TIMOB-13927] iOS: TableView Swipe event doesn't contain row or rowData
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-19T21:34:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 13 API, 2013 Sprint 13, Release 3.1.4, Release 3.2.0 |
Components | iOS |
Labels | documentation, module_tableview, qe-testadded, tableView, triage |
Reporter | Mitchell Amihod |
Assignee | Vishal Duggal |
Created | 2013-05-20T19:07:36.000+0000 |
Updated | 2013-10-16T07:22:59.000+0000 |
Description
http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.TableView-event-swipe
Properties lists row, rowData.
These are not available, as you can see in attached app.js
Assuming this is a docs problem - though i'd prefer this be a code issue, as I could really use that info in the swipe event on a tableview.
Attachments
File | Date | Size |
---|---|---|
app.js | 2013-05-20T19:07:36.000+0000 | 513 |
Screen Shot 2013-05-21 at 11.33.05 AM.png | 2013-05-21T15:39:47.000+0000 | 153504 |
Teseted and confirmed on iOS 6 simulator with Ti SDK 3.1 GA and 3.2 CI. The following output is displayed:
I will escalate this to engineering rather than docs and they can decide whether this is a docs issue.
Android output (correct):
thanks daniel.
Also missing is index.
Screenshot of simulator showing code & properties of event object
Confirm that this does not work on 3.0.0.GA Do not have a system I can roll back to test on 2.1.x. Swipe on the row also appears broken. Specifying each row individually, or passing as an array to setData() no difference.
Broken on 2.1.4GA !http://content.screencast.com/users/Stephen_Feather/folders/Jing/media/cda2fbea-6e94-48f2-9288-70a3bcf4cd74/00000881.png!
Broken on 2.0.1GA, last sdk I can build with on this system. !http://content.screencast.com/users/Stephen_Feather/folders/Jing/media/76b0d6a5-cfa8-40af-9039-82f4f1399e4a/00000882.png!
Expanded test case with Search
Pull pending against master https://github.com/appcelerator/titanium_mobile/pull/4404
Why isn't this fixed included in 3.1.3? I need this functionality so I downloaded 3.1.3.v20130908095038 and then realized it never made it to that codebase. How can I get this fix in an SDK without jumping to 3.2.0?
@[~mross@qtags.com], You could just cherry pick this PR into your own 3_1_X branch and build a custom SDK.
This really should be merged back to 3_1_X, with 3_2_X not expected before dec right?
Wow, Vishal. 'Roll your own'? 'Cherry pick'? While that is a TECHNICALLY accurate response, it is a highly IMPRACTICAL response to an end user. 'I'm sorry sir, we forgot to put wheels on your new car, here is a welding torch, you can add it yourself'. I'm with Fokke, this needs pushed into a supplemental 3.1.x release.
[~sfeather], here you are... 3.1.3.GA with the fix: http://we.tl/FWBwFt4XDN
Fokke, thanks. That should help anyone else that stumbles across this cluster. We rolled ours this morning. Its the engineer's 'attitude' towards end users that irks me. Not all titanium users are setup to compile the sdk themselves.
[~sfeather] While I agree that this could have been communicated better, we try to keep the list of items we pull onto the CI 3.1.X branches relatively small in order to keep that branch as stable as possible. It's not possible for us to backport everything--we attempt to backport items that broadly affect everyone, and encourage users to backport fixes that meet their specific needs where they can't wait for the next major release. We will review pulling this into 3.1.X. That said, I would like it if it were straightforward for users to self-patch the SDK. Suggestions are appreciated.
Row data is contained in the swipe event. Verified fix on: Device : iPod Touch , iOS version : 6.1.3 Device : iPhone 5 , iOS version : 7.0 SDK: 3.2.0.v20131013140318 CLI version : 3.2.0 OS : MAC OSX 10.8.4 Alloy : 1.2.2 Appcelerator Studio, build: 3.2.0.201310112258 XCode : 5