Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3355] iPad: SQL insert error happens only in iOS 4.3

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2017-06-07T21:06:18.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsdefect, ios, quickstart-customer, reported-1.6.1
ReporterRick Blalock
AssigneeIngo Muschenetz
Created2011-04-15T03:43:08.000+0000
Updated2017-06-07T21:06:18.000+0000

Description

This is an odd error that sprung up today testing with iOS 4.3 with an iPad. The exact same SQL statement works in iOS 4.2 - using the same Ti SDK for both. Snippet from customer:

Database.Queries.Create.Log = "CREATE TABLE IF NOT EXISTS MDE_SYS_LOG (LOG_DATE TEXT NOT NULL, LOG_TEXT TEXT)";

// ...
Database.Connection = Ti.Database.open('mmxdb');

// ...

Database.Connection.execute(Database.Queries.Create.Log);

The app doesn't crash but throws this error: http://pastie.org/1678411">http://pastie.org/1678411

I would say that in this particular issue it's not a show stopper since they are using this statement for logging in a local database. However if this one sql statement that works in iOS 4.2 works but does not in iOS 4.3, I worry that this could cause other issues down the road. We've had no other errors around SQL statements so far today in testing.

Comments

  1. Lee Morris 2017-06-07

    Closing ticket due to time passed and lack of progress in the past 5 years.

JSON Source