Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4174] Ti.Database does not expose SQLite exceptions

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-06-24T09:06:59.000+0000
Affected Version/sn/a
Fix Version/sSprint 2011-25, Release 1.7.2
ComponentsiOS
Labelsdatabase, exceptions
ReporterReggie Seagraves
AssigneeStephen Tramer
Created2011-05-23T10:20:43.000+0000
Updated2011-10-27T17:57:54.000+0000

Description

This ticket is for the IOS implementation of the bug fix for TIMOB-2619 which was for Android. It also seem related to TIMOB-1666 which has also been tagged tbs-1.7.1.

Attachments

FileDateSize
4174.zip2011-06-23T13:49:09.000+00007153
db_test_resources.tar.gz2011-06-22T16:25:53.000+00002318345

Comments

  1. Stephen Tramer 2011-06-22

    Exceptions need to be tested on device, not simulator; we appear to expose them, but the simulator exception bug blocks testing with Drillbit.
  2. Stephen Tramer 2011-06-22

    Test resources autogenerated by drillbit, but which have been modified to be able to run manually on device. Create a TiStudio project with them to confirm any fixes. You will have to manually grep the output for any "passed":false identifiers in the JSON.
  3. Stephen Tramer 2011-06-22

    See pull request for testing info, and use the attached resources.
  4. Thomas Huelbert 2011-06-23

    attached zip file of crash and console log found on 3.1.3 iphone 3 while testing pull request
  5. Stephen Tramer 2011-06-24

    Reopening to investigate crash found by Thom.
  6. Stephen Tramer 2011-06-24

    Crash does NOT have anything to do with database exceptions. Looks like an assert issue on old hardware. A new bug can be opened but it is 3.1.3-specific and therefore unlikely to be handled.
  7. Stephen Tramer 2011-06-24

    Code at issue appears to be: {var harnessConsole = Ti.UI.createLabel({ top: 0, left: 5, right: 5, height: 'auto', backgroundColor: 'black', font: { fontFamily: 'monospace', fontSize: '14' }, color: 'white' });} Could very well be the case 3.1.x devices simply don't support "monospaced".
  8. Natalie Huynh 2011-07-07

    Tested with 1.7.2.v20110630161836 on iPhone 4 4.3.3 and iPhone 3g 3.1.2

JSON Source