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 32147 - Wrong order of templates in New From Template dialog
Summary: Wrong order of templates in New From Template dialog
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: UI
: 33138 (view as bug list)
Depends on: 32231 32234 32235
Blocks:
  Show dependency tree
 
Reported: 2003-03-19 15:27 UTC by Marian Mirilovic
Modified: 2008-12-22 20:47 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
XML templates group patch (1.16 KB, patch)
2003-03-24 15:19 UTC, _ pkuzel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2003-03-19 15:27:26 UTC
[nb_release35](200303182350) and [s1s5](030318)
have wrong order of templates in New From Template
Wizard. Order is defined in issue 24231.

Order now S1S5 :

        Folder
        JUnit
        Web Services
        XML
        JAR Archives
        Java Package
        Java CLasses
        .....
Comment 1 _ ttran 2003-03-21 15:42:12 UTC
I suspect that the order is messed up during merging things from
different XML layers.  Petr N, please look at this issue
Comment 2 Jan Chalupa 2003-03-21 16:17:27 UTC
This seems to be a fairly recent regression. It's an annoying
usability issue that needs to be fixed for the release -> P1.
Comment 3 Petr Nejedly 2003-03-24 09:41:12 UTC
I'm on it.
Comment 4 Petr Nejedly 2003-03-24 09:54:15 UTC
The order can't be messed by merging. The order is not specified by
position in XML but rather by ordering attributes.
The problem is that the attributes are missing, the order is not fully
specified. It may be caused by leaving RMI from distribution as some
templates are ordered relatively to (nonexisting) RMI folder.
Modules needs to check their template ordering attributes and
fix them.
Not a core problem at all, please pass this along the modules
with inproperly positioned templates. 
Comment 5 Marian Mirilovic 2003-03-24 12:58:43 UTC
I have filed issues:

XML issue 32235
JAR issue 32234
JUnit issue 32231
Webservices 
http://developer.java.sun.com/developer/bugParade/bugs/4836503.html
Comment 6 _ pkuzel 2003-03-24 15:18:58 UTC
*** Issue 32235 has been marked as a duplicate of this issue. ***
Comment 7 _ pkuzel 2003-03-24 15:19:54 UTC
Created attachment 9503 [details]
XML templates group patch
Comment 8 Jiri Rechtacek 2003-03-28 13:47:59 UTC
*** Issue 24776 has been marked as a duplicate of this issue. ***
Comment 9 _ ttran 2003-03-31 14:02:29 UTC
all subissues have been fixed.  Marked this one as fixed too
Comment 10 Jan Becicka 2003-04-01 16:30:14 UTC
This issue was a qbuild stopper. See
http://qa.netbeans.org/q-builds/Q-build-report-200303252350.html

Did you merge the fix into QBE branch?
Thanks

Comment 11 _ ttran 2003-04-01 16:48:52 UTC
this is an umbrella issue.  For qbuild one must merge the fix of the
last subissue, bug 32235 in XML
Comment 12 Marian Mirilovic 2003-04-02 15:18:41 UTC
verified in [nb3.5](200304012350)
Comment 13 mslama 2003-04-22 19:53:56 UTC
*** Issue 33138 has been marked as a duplicate of this issue. ***