Bug 201363

Summary: AE: .../name.wsmode from BasicWizardIterator.getCreatedFiles
Product: apisupport Reporter: Jesse Glick <jglick>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED QA Contact: issues <issues.netbeans.org>
Priority: P2 CC: jtulach
Version: 7.1   
Target Milestone: 7.1   
Hardware: PC   
OS: Linux   
Whiteboard:
Issue Type: DEFECT Exception Report:
Bug Depends on:    
Bug Blocks: 198318    

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