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 205759 - No help for sample projects
Summary: No help for sample projects
Status: CLOSED INVALID
Alias: None
Product: usersguide
Classification: Unclassified
Component: PHP (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Kenneth Ganfield
URL:
Keywords:
Depends on:
Blocks: 205440
  Show dependency tree
 
Reported: 2011-12-01 09:18 UTC by Vladimir Riha
Modified: 2012-01-02 14:45 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 Vladimir Riha 2011-12-01 09:18:44 UTC
Steps to reproduce: 
- Start NB with fresh user dir
- go to File|New Project|Samples|PHP|[any sample project]
- press Next
- in 2nd step "Name and Location" press Help button
=> Help window is opened with incorrect content (text like "This window contains the master set of all installed documentation...").

I guess it's because there is no help for sample projects. If I create new Java project and again in step "Name and location" opened help, close it and repeat the steps above, then the help for PHP sample project will display help for Java project (previous displayed). Displaying this previous help is IMHO different issue.

Product Version: NetBeans IDE 7.1 RC2 (Build 201111302200)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Linux version 3.0.0-13-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Kenneth Ganfield 2011-12-01 11:49:18 UTC
The behavior you are seeing regarding the previous help topic being displayed is the normal behavior. If help is invoked and no help topic is mapped to that id, the help viewer just displays the last topic that was displayed in the viewer.
Comment 2 Vladimir Riha 2011-12-01 11:52:43 UTC
Thanks for explanation, I wasn't sure about this being a real issue.
Comment 3 Kenneth Ganfield 2011-12-01 12:08:59 UTC
The samples wizard has help ids for the following sample types:

Maven [org.netbeans.modules.maven.samples.MavenSamplesWizardPanel]
Java EE [org.netbeans.modules.j2ee.samples.JavaEESamplesWizardPanel]
PHP
NetBeans Modules

Maven and Java EE samples have the same default help id for all samples
NetBeans Modules have unique help ids for each sample

Help is disabled for the other sample types
Comment 4 Jeffrey Rubinoff 2011-12-01 15:21:02 UTC
Help is and should be disabled for this wizard.
Comment 5 Vladimir Riha 2011-12-01 15:28:27 UTC
Should I file a new issue about disabling the help button or it will be covered by issue #205440 even though #205440 is about New File and not New Project?
Comment 6 Jeffrey Rubinoff 2011-12-01 16:09:45 UTC
Filed a new issue and cc'd you
Comment 7 Marian Mirilovic 2012-01-02 14:45:35 UTC
v/c