{ "id": "115346", "key": "TIMOB-16049", "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": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-07-26T04:42:44.000+0000", "created": "2013-06-03T04:41:57.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "Mobile", "webbrowser" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-26T04:42:47.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "Run attached the build. The error message is also attached as a screenshot", "attachment": [ { "id": "39444", "filename": "chat.zip", "author": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T16:59:52.000+0000", "size": 2272698, "mimeType": "application/zip" }, { "id": "39347", "filename": "Screen Shot 2013-06-02 at 9.31.27 PM.png", "author": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-03T04:41:57.000+0000", "size": 31324, "mimeType": "image/png" }, { "id": "39438", "filename": "Screen Shot 2013-06-04 at 12.56.53 PM.png", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T16:52:33.000+0000", "size": 99434, "mimeType": "image/png" }, { "id": "39443", "filename": "Screen Shot 2013-06-04 at 12.59.06 PM.png", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T16:54:45.000+0000", "size": 63588, "mimeType": "image/png" } ], "flagged": false, "summary": "Mobile Web: createBuffer API throws an error", "creator": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "255597", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Kam,\n\nI was unable to run the file attached as a project. Did you export the project to a file or did you just zip up the project folder? Try exporting it and reattaching. \n\nAlso you did not leave much indication as the the issue you would like addressed and how you want it fixed. Please provide some more information in the form of \"problem\", \"steps to reproduce\", \"expected behavior\", and \"actual behavior\". This allows for a much clearer understanding of the problem on both sides. For future reference:\n\nhttps://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report\n\nRegards,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-03T21:05:41.000+0000", "updated": "2013-06-03T21:05:41.000+0000" }, { "id": "255628", "author": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is the project file. Just open the project in Studio and run it inside the browser. You will get the attached error screen message.", "updateAuthor": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-03T22:03:04.000+0000", "updated": "2013-06-03T22:03:04.000+0000" }, { "id": "255637", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Kam,\n\nThe project file does not contain a tiapp.xml so it will not run in Studio. Can you confirm that in Studio, you went to File-> export -> Archive file -> then selected the proper project. This should result in the creation of a zipped up project. One needs this project in order to test the code. The Resources folder alone does not allow one to run a project either as the tiapp.xml is needed in order to run a project and it is located in the root node of a project folder, alongside Resources.\n\nThank you,\n\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-03T22:21:37.000+0000", "updated": "2013-06-03T22:21:37.000+0000" }, { "id": "255836", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello Kam,\n\nI need you to follow the directions in the previous comment I left in order review the issue you are describing and run the code you have provided. Please export the entire project into one archived file, including the Resources folder, the tiapp.xml as well as the manifest, build.log files, LICENSE etc. Without all of the project resources in one project folder we cannot run the code you have provided.\n\nThanks for your cooperation,\n\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T16:40:00.000+0000", "updated": "2013-06-04T16:40:00.000+0000" }, { "id": "255842", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Kam,\n\nThere still seems to be a problem with the project you are exporting. Are you sure that you are including all necessary documents? In the chat2 zip you sent there was a build folder along with Resources, this should not occur. Please see the attached screenshots I took to show what you should be selecting when exporting a project. You must click the checkbox next to the name of the project and ensure that all necessary documents are checked, seen in the right hand window. Can you confirm that this is the process you are taking and that you see a similar set up of checked boxes? The Chat2 project you sent me cannot be run on Titanium, to check this for yourself just go to File-> import -> then select the project you have exported (chat2) and see if it will be recognized as a project by Titanium. It wont be because all the necessary files are not present. \n\nAlso, as I had stated in a previous comment: Please provide some more information in the form of \"problem\", \"steps to reproduce\", \"expected behavior\", and \"actual behavior\". This allows for a much clearer understanding of the problem on both sides. I cannot determine what exactly your issue is from the description you have given. Would you like for that error not to arise? As in what is your desired functionality and I will do my best to help you find a resolution. For future reference:\n\nhttps://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report\n\nBest Regards,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T16:59:34.000+0000", "updated": "2013-06-04T16:59:34.000+0000" }, { "id": "255844", "author": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Let's try this. Thank you Carter for your patience.", "updateAuthor": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T16:59:52.000+0000", "updated": "2013-06-04T16:59:52.000+0000" }, { "id": "255846", "author": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Carter, just run the attached project inside a browser and you will encounter the error.", "updateAuthor": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T17:01:51.000+0000", "updated": "2013-06-04T17:01:51.000+0000" }, { "id": "255850", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks Kam,\n\nI got the project to run but you still have not answered my question as to how this is a platform or Ti SDK bug. Would you mind providing some insight as to why this error is a platform bug? This seems to be an issue with your own code. Also the code is very long in order to be considered a test case please read:\n\nhttps://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report\n\nOn what constitutes a test case and how to create a clear and concise bug report.\n\nRegards,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T17:12:28.000+0000", "updated": "2013-06-04T17:12:28.000+0000" }, { "id": "255856", "author": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I cannot trace this bug to the TI Javascript source code. When the source code compiles into HTML5, it generates this error. Therefore the TI SDK engine that creates the HTML5 code is not producing functional code.", "updateAuthor": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T17:20:09.000+0000", "updated": "2013-06-04T17:20:09.000+0000" }, { "id": "255860", "author": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Carter, apparently debugging mobile web apps are somewhat different than other platforms which is what I am used to developing in. Here is a useful link that I found online:\n\nhttp://docs.appcelerator.com/titanium/latest/#!/guide/Mobile_Web_Debugging_and_Testing_Tools\n\nLet me look into this further myself. I apologize for not being well informed on this.", "updateAuthor": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T17:25:49.000+0000", "updated": "2013-06-04T17:25:49.000+0000" }, { "id": "256002", "author": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Carter, I attempted to debug this code using the instructions in the Mobile_Web_Debugging_and_Testing_Tools link. I was able to trace the error to an internal TI library Buffer.js located in the /titanium/Ti/ of the build directory. This is a Javascript library provided with TI to be used in compiling the source code into HTML5 and I am not able to debug it further.", "updateAuthor": { "name": "combyses", "key": "combyses", "displayName": "Kam Rezvani", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T23:20:07.000+0000", "updated": "2013-06-04T23:20:07.000+0000" }, { "id": "285143", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "May be relevant: http://stackoverflow.com/questions/13223210/playn-arraybufferview-size-is-not-a-small-enough-positive-integer\n\nMoving this to engineering as we can reproduce the error with Ti.createBuffer API.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-19T06:14:02.000+0000", "updated": "2013-12-19T06:14:02.000+0000" }, { "id": "424744", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving as Won't Fix as MobileWeb has been deprecated.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-26T04:42:44.000+0000", "updated": "2017-07-26T04:42:44.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }