]
Marián Labuda closed JBIDE-21532.
---------------------------------
Verified in JBDS 9.1.0.Beta2 Beta2-v20160122-0528-B256.
OpenShift tooling is not compatible with EGit UI 4.1.1 from
Mars.2.RC1
----------------------------------------------------------------------
Key: JBIDE-21532
URL:
https://issues.jboss.org/browse/JBIDE-21532
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.Beta1
Reporter: Fred Bricon
Assignee: Andre Dietisheim
Priority: Blocker
Fix For: 4.3.1.Beta2
Attachments: org.jboss.tools.openshift.egit.internal.test.EGitTestSuite.txt,
TEST-org.jboss.tools.openshift.egit.internal.test.EGitTestSuite.xml
org.jboss.tools.openshift.egit.ui.util.EGitUIUtils calls
Activator.getDefault().getPreferenceStore().getString(UIPreferences.DEFAULT_REPO_DIR) to
retrieve the defaut git repository defined in EGit. In Egit UI 4.1.1, used by Mars.2,
UIPreferences.DEFAULT_REPO_DIR was removed, so the code no longer compile / will fail to
run.
Simply replacing this call with
Activator.getDefault().getPreferenceStore().getString("default_repository_dir")
doesn't work either, because it'll return an null value