[TIMOB-2534] User-defined hash keys with capital letters are null in Android
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Trivial |
| Status | Closed |
| Resolution | Cannot Reproduce |
| Resolution Date | 2012-08-23T14:45:19.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Android |
| Labels | android, case, properties, sensitivity |
| Reporter | support (at stateim) |
| Assignee | Neeraj Gupta |
| Created | 2011-04-15T03:22:07.000+0000 |
| Updated | 2017-03-10T18:23:57.000+0000 |
Description
If a program-specific key is added to a Titanium object, it will return null when the application is built for Android.
The following Table Row has a Name key. Using
Android, the Name key will be null when
requesting row.Name
var row = Titanium.UI.createTableViewRow({
height : 'auto',
Name: 'Hello'
});
If instead we were to write the following, row.name
would give me the proper 'Hello' value:
var row = Titanium.UI.createTableViewRow({
height : 'auto',
name: 'Hello'
});
Assigning to Don for triage.
Tested on a Samsung Galaxy S2 using TiSDK 2.2.0v20120821095711, unable to reproduce.
Ticket marked as resolved.var win = Ti.UI.createWindow({ backgroundColor:'white', Name: 'Calumon' }); alert('Name: ' + win.Name); win.open();Closing ticket as the issue cannot be reproduced.