Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7975] Ti API: Ti.Stream.read/write error handling is inconsistent

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-07-10T22:35:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTiAPI
Labelsparity, tbs-2.1.0
ReporterArthur Evans
AssigneeEric Merriman
Created2012-03-13T11:39:48.000+0000
Updated2017-07-10T22:35:20.000+0000

Description

When reading from a stream that isn't readable, or writing to a stream that isn't writable, it appears that iOS throws an exception, while Android catches the exception and calls the callback with the error. We should handle this consistently.

Comments

  1. Lee Morris 2017-07-10

    Closing ticket due to time passed and lack of progress for a number of years. Please open a new ticket if there are any problems.

JSON Source