Bug 201363 - AE: .../name.wsmode from BasicWizardIterator.getCreatedFiles
AE: .../name.wsmode from BasicWizardIterator.getCreatedFiles
Status: RESOLVED FIXED
Product: apisupport
Classification: Unclassified
Component: Project
7.1
PC Linux
: P2 (vote)
: 7.1
Assigned To: Jesse Glick
issues@apisupport
:
Depends on:
Blocks: 198318
  Show dependency treegraph
 
Reported: 2011-08-26 13:39 UTC by Jesse Glick
Modified: 2011-08-27 14:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2011-08-26 13:39:42 UTC
E.g. when add a new window to a Maven NBM project and asking to customize layout first, get:

java.lang.AssertionError: src/main/resources/test/test200748/left.wsmode
	at org.netbeans.modules.apisupport.project.ui.wizard.common.BasicWizardIterator.getCreatedFiles(BasicWizardIterator.java:358)
	at org.netbeans.modules.apisupport.project.ui.wizard.winsys.NewTCIterator.instantiate(NewTCIterator.java:95)

This is because the resource name on disk has been sanitized to leftWsmode.xml. LayoutIterator and NewTCIterator are both passing incorrect data to layerModifications. Not sure how this could ever have worked.
Comment 1 Jesse Glick 2011-08-26 13:59:59 UTC
core-main #70f175cca0bd
Comment 2 Jaroslav Tulach 2011-08-27 07:10:06 UTC
It seemed to create the right files, but yes, I think it complained. I had no idea what was wrong.
Comment 3 Quality Engineering 2011-08-27 14:12:53 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/70f175cca0bd
User: Jesse Glick <jglick@netbeans.org>
Log: #201363: AE: .../name.wsmode from BasicWizardIterator.getCreatedFiles


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo