Titanium

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

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-04-26T12:45:03.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-12
ComponentsAndroid
Labelsandroid, database, defect, release-1.5.1, release-1.7.0
ReporterPaul Dowsett
AssigneeDon Thorp
Created2011-04-15T03:25:00.000+0000
Updated2011-05-23T10:21:25.000+0000

Description

No sqlite exceptions are exposed to the Ti user. For android, exceptions can be viewed using adb.

The following situations were discussed with Don:

Possibly there are pros and cons to Titanium's behaviour, so it probably needs further consideration and more examples.

Comments

  1. Stephen Tramer 2011-04-15

    Also an issue with iOS, for the record.

  2. Martin Prebio 2011-04-15

    I think this is a very important ticket since an error in the statement or a constraint failure crashes the whole app without any possibility to circumvent this. The Priority should be higher than "Low" and I would like to have a solution for this as soon as possible.

    By the way, it's a duplicate of #1666

  3. Don Thorp 2011-04-15

    @Martin we use 1 ticket per platform so it's not technically a duplicate.

  4. Don Thorp 2011-04-15

    (from [d608fe27b052f7e13bd47b35a27b7e3dbf6d6711]) [#2619 state:fixed-in-qa] exception chucking enabled https://github.com/appcelerator/titanium_mobile/commit/d608fe27b052f7e13bd47b35a27b7e3dbf6d6711"> https://github.com/appcelerator/titanium_mobile/commit/d608fe27b052...

JSON Source