[TIMOB-9688] MobileWeb: Ti.App.Properties not correctly removing entries when set to null
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-06-21T10:54:54.000+0000 |
Affected Version/s | Release 2.0.1 |
Fix Version/s | Release 2.1.0, Sprint 2012-13 MW |
Components | MobileWeb |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2012-06-21T09:44:05.000+0000 |
Updated | 2012-06-22T13:01:35.000+0000 |
Description
When you do a Ti.App.Properties.setString("something", null), it casts the null to a string "null" and stores it. This is incorrect behavior and should actually remove the entry. We currently remove the entry if you pass in undefined.
Pull request: https://github.com/appcelerator/titanium_mobile/pull/2447