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.
Open the Map Relationship Field wizard from sun-ejb-jar.xml->Cmp Mappings and click the Help button. You get a blank page. Same with all other persistence-supplied dialogs.
This might be from an out-of-date JavaHelp search database. The JavaHelp search database should be created at build time. Issue 63899 is similar.
Rochelle is not available for now. I'll talk to her next week.
Created attachment 26491 [details] link check of SJS app server help
mystery possibly solved. I just ran the check-javahelp target on the plugin help set, which reports of some malformed XML and dozens of broken links between map IDs in the persistence help set. I assume fixing one line of XML <mapID target="tphelp.ejbconcepts1" url="overview/ejbconcepts1.html"> -> <mapID target="tphelp.ejbconcepts1" url="overview/ejbconcepts1.html" /> will solve a lot of the problems
Yes, Ludo had already found this and we corrected it (though I'm not sure if it's checked in yet). After that correction, some of the help could be shown but other help buttons resulted in a blank page.
The problem was a missing registration of the helpset in the layer. Ludo is adding it to the plugin layer.
fixed ***** CVS exited normally with code 1 ***** cvs commit -m "Fix for P2 http://www.netbeans.org/issues/show_bug.cgi?id=66540\ncannot see some ..." -- layer.xml (in directory C:\acvs\nb_all\serverplugins\sun\appsrv81\src\org\netbeans\modules\j2ee\sun\ide\j2ee\) Checking in layer.xml; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/layer.xml,v <-- layer.xml new revision: 1.8; previous revision: 1.7 done ***** CVS exited normally with code 0 ***** cvs add -- helpset-decl.xml (in directory C:\acvs\nb_all\serverplugins\sun\appsrv81\src\org\netbeans\modules\j2ee\sun\ide\j2ee\) cvs server: scheduling file `helpset-decl.xml' for addition cvs server: use 'cvs commit' to add this file permanently ***** CVS exited normally with code 0 ***** cvs commit -m "Fix for P2 http://www.netbeans.org/issues/show_bug.cgi?id=66540\ncannot see some ..." -- helpset-decl.xml (in directory C:\acvs\nb_all\serverplugins\sun\appsrv81\src\org\netbeans\modules\j2ee\sun\ide\j2ee\) RCS file: /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/helpset-decl.xml,v done Checking in helpset-decl.xml; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/helpset-decl.xml,v <-- helpset-decl.xml initial revision: 1.1 done
f
When doing a link check, I get similar results to the link check I posted earlier. Is there anything in particular that I need to clean and rebuild to get the proper persistence-help.jar?
The persistence .hs file is for a complete helpset, only a subset of which is used in the plugin. So the broken links point to files which were intentionally removed from the jar for the plugin.
Could you then make corresponding changes to the map file? It is horrible to try to debug missing links when there are dozens of ones that don't apply to us.
For this release, no. Just ignore broken links in the map file. If you have broken links in the other files, it's a definite problem. For next release, we'll probably move some of the help to the plugin itself, or at least split things differently, so we should be able to address this.
OK, splitting things would be very helpful