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 31421 - Taglibed: Menuitem is enabled for tag library jar recipe
Summary: Taglibed: Menuitem is enabled for tag library jar recipe
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -S1S-
Hardware: All All
: P4 blocker (vote)
Assignee: robertgregor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-25 00:48 UTC by Jason Rush
Modified: 2004-08-13 12:12 UTC (History)
2 users (show)

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 Jason Rush 2003-02-25 00:48:03 UTC
Description: 
Using Orion kit 020124 on Windows

To reproduce:

1) Create a new tld file
2) Generate a Tag Handler
3) Create new tag library jar recipe
4) Choose Tools->Add Tag Library to Repository

This menuitem shouldn't be enabled since the
jar recipe hasn't been compiled.



Evaluation: 
In S1S41, we changed the behaviour of the AddTagLibraryToRepository
to be enabled on all jars, whether they have tag libraries in them
or not. (It's a performance issue). This behaviour chnage subsumes this bug. 


Jason points out that the new behaviour doesn't subsume this bug, since we're 
not checking if the jar recipe has been compiled. That check should happen 
in the perform action, rather than the enable, though.

A comment.
Comment 1 Jason Rush 2003-03-02 20:35:03 UTC
Transferred from BugTraq #4628077.
Comment 2 Milan Kuchtiak 2004-08-05 17:06:42 UTC
TLD node doesn't contain the "Create TLD jar" action in 4.0.
Also "Add TLD to Repository" action doesn't exist.
Not relevant to current code any more.