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 121261

Summary: 2 SOA folders are visible under selection of other... under BPEL Module
Product: soa Reporter: Narayana Rallabandi <narayanaa>
Component: -- Other --Assignee: Vladimir Yaroslavskiy <yaroslavskiy>
Status: RESOLVED INVALID    
Severity: blocker CC: vsrinivasan
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: BPEL Screen
BPEL Screen
2SOA folders seen one with BPEL Process
LDAP types seen under SOA Project type

Description Narayana Rallabandi 2007-11-06 09:56:33 UTC
While creating the BPEL project. After selecting the other in the BPEL Module we will have 2 SOA options instead of 1.
This is a regression. Look at the attachments. 

User will not have any clue as why there are 2 SOA's. 

This might be probably due to the

<folder name="Templates">
        <folder name="SOA">
            <file name="LTemplate.ldif" url="LTemplate.ldif">
                <attr name="SystemFileSystem.localizingBundle"
stringvalue="org.netbeans.modules.wsdlextensions.ldap.resources.Bundle"/>
                <attr name="template" boolvalue="true"/>
            </file>
            <file name="serverBrowser">
                <attr name="SystemFileSystem.icon"
urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/ldap/resources/ldapfile16x16.png"/>
                <attr name="SystemFileSystem.localizingBundle"
stringvalue="org.netbeans.modules.wsdlextensions.ldap.resources.Bundle"/>
                <attr name="instantiatingIterator"
newvalue="org.netbeans.modules.wsdlextensions.ldap.ServerBrowserWizardIterator"/>
                <attr name="template" boolvalue="true"/>
                <attr name="templateWizardURL"
urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/ldap/serverBrowser.html"/>
            </file>
        </folder>
    </folder>

in the file enterprise\openesbaddons\ldap\src\org\netbeans\modules\wsdlextensions\ldap\resources\layer.xml

with out having the attribute --- <attr name="templateCategory" stringvalue="SOA"/>

I am not too sure if some of the other extensions which are not regularly building are getting regressed..
Comment 1 Narayana Rallabandi 2007-11-06 09:57:54 UTC
Created attachment 52576 [details]
BPEL Screen
Comment 2 Narayana Rallabandi 2007-11-06 09:58:30 UTC
Created attachment 52577 [details]
BPEL Screen
Comment 3 Narayana Rallabandi 2007-11-06 09:59:23 UTC
Created attachment 52578 [details]
2SOA folders seen one with BPEL Process
Comment 4 Vladimir Yaroslavskiy 2007-11-06 09:59:45 UTC
Which build do you use?
Comment 5 Narayana Rallabandi 2007-11-06 10:00:27 UTC
Created attachment 52579 [details]
LDAP types seen under SOA Project type
Comment 6 Vladimir Yaroslavskiy 2007-11-06 10:23:21 UTC
I don't LDAP module in trunk and sierra builds.
Comment 7 Vladimir Yaroslavskiy 2007-11-06 10:34:46 UTC
Can't reproduce in Sierra and NetBeans 6.0.

Note that we don't have one category "SOA" for all SOA projects.
Each project has own category SOA_xxx with the same display name "SOA".
Comment 8 Narayana Rallabandi 2007-11-06 10:53:53 UTC
If thats the case then we need to intimate all the module dev's of SOA the same and also if they want that their project
wants to be visible under the BPEL project module they need to modify the layer.xml as the following:

<folder name="Templates">
        <folder name="SOA_BPEL">
            <file name="untitled.wsdl" url="untitled.wsdl">
                <attr name="template" boolvalue="true"/>
                <attr name="instantiatingIterator"
methodvalue="org.netbeans.modules.jdbcwizard.wizards.JDBCCollaborationWizard.newTemplateIterator"/>
                <attr name="templateWizardURL"
urlvalue="nbresloc:/org/netbeans/modules/jdbcwizard/resources/template.html"/>
                <attr name="SystemFileSystem.localizingBundle"
stringvalue="org.netbeans.modules.jdbcwizard.resources.Bundle"/>
                <attr name="SystemFileSystem.icon"
urlvalue="nbresloc:/org/netbeans/modules/jdbcwizard/resources/SourceTable.png"/>
                <attr name="templateCategory" stringvalue="SOA_BPEL"/>
            </file>
        </folder>
</folder>

Or any other standard way.
Comment 9 Vladimir Yaroslavskiy 2007-11-06 11:23:57 UTC
there is no ldap module in NetBeans 6.0 and Sierra.
Comment 10 Ken Frank 2007-11-06 14:55:43 UTC
in the gif of file new were some choices not usually seen in nb - could this be installing
something from update center or using some other branch or private build,
vs what is installed from official nb6 installer ?

ken.frank@sun.com
Comment 11 Vladimir Yaroslavskiy 2007-11-20 07:35:14 UTC
*** Issue 122332 has been marked as a duplicate of this issue. ***