{ "id": "170211", "key": "AC-5339", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2017-11-03T09:30:58.000+0000", "created": "2017-11-02T17:04:17.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-11-03T09:35:16.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "h3. Steps to Reproduce\nthe following line\n\nvar result = false\nvar artid = '05173';\nif (((art_id+'') > '49999zzzzz') && ((art_id+'') < '89900')) result = true;\n\ngets false on simulator and true on iPad (iOS11.0.3)\nthe actual result of the expression on the iPad is : 0517389900\n\nthe expected result is : false\n\nh3. Actual Result\ntrue\n\nh3. Expected Result\nfalse", "attachment": [], "flagged": false, "summary": "Boolean eval different between simulator and iPad", "creator": { "name": "hbannwarth", "key": "hbannwarth", "displayName": "Hubert Bannwarth", "active": true, "timeZone": "Europe/Paris" }, "subtasks": [], "reporter": { "name": "hbannwarth", "key": "hbannwarth", "displayName": "Hubert Bannwarth", "active": true, "timeZone": "Europe/Paris" }, "environment": "Appcelerator Studio 4.10.0", "comment": { "comments": [ { "id": "430023", "author": { "name": "hbannwarth", "key": "hbannwarth", "displayName": "Hubert Bannwarth", "active": true, "timeZone": "Europe/Paris" }, "body": "The SDK used is 6.2.2GA\r\nXcode 9.0", "updateAuthor": { "name": "hbannwarth", "key": "hbannwarth", "displayName": "Hubert Bannwarth", "active": true, "timeZone": "Europe/Paris" }, "created": "2017-11-02T17:07:01.000+0000", "updated": "2017-11-02T17:07:01.000+0000" }, { "id": "430054", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Seems like an iOS-issue then, we do not influence the internal number-behavior. Please file a bug at Apple to investigate this or clean-up the code to avoid this kind of string comparisons.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-03T09:30:53.000+0000", "updated": "2017-11-03T09:30:53.000+0000" }, { "id": "430056", "author": { "name": "hbannwarth", "key": "hbannwarth", "displayName": "Hubert Bannwarth", "active": true, "timeZone": "Europe/Paris" }, "body": "This worked with preceding SDK on the same iOS version so I do not think that the bug is apple related", "updateAuthor": { "name": "hbannwarth", "key": "hbannwarth", "displayName": "Hubert Bannwarth", "active": true, "timeZone": "Europe/Paris" }, "created": "2017-11-03T09:35:16.000+0000", "updated": "2017-11-03T09:35:16.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }