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.
Summary: | ValidateLayerConsistencyTest broken; Bookmarks{Node,Action} not functional | ||
---|---|---|---|
Product: | utilities | Reporter: | Jesse Glick <jglick> |
Component: | URL | Assignee: | Patrick Keegan <pkeegan> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | jskrivanek, jtulach, mmirilovic |
Priority: | P1 | Keywords: | TEST |
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.netbeans.org/download/dev/buildlogs/continuous/20040223-1937/xtest_results/testrun_040223-204332/testbag_1/htmlresults/suites/TEST-org.netbeans.core.projects.ValidateLayerConsistencyTest.html | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | quick fix for bookmark problem |
Description
Jesse Glick
2004-02-23 23:24:42 UTC
*** Issue 40358 has been marked as a duplicate of this issue. *** Created attachment 13594 [details]
quick fix for bookmark problem
I attached a proposed patch. However, sanity checking the fix by building the module, adding it to an an existing build, and trying copy a bookmark instance from actions to the menu threw a missing resource, so I would only commit it in conjunction with adding these two keys to the bundle file: Templates/Other/bookmark.url=Web Bookmark Bookmarks=&Bookmarks Jesse, if you sanity check the patch, I'll apply it within the half hour. BTW, I prefer the second option that you listed, but for some reason I couldn't get it to work properly at the moment, but that's what I'll probably ask Marian to do permanently No idea what you are talking about w.r.t. the bundle key for Templates/Other/bookmark.url; this file is unrelated to the Bookmarks/ folder, was not deleted, and still has a bundle key in .../url/Bundle.properties as it should. The MRE you got is probably because you failed to comment out <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.url.Bundle"/> <attr name="helpID" stringvalue="org.netbeans.modules.url.BookmarksNode"/> RE: Templates/Other/bookmark.url; Yep, I misread my diff. RE the uncommented out attributes, I assumed that they would have to stay around for the folder to mean anything But the folder *doesn't* mean anything any more. *** Issue 40371 has been marked as a duplicate of this issue. *** *** Issue 40405 has been marked as a duplicate of this issue. *** fixed by commenting out the relevant files from Layer.xml the remaining changes to be done: - delete the commented sections - delete the unused Java files I see that the commit validation is working now. Thanks a lot for your help, Marian. One thought: the Studio folks have been using URL files in the Filesystems window. Would the deletion of BookmarksAction.java and BookmarksNode.java prevent them from using URLs in the future? Nope, *.url files should work fine without BookmarksAction and BookmarksNode. Is there an issue filed for the remaining tasks like deleting BookmarksAction/Node? These are not yet done. No, there is not. I have not evaluated yet whether it is OK to delete the files. Words like "should work fine" do not sound well to me. Jesse, could you please verify this issue? Thanks. Long dead. |