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 37797 - Create a server configuration when necessary
Summary: Create a server configuration when necessary
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-05 14:30 UTC by Petr Jiricka
Modified: 2004-01-06 01:52 UTC (History)
0 users

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 Petr Jiricka 2003-12-05 14:30:26 UTC
The server configuration file needs to be created
at appropriate times. The user should not be
requested to create it manually. 

Specifically, the configuration file must be created:
- when the user creates a new module.
- when a new target server is chosen for a module,
for which the config file does not exist yet.
Comment 1 Nam Nguyen 2003-12-05 16:47:01 UTC
Mark as FIXED.  
This has been implemented before milestone 4.  The perception of the
bug is because of default server problem:
(http://www.netbeans.org/issues/show_bug.cgi?id=23811).  
When there is no default, no configuration file will be created.
Comment 2 Pavel Buzek 2003-12-05 18:43:02 UTC
Nam, thanks for hot fix. I think that this is no longer a P1 but I do
not agree that the configuration is created "when necessasry". It is
created when the node for data object in web module that has the
configuration cookie is created. Practically speaking this happens
when you display properties of that data object's node.

The correct time for creation of configuration is when the module is
created and when you change the type of server to a type which does
not yet have the configuration in it. 
See also:
http://www.netbeans.org/issues/show_bug.cgi?id=37798
Comment 3 Pavel Buzek 2003-12-16 21:46:50 UTC
the configuration is not created when the web module is created,
further downgrading. Leaving as a reminder, For other types of module
this happens when they create cookies which is not ideal.
Comment 4 Petr Jiricka 2004-01-05 19:58:44 UTC
Pavel, sorry, I don't completely understand your comment. So what
exactly still remains to be done? Thanks.
Comment 5 Pavel Buzek 2004-01-06 01:52:48 UTC
first I made a typo, what I ment was:
"the configuration is now created when the web module is created,"
                        ^

second, I thought that it would have been cleaner if we had an
explicit call from devmodule rather then creating the configuration
silently when there is none, but parhaps this is a cometic issue that
is not so important. I will close this issue and the other can be
filed separately if there is such concern (I will let it be).