{ "id": "76484", "key": "TIMOB-4445", "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": [ { "id": "11356", "description": "Mobile 1.8.0 M03", "name": "Sprint 2011-24", "archived": true, "released": true, "releaseDate": "2011-06-20" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-27T14:47:45.000+0000", "created": "2011-06-16T07:20:48.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "updated": "2011-10-27T14:47:53.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": "h1. Problem\r\nThe module.py in the module template always warns that the default license text is being used:\r\n{code}\r\nplease update the LICENSE file with your license text before distributing\r\n{code}\r\n\r\nh1. Fix\r\nLine 102 of support/module/iphone/templates/build.py is wrong:\r\n{code:title=existing.build.py}\r\n\tif c.find(module_license_default)!=1:\r\n{code}\r\n!=1 should be !=-1", "attachment": [], "flagged": false, "summary": "Module build.py Always Warns About Default License", "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": "156901", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "h2. Pull Request\r\nhttps://github.com/appcelerator/titanium_mobile/pull/125", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-06-16T07:22:42.000+0000", "updated": "2011-06-16T07:22:42.000+0000" }, { "id": "156916", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "h2. Test\r\n1. [Create a new iOS module|http://wiki.appcelerator.org/display/guides/Module+Developer+Guide+for+iOS]\r\n2. ./build.py it\r\n3. Notice the warning that the LICENSE has not been customized\r\n4. Customize the LICENSE file (replace the existing content with the text \"Hello, world!\"\r\n5. ./build.py it\r\n6. If the bug is present, you will still see the warning. With the above fix, you will not see the warning.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-06-16T10:20:42.000+0000", "updated": "2011-06-16T10:20:42.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }