Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3956] ListView edit actions crash

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2016-07-13T20:56:16.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelscrash, editActions, listview, listviewitem
ReporterJan van Kampen
AssigneeShak Hossain
Created2016-06-29T14:23:23.000+0000
Updated2016-07-13T20:56:17.000+0000

Description

We've noticed instant crashes when you swipe listview items with editActions on 5.3.0.GA. I's working fine on 5.2.0.GA. Can you please check it?
editActions:[{
title: L('Swipe_cancel'),
style: Ti.UI.iOS.ROW_ACTION_STYLE_DESTRUCTIVE
}]
[ERROR] :  2016-06-29 16:11:03.518 Roamler[52099:13916642] [ERROR] Invalid type passed to function. expected: Array, was: String -[TiUIListView editActionsFromValue:] (TiUIListView.m:978)
[ERROR] :  2016-06-29 16:11:03.518 Roamler[52099:13916642] -[__NSCFString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x7f8d35537a60

Comments

  1. Hans Knöchel 2016-06-29

    Hey there! Can you please provide a full example that we can reproduce? I tested the edit actions yesterday for TIMOB-19335 and they worked like a charm. Thanks!

JSON Source