{ "id": "167541", "key": "TIMOB-24692", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2017-05-10T12:22:45.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:11.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "------------------\r\nvar myname = \"%\";\r\nTi.API.info(\"test:\" + myname);\r\n\r\nThis simple code shows wrong output on Android\r\n\r\nAndroid\r\n[INFO] test:%%\r\n\r\niOS\r\n[INFO] test:%\r\n\r\n---------------------\r\nReproduction procedure:\r\n\r\n1.Create new project,\r\n2.Paste this code below in app.js \r\n\r\nvar myname = \"1%1\";\r\nTi.API.info(\"test:\" + myname);\r\n\r\nvar myname = \"1\\%1\";\r\nTi.API.info(\"test:\" + myname);\r\n\r\nvar myname = '1%1';\r\nTi.API.info(\"test:\" + myname);\r\n\r\n3:Build and run on android.\r\n\r\n--------------------\r\nResult\r\n\r\n[INFO] test:1%%1", "attachment": [], "flagged": false, "summary": "A letter '%' is doubled on Android", "creator": { "name": "daichihaji@gmail.com", "key": "daichihaji@gmail.com", "displayName": "whitebear", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "daichihaji@gmail.com", "key": "daichihaji@gmail.com", "displayName": "whitebear", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "Titanium 6.0.3.GA / 6.0.2.GA / 6.0.1.GA", "comment": { "comments": [ { "id": "419649", "author": { "name": "daichihaji@gmail.com", "key": "daichihaji@gmail.com", "displayName": "whitebear", "active": true, "timeZone": "Asia/Tokyo" }, "body": "I might have no privilege to make issue for titanium SDK project, I made mistake writing for Aptana Studio Project.", "updateAuthor": { "name": "daichihaji@gmail.com", "key": "daichihaji@gmail.com", "displayName": "whitebear", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2017-05-13T15:32:04.000+0000", "updated": "2017-05-13T15:32:20.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }