This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 234004 - Remove default whitespace in Application Name of a new Cordova project
Summary: Remove default whitespace in Application Name of a new Cordova project
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks: 233214
  Show dependency tree
 
Reported: 2013-08-06 09:21 UTC by Vladimir Riha
Modified: 2013-08-15 03:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-08-06 09:21:13 UTC
If you create a new Cordova project:
 - invoke New project wizard
 - select HTML5|Cordova Application
 - press Next
 - press Finish


=> then default Application name is "My Application". Whitespace in application name causes issue in Cordova (see [1]). This issue is fixed and scheduled for release 3.1.0 so it is probably no need to sanitize application name. But since there is no release date for 3.1.0 yet, it could be useful not to use "My Application" but "MyApplication" in this process instead so if user creates a default new project, it will work with Cordova 3.0.x.


[1] https://issues.apache.org/jira/browse/CB-4198
Comment 1 Jan Becicka 2013-08-06 15:21:34 UTC
Changeset: 30545ae58d45
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2013-08-06 16:38
Message:
Comment 2 Vladimir Riha 2013-08-07 15:25:04 UTC
Thank you, v.

Product Version: NetBeans IDE Dev (Build Cordova 3.0 Support-16-on-20130807)
Updates: Updates available
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Mac OS X version 10.8.4 running on x86_64; UTF-8; en_US (nb)
Comment 3 Quality Engineering 2013-08-15 03:54:02 UTC
Integrated into 'main-silver', will be available in build *201308150051* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/30545ae58d45
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #234004 - Remove default whitespace in Application Name of a new Cordova project