{ "id": "148788", "key": "TIMOB-19025", "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": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-06-23T14:48:17.000+0000", "created": "2015-06-15T18:24:39.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-4.1.0" ], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [ { "id": "48122", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "148790", "key": "TIMOB-19027", "fields": { "summary": "Windows: ti.windows.publishername property should be populated on project creation", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "48123", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "148731", "key": "TIMOB-19009", "fields": { "summary": "Windows: Populate default ti.windows.publishername property value", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2015-06-24T18:56:34.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen building a Windows platform project if the property {{CN=Ewan Harris}} is not defined then the build will error out with the below\r\n\r\n{code}\r\nC:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150614181235\\windows\\cli\\commands\\_build.js:1703\r\n publisherName: this.cli.tiapp.properties['ti.windows.publishername'].value,\r\n ^\r\nTypeError: Cannot read property 'value' of undefined\r\n at WindowsBuilder.generateCmakeList (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150614181235\\windows\\cli\\commands\\_build.js:1703:72)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150614181235\\node_modules\\node-appc\\node_modules\\async\\lib\\async.js:610:21\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150614181235\\node_modules\\node-appc\\node_modules\\async\\lib\\async.js:249:17\r\n at iterate (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150614181235\\node_modules\\node-appc\\node_modules\\async\\lib\\async.js:149:13)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150614181235\\node_modules\\node-appc\\node_modules\\async\\lib\\async.js:160:25\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150614181235\\node_modules\\node-appc\\node_modules\\async\\lib\\async.js:251:21\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150614181235\\node_modules\\node-appc\\node_modules\\async\\lib\\async.js:615:34\r\n at WindowsBuilder.generateModuleFinder (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150614181235\\windows\\cli\\commands\\_build.js:1614:2)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150614181235\\node_modules\\node-appc\\node_modules\\async\\lib\\async.js:610:21\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150614181235\\node_modules\\node-appc\\node_modules\\async\\lib\\async.js:249:17\r\n{code}\r\n\r\nh5.Steps To Reproduce\r\n\r\n1. Create a new project\r\n2. Build the project\r\n\r\nh5.Actual Result\r\n\r\nThe build will error out with the above error\r\n\r\nh5.Expected Result\r\n\r\nThe build should not error out", "attachment": [], "flagged": false, "summary": "Windows: Build fails if the ti.windows.publishername is not present", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 8.1\r\nTi CLI: 4.1.0-dev\r\nTi SDK: 4.1.0.v20150614181235", "closedSprints": [ { "id": 436, "state": "closed", "name": "2015 Sprint 13 Windows", "startDate": "2015-06-20T23:02:43.965Z", "endDate": "2015-07-04T23:02:00.000Z", "completeDate": "2015-07-06T14:03:22.174Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "355747", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/309", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-06-23T13:55:58.000+0000", "updated": "2015-06-23T13:55:58.000+0000" }, { "id": "355874", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nClosing as the related tickets provide the fix for this as well. Now we do not have to manually specify the publisher name.\r\n\r\nEnvironment:\r\nAppc Studio: 4.1.0.201506221807\r\nTi SDK: 4.1.0.v20150624102755\r\nTi CLI: 4.0.1\r\nAlloy: 1.6.2\r\nWindows: 8.1 Enterprise 64-bit\r\nAPPC NPM: 4.1.0-1\r\nAPPC CLI: 4.1.0-3 \r\nDevice: Nokia Lumia 928 - Windows Phone 8.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-24T18:55:52.000+0000", "updated": "2015-06-24T18:55:52.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }