[TIMOB-12361] BlackBerry: Can't create a blackberry project when we have a space or some other characters in the app name.
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-06T18:02:01.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.1.1 |
Components | BlackBerry |
Labels | n/a |
Reporter | Lokesh Choudhary |
Assignee | Pedro Enrique |
Created | 2013-01-22T00:19:02.000+0000 |
Updated | 2013-06-06T18:27:35.000+0000 |
Description
Description:
1.Launch the studio.
2.Go to create titanium project.
3.Select default template.
4.In the app name field type the name of the app with a space e.g 'default app'
Actual Result:
1.You will get the error in studio like "A BlackBerry project cannot have a space, or any of these characters in its name: !$(")&`:;'*?[]#~=%<>{} "
There are no issues with other platforms.
Expected Result:
1.We should be able to create a BB project with spaces in the project name
Attachments
File | Date | Size |
log.txt | 2013-05-24T20:44:18.000+0000 | 4272 |
We should look into why Studio is throwing an error and if this limitation can be removed. I am not sure we need to block the release for this bug, but would be nice to have it in.
The fix has been merged into master but not back ported to 3.1.1 yet
Still seeing the issue while testing a back port for 3_1_X. Will also test master branch once the recent CI build finishes.
Pedro reviewed
Talking with Pedro there is still an issue with app names having multiple spaces. We will address this in the back port pull request which is open and submit a new pull request for master to fix it.
Confirmed multiple spaces in the app name results in a failed build. See log.txt attached to this ticket.
Also some "other" characters like / cause the build to fail. We don't seem to sanitize the name before using it in paths.
Pedro will be looking into this as he has some ideas.
tested multiple spaces and using . (dot) and - (dash) seems those characters work in them
Verified the fix & we can create an app with space in it. Thus closing. Environment: Ti Studio : 3.1.1.201305302344 Ti BB SDK : 3.1.1.v20130530171546 Mac OSX : 10.8.2 win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88 Q10 Simulator : 10.1.0.1720 Q10 Dev alpha C device running 10.1.0.138
ticket missed back port to 3.1.1 as russ did not set merge-3.1.1 label
Backport to 3.1.x https://github.com/appcelerator/titanium_mobile_blackberry/pull/80
Verified & confirmed working as expected in 3.1.1. Thus closing. Environment: Ti Studio : 3.1.1.201306041657 Ti BB SDK : 3.1.1.v20130605141849 Mac OSX : 10.8.3 Alloy : 1.1.3-cr CLI - 3.1.1-cr win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88 Q10 Simulator : 10.1.0.1720 Q10 Dev alpha C device running 10.1.0.138