{ "id": "84258", "key": "AC-3023", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-12-26T14:43:30.000+0000", "created": "2011-12-26T13:56:15.000+0000", "labels": [ "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:48:03.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": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "The following API calls into the module fail expecting to find the TiUtils isIOS4OrGreater procedure:\r\n\r\nimageAsThumbnail\r\nimageAsResized\r\n\r\nThe simulator log is shown below.\r\n\r\n[INFO] One moment, building ...\r\n[INFO] Detected third-party module: ti.imagefactory/1.0\r\n[INFO] Detected third-party module: ti.imagefactory/1.0\r\n[INFO] Titanium SDK version: 1.8.0.1 (12/22/11 13:09 fbdc96f)\r\n[INFO] iPhone Device family: iphone\r\n[INFO] iPhone SDK version: 5.0\r\n[INFO] iPhone simulated device: iphone\r\n[INFO] Launching application in Simulator\r\n[INFO] Launched application in Simulator (1.09 seconds)\r\n[INFO] Found 5.0 patch installed\r\n[INFO] Application started\r\n[INFO] Image Factory/1.0 (1.8.0.1.fbdc96f)\r\n[INFO] [object TiImagefactoryModule] loaded\r\n[INFO] module is => [object TiImagefactoryModule]\r\n[INFO] imageWithAlpha\r\n[INFO] Done\r\n[INFO] imageWithTransparentBorder\r\n[INFO] Done\r\n[INFO] imageWithRoundedCorner\r\n[INFO] Done\r\n[INFO] imageAsThumbnail\r\n[INFO] Failed - {\"message\":\"+[TiUtils isIOS4OrGreater]: unrecognized selector sent to class 0x3fe254\",\"line\":182,\"sourceId\":175233952,\"sourceURL\":\"file://localhost/Users/sam/Library/Application%20Support/iPhone%20Simulator/5.0/Applications/F592638A-4AAB-4D8B-8F45-84D23AF2C5E7/Image%20Factory.app/app.js\"}\r\n[INFO] imageAsResized (LOW)\r\n[INFO] Failed - {\"message\":\"+[TiUtils isIOS4OrGreater]: unrecognized selector sent to class 0x3fe254\",\"line\":187,\"sourceId\":175233952,\"sourceURL\":\"file://localhost/Users/sam/Library/Application%20Support/iPhone%20Simulator/5.0/Applications/F592638A-4AAB-4D8B-8F45-84D23AF2C5E7/Image%20Factory.app/app.js\"}\r\n[INFO] imageAsResized (HIGH)\r\n[INFO] Failed - {\"message\":\"+[TiUtils isIOS4OrGreater]: unrecognized selector sent to class 0x3fe254\",\"line\":192,\"sourceId\":175233952,\"sourceURL\":\"file://localhost/Users/sam/Library/Application%20Support/iPhone%20Simulator/5.0/Applications/F592638A-4AAB-4D8B-8F45-84D23AF2C5E7/Image%20Factory.app/app.js\"}\r\n[INFO] imageAsCropped\r\n[INFO] Done\r\n[INFO] imageAsTransform (cropped,rounded)\r\n[INFO] Done\r\n\r\nThe attached Test project may be used to reproduce the error and validate the fix. Click the top button (labeled \"Add Alpha\") to cycle through the transformations. The error will occur on the fourth click when the button is labeled \"Thumbnail\" and will fail for the next two clicks as the imageAsResized function is used in both LOW and HIGH compression modes.", "attachment": [ { "id": "24845", "filename": "TestProject.zip", "author": { "name": "smason1000", "key": "smason1000", "displayName": "Scott Mason", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-26T14:16:58.000+0000", "size": 2571250, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: ImageFactory module error - [TiUtils isIOS4OrGreater]: unrecognized selector sent to class", "creator": { "name": "smason1000", "key": "smason1000", "displayName": "Scott Mason", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smason1000", "key": "smason1000", "displayName": "Scott Mason", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* Titanium Mobile 1.8.0.1\r\n* iOS 5.0.1\r\n* iOS Simulator 5.0 (272)\r\n* XCode 4.2 Build 4D177b\r\n* MacOS X Lion (10.7.2 Build 11C74)\r\n* Titanium Studio, build: 1.0.7.201112152014", "comment": { "comments": [ { "id": "177215", "author": { "name": "smason1000", "key": "smason1000", "displayName": "Scott Mason", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This report pertains only to iOS operating system.", "updateAuthor": { "name": "smason1000", "key": "smason1000", "displayName": "Scott Mason", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-26T14:16:58.000+0000", "updated": "2011-12-26T14:16:58.000+0000" }, { "id": "177218", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Scott\r\n\r\nThank you for raising this, but it is a duplicate of an existing ticket. Also, even though you cloned that other ticket, you did not follow the format. For both of these reasons, I cannot accept it.\r\n\r\nHowever, your attached project may well be useful. I have added it to the other ticket. Thank you for providing it.\r\n\r\nIf this issue is important to you, watch ticket TC-502.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-26T14:43:23.000+0000", "updated": "2011-12-26T14:43:23.000+0000" }, { "id": "280998", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "DUP issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:29:51.000+0000", "updated": "2013-11-24T22:29:51.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }