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: | Not working help for "Rename" and both "Replace Constructor with *" refactorings | ||
---|---|---|---|
Product: | usersguide | Reporter: | Jiri Kovalsky <jkovalsky> |
Component: | Java | Assignee: | AlyonaStashkova |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jiri Kovalsky
2013-09-17 09:33:20 UTC
The following help IDs aren't available: org.netbeans.modules.refactoring.java.ui.RenameRefactoringUI.JavaClass org.netbeans.modules.refactoring.java.ui.ReplaceConstructorWithFactoryUI org.netbeans.modules.refactoring.java.ui.ReplaceConstructorWithBuilderUI Reassigning to usersguide. Please evaluate it, thank you. It looks like the help ids were changed between 7.3 and 7.4. The topics exist but are mapped to the following old help ids: org.netbeans.modules.refactoring.java.ui.RenameRefactoringUI org.netbeans.modules.java.hints.jackpot.refactoring.ReplaceConstructorWithFactoryUI org.netbeans.modules.java.hints.jackpot.refactoring.ReplaceConstructorWithBuilderUI If those ids were changed, the following help id for the Invert Boolean dialog might also be changed: org.netbeans.modules.java.hints.jackpot.refactoring.InvertBooleanRefactoringUI Can you confirm if this was also changed and if so give us the new id. We can then update the map file in the usersguide for the new ids. (In reply to Kenneth Ganfield from comment #2) > If those ids were changed, the following help id for the Invert Boolean > dialog might also be changed: > org.netbeans.modules.java.hints.jackpot.refactoring. > InvertBooleanRefactoringUI > > Can you confirm if this was also changed and if so give us the new id. > > We can then update the map file in the usersguide for the new ids. Confirming that in 7.4 the help id for Invert Boolean refactoring dialog is: org.netbeans.modules.refactoring.java.ui.InvertBooleanRefactoringUI Well, Help window gets opened in FCS build but it's empty. Any chance to show the corresponding topics? reassigning Product Version: NetBeans IDE Dev (Build 201311080001) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb) In the dev build the following ids are now mapped to the correct topics: org.netbeans.modules.refactoring.java.ui.RenameRefactoringUI.JavaClass org.netbeans.modules.refactoring.java.ui.ReplaceConstructorWithFactoryUI org.netbeans.modules.refactoring.java.ui.ReplaceConstructorWithBuilderUI The id org.netbeans.modules.refactoring.java.ui.RenameRefactoringUI.JavaClass maps to the Rename Dialog topic. However, the help id for the Rename refactoring dialog changes according to the type of element that is selected. The following ids are called when renaming the corresponding element. org.netbeans.modules.refactoring.java.ui.RenameRefactoringUI.Method org.netbeans.modules.refactoring.java.ui.RenameRefactoringUI.Field These ids do not have corresponding topics. Is it necessary to have three unique ids and three unique topics? In the javahelp tool it is not possible to map multiple help ids to a single topics. So there must be either the same id for the different cases or a topic for each case. Added separate F1 topics for the Rename Method and Rename Field dialog boxes and mapped them to the respective help ids in both NB 7.4 and 8.0 csh books. Leaving the issue open to verify on a product build. Should this issue be closed fixed now? Verified using development build 201402040001. Closing as fixed. Product Version: NetBeans IDE 8.0.1 (Build 201408222300) Java: 1.8.0_20; Java HotSpot(TM) 64-Bit Server VM 25.20-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26 System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb) User directory: /home/cesilko/.netbeans/8.0.1 Cache directory: /home/cesilko/.cache/netbeans/8.0.1 Verified. |