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 155792 - New connection from database connection picker not working
Summary: New connection from database connection picker not working
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P2 blocker (vote)
Assignee: Rob Englander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-18 20:01 UTC by David Vancouvering
Modified: 2009-02-19 20:38 UTC (History)
1 user (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 David Vancouvering 2008-12-18 20:01:59 UTC
- Build NB with PHP support (ant -Dcluster.config=php)
- Create a new PHP project
- Go into the php section of index.php
- Source->Insert Code...->Database Table
- In connection drop-down, choose new connection
- Create a connection to a database on a running MySQL Server
- Connection seems to proceed, but the dialog says "connection to database failed"
- Go to Services tab, connection appears to be connected but is not (perhaps this is another bug, one I think that got
fixed).
- Choose Connect... and it connects no problem.  Why didn't it connect the first time?
Comment 1 Rob Englander 2008-12-18 23:03:03 UTC
I'll check in the fix tomorrow.
Comment 2 Rob Englander 2008-12-19 15:44:04 UTC
Well, I thought I was going to check in a fix.  But since doing a full build of the latest, I can't reproduce this
anymore.  David, can you try again with the latest and let me know if you still see this error?
Comment 3 David Vancouvering 2008-12-19 17:02:25 UTC
OK, I will next time I do a pull.  Not sure how I'll remember to test this, but I'll try :)
Comment 4 Rob Englander 2008-12-19 17:06:59 UTC
I'll remind you... in January?
Comment 5 Quality Engineering 2008-12-23 17:12:38 UTC
Integrated into 'main-golden', will be available in build *200812231401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/335ca810f370
User: Rob Englander <mindstream@netbeans.org>
Log: #155792 Add newly created connection to connection list before firing connection complete message.
Comment 6 Rob Englander 2009-01-16 15:57:32 UTC
David, here's the reminder I promised.

Can you see if this is still an issue?  Thanks.
Comment 7 Jiri Rechtacek 2009-02-10 11:24:35 UTC
Closed as worksforme. If I'm wrong, please reopen with more details. Thanks