Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3028] setData doesn´t update TableView correctly if search term is an integer

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2011-10-20T12:32:18.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsmobilesdk, sqlite
ReporterDaniel Urstoeger
AssigneeAnthony Decena
Created2011-08-31T02:23:06.000+0000
Updated2016-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

FileDateSize
test.zip2011-08-31T02:23:06.000+00004936

Comments

  1. Anthony Decena 2011-10-20

    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
  2. Paul Dowsett 2011-12-27

    Closing resolved tickets due to inactivity.

JSON Source