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 217578 - BugtrackingOwnerSupport does not respect unmodifiable repository setup
Summary: BugtrackingOwnerSupport does not respect unmodifiable repository setup
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Issuetracking Framework (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-29 12:42 UTC by Ondrej Vrabec
Modified: 2012-11-24 13:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (30.07 KB, image/png)
2012-08-29 12:43 UTC, Ondrej Vrabec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Vrabec 2012-08-29 12:42:36 UTC
Product Version = NetBeans IDE Dev (Build 20120813-084d375b0759)
Operating System = Linux version 3.1.10-1.16-desktop running on amd64
Java; VM; Vendor = 1.7.0_04
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.0-b21

When invoking commit hooks, bugtracking sometimes (when it cannot identify a bugtracking repository for given file) opens a dialog where you can identify the appropriate repo to use. That's fine, but it also:
1) allows to edit credentials for kenai/javanet/ods repositories - should be disabled
2) allows creating a new instance of ODS connector. That's nonsense, that's not allowed even for Services > Issue Trackers > Create Issue Tracker

comming from: 
at org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:291)
        - locked <0x00000000fcecfaa0> (a org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery)
        at org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:167)
        at org.netbeans.modules.bugtracking.util.BugtrackingOwnerSupport$DefaultImpl.askUserToSpecifyRepository(BugtrackingOwnerSupport.java:621)
        at org.netbeans.modules.bugtracking.util.BugtrackingOwnerSupport$DefaultImpl.getRepositoryForContext(BugtrackingOwnerSupport.java:524)
        at org.netbeans.modules.bugtracking.util.BugtrackingOwnerSupport$DefaultImpl.getRepository(BugtrackingOwnerSupport.java:504)
        at org.netbeans.modules.bugtracking.ui.issue.IssueAction$3$1.run(IssueAction.java:202)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
Comment 1 Ondrej Vrabec 2012-08-29 12:43:12 UTC
Created attachment 123700 [details]
screenshot
Comment 2 Tomas Stupka 2012-10-25 17:03:13 UTC
fixed in core-main #d535f0a70020
Comment 3 Tomas Stupka 2012-10-25 17:22:40 UTC
fixed in core-main #79e84e0459af
Comment 4 Quality Engineering 2012-10-27 01:36:07 UTC
Integrated into 'main-golden', will be available in build *201210270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d535f0a70020
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #217578 - BugtrackingOwnerSupport does not respect unmodifiable repository setup
Comment 5 Quality Engineering 2012-11-24 13:06:53 UTC
Integrated into 'main-golden', will be available in build *201211240959* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/79e84e0459af
User: Tomas Stupka <tstupka@netbeans.org>
Log: do not provide ODCS repository creation in RepositorySelector
Issue #217578 - BugtrackingOwnerSupport does not respect unmodifiable repository setup