Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5339] iOS: get/setMessageID in Ti.UI.AlertDialog does not throw an error

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-12T19:07:32.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sn/a
ComponentsiOS
Labelsalertdialog, ios, parity, tbs-1.9.0
ReporterNatalie Huynh
AssigneeIngo Muschenetz
Created2011-09-22T15:32:33.000+0000
Updated2017-06-12T19:07:32.000+0000

Description

Steps to Reproduce: 1. Create an application with the following: Ti.UI.createAlertDialog().setMessageid("abc"); 2. Run application Actual Result: No Error Expected Result: should show you an error that the function setMessageid cannot be found

Comments

  1. Natalie Huynh 2011-09-22

    See Android bug
  2. Blain Hamon 2011-10-11

    The way setters are done on Titanium:iOS is that it's dynamic. That is, there's no difference between foo.setBar(baz) and foo.bar=baz. I'm not sure we should make an edge case for this, because throwing an error for this would be the exception, not the norm.
  3. Blain Hamon 2011-10-11

    Proposing we close this as 'won't fix.' The change would have to be deep (at the KrollObject level) and could make regressions. I'm having a hard time justifying such. Out of curiosity, what happens on Ti:Android for a random proxy when setFoo is invoked?
  4. Lee Morris 2017-06-12

    Closing ticket due to the time passed, lack of information and lack of progress. Any problems, please file a new ticket.

JSON Source