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 253444 - DCS project creation fail
Summary: DCS project creation fail
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: ODCS (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-13 16:54 UTC by Tomas Pavek
Modified: 2015-07-25 01:16 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 Tomas Pavek 2015-07-13 16:54:37 UTC
Creating an ODCS project from the IDE fails with "Git client is not available" error message that appears in the wizard. The project gets created but without the default Git repository which the IDE expects.

This is happening since DCS 15.3.3 where the change in project creation behavior was introduced. It's true it's an incompatible change, and hopefully it will be fixed, but still we can see some problems with the NetBeans implementation.

First, the project creation takes a while during which individual services are being provisioned (when the call already returned). So even if the fix on the server is made and the default repository is created again, the IDE still should do some (repeated) check if SCM service and the repository are already available.

Second, the IDE makes the project creation call and it passes successfully - the project is created and returned - so if the IDE can't access the repository (or it's not there even after checking for some time), it should show the user an error like "Your project has been created successfully, but we have not managed to create the Git repository. Please go to the project web and try to create the repository there later." It's not an error that prevented project creation, so the wizard should be closed and the error shown separately (currently the wizard stays opened and when the user tries to press Finish again, they of course get another error that the project name is already in use).
Comment 1 Tomas Stupka 2015-07-23 15:35:36 UTC
fixed in jet-main #efdb88c0bb2b
Comment 2 Quality Engineering 2015-07-25 01:16:30 UTC
Integrated into 'main-silver', will be available in build *201507250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/efdb88c0bb2b
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #253444 - DCS project creation fail