{ "id": "124628", "key": "TIMOB-16158", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-01-21T00:07:29.000+0000", "created": "2014-01-09T22:40:28.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.2.1", "qe-closed-3.3.0" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-04-25T20:46:14.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "h5.Description\r\nIf the version number in TiApp overview is 3.2.0.GA for example then building the application for BlackBerry device will throw errors saying 3.2.0.GA.1 is an invalid value.\r\n\r\nInside the generated bar-descriptor.xml is:\r\n{code}3.2.0.GA\r\n1\r\n{code}\r\nHowever if it was:\r\n{code}3.2.0\r\n1\r\nGA{code}\r\nthen it will work.\r\n\r\nh5.Steps To Reproduce\r\n1. Import the sample kitchen sink project\r\n2. Build the application to BlackBerry device ensuring that the version number is X.X.X.GA\r\n3. Check the console output\r\n\r\nh5.Expected Result\r\nApp should install without error\r\n\r\nh5.Actual Result\r\nApp installs with error output:\r\n{code}[ERROR] MANIFEST.MF: Invalid value '3.12.1.GA.1' for attribute 'Application-Version'.\r\n[ERROR] MANIFEST.MF: Invalid value '3.12.1.GA.1' for attribute 'Package-Version'.\r\n[ERROR] MANIFEST.MF: Invalid value '3.12.1.GA.1' for attribute 'Application-Version'.{code}", "attachment": [], "flagged": false, "summary": "BlackBerry: Version numbers in TiApp.xml throws errors.", "creator": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.9.1\r\nTitanium Studio, build: 3.2.1.201401081514\r\nTitanium SDK, build: 3.2.1.v20140108194846\r\nCLI: 3.2.1-beta\r\nAlloy: 1.3.1-beta2\r\nBlackBerry SDK: 10.2.0.1055", "comment": { "comments": [ { "id": "288931", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Marking this as invalid. The error is because the version in tiapp.xml has letters in it. This version gets copied into the BlackBerry's bar-descriptor.xml.\r\n\r\nAccording to BlackBerry the versionNumber must be:\r\n{quote}\r\nA string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade. \r\nValues can also be 1-part or 2-part. It is not necessary to have a 3-part value.\r\nAn updated version of application must have a versionNumber value higher than the previous version.\r\n{quote}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-21T00:07:29.000+0000", "updated": "2014-01-21T00:08:28.000+0000" }, { "id": "302586", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing per [~penrique] comment.\r\nVerified the expected behavior with:\r\nAppcelerator Studio, build: 3.3.0.201404221437\r\nTitanium SDK, build 3.3.0.v20140424130915\r\nNode.JS Version: v0.10.13\r\nNPM Version: 1.3.2\r\n├── acs@1.0.14\r\n├── alloy@1.4.0-dev\r\n├── node-appc@0.2.2\r\n├── npm@1.3.2\r\n├── titanium@3.3.0-dev\r\n└── titanium-code-processor@1.1.1-beta1\r\nnpm -g ls titanium: /usr/local/lib\r\n└── titanium@3.3.0-dev (git://github.com/appcelerator/titanium.git#93414d143051df4578b7aa42670008e5ef02c422)\r\nBB10_2_0X.1803 simulator\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-25T20:45:54.000+0000", "updated": "2014-04-25T20:45:54.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }