Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12361] BlackBerry: Can't create a blackberry project when we have a space or some other characters in the app name.

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-06-06T18:02:01.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.1
ComponentsBlackBerry
Labelsn/a
ReporterLokesh Choudhary
AssigneePedro Enrique
Created2013-01-22T00:19:02.000+0000
Updated2013-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

FileDateSize
log.txt2013-05-24T20:44:18.000+00004272

Comments

  1. Josh Roesslein 2013-05-20

    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.
  2. Russell McMahon 2013-05-23

    The fix has been merged into master but not back ported to 3.1.1 yet
  3. Josh Roesslein 2013-05-23

    Still seeing the issue while testing a back port for 3_1_X. Will also test master branch once the recent CI build finishes.
  4. Russell McMahon 2013-05-24

    Pedro reviewed
  5. Josh Roesslein 2013-05-24

    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.
  6. Josh Roesslein 2013-05-24

    Confirmed multiple spaces in the app name results in a failed build. See log.txt attached to this ticket.
  7. Josh Roesslein 2013-05-24

    Also some "other" characters like / cause the build to fail. We don't seem to sanitize the name before using it in paths.
  8. Josh Roesslein 2013-05-24

    Pedro will be looking into this as he has some ideas.
  9. Russell McMahon 2013-05-25

    tested multiple spaces and using . (dot) and - (dash) seems those characters work in them
  10. Lokesh Choudhary 2013-05-31

    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
  11. Russell McMahon 2013-06-05

    ticket missed back port to 3.1.1 as russ did not set merge-3.1.1 label
  12. Pedro Enrique 2013-06-05

    Backport to 3.1.x https://github.com/appcelerator/titanium_mobile_blackberry/pull/80
  13. Lokesh Choudhary 2013-06-06

    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

JSON Source