{ "id": "63534", "key": "TIMOB-2902", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-05-22T20:56:22.000+0000", "created": "2011-04-15T03:32:31.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [ { "id": "11233", "name": "Release 1.6.0", "archived": true, "released": true, "releaseDate": "2011-02-23" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T22:54:30.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Problem

\n

Ti.Media.Camera's property \"allowImageEditing\", replaced with\n\"allowEditing\", does not do anything anymore, and should be\nremoved. Worse, if both allowImageEditing and allowEditing are\nspecified, the value for allowEditing won't be applied!

\n

Source

\n

Taken from MediaModule.m, 214-221:

\n
\n\nNSNumber * imageEditingObject = [args objectForKey:@\"allowImageEditing\"];  //backwards compatible\nsaveToRoll = [TiUtils boolValue:@\"saveToPhotoGallery\" properties:args def:NO];\n\nif (imageEditingObject==nil)\n{\n    imageEditingObject = [args objectForKey:@"allowEditing"];\n    editable = [TiUtils boolValue:imageEditingObject];\n}\n\n// introduced in 3.1\n[picker setAllowsEditing:editable];\n\n
\nIf \"allowImageEditing\" is not null, \"editable\" will always be\nfalse, even if allowImageEditing is true and allowEditing is true.\n

Associated Helpdesk Ticket

\n

http://developer.appcelerator.com/helpdesk/view/57161

{html}", "attachment": [], "flagged": false, "summary": "iOS: legacy property allowImageEditing on Ti.Media.Camera doesn't do anything", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "194918", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Property doesn't exist anymore and the documentation is reflecting this change correctly. Ticket closed.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-15T15:42:22.000+0000", "updated": "2012-05-15T15:42:22.000+0000" }, { "id": "410864", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T22:54:30.000+0000", "updated": "2017-03-09T22:54:30.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }