[AC-3028] setData doesn´t update TableView correctly if search term is an integer
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2011-10-20T12:32:18.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | mobilesdk, sqlite |
Reporter | Daniel Urstoeger |
Assignee | Anthony Decena |
Created | 2011-08-31T02:23:06.000+0000 |
Updated | 2016-03-08T07:48:03.000+0000 |
Description
I made a autocomplete/autosuggest search, utilizing createSearchBar and createTableView. This works like a charm but there is one problem: if I enter a number into the search field, the table view gets updated but the changes are not show, until I press the cancel button of the searchbar. If I enter a search term "Vienna", everything works like expected, if I enter "1100" as search term, in the background I can see via Ti.API.info() that the whole functions get executed, but the table view stays empty, displaying "no results", of course until I hit the cancel button in the search bar, after that the list magically displays correctly. It seems a lot like for some reason the table view does get updated but changes are just not displayed until the cancel button is pressed in the search bar. Seems like a bug within Appcelerator?
I am using Titanium Mobile SDK 1.7.2 by the way, have also tried 1.6.1 and a few others, every time the same problem.
I will attach the source code file and the database in a zip archive. You can search for "Denn" and "3280".
Attachments
File | Date | Size |
test.zip | 2011-08-31T02:23:06.000+0000 | 4936 |
Thank you for raising this ticket. I am afraid we need all the information listed in the [Jira Ticket Checklist](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist) in order to accept a ticket. Once this ticket is complete, we can move it to the main project. Thank you
Closing resolved tickets due to inactivity.