Bug 476821 - "Init Git Flow" action is displayed for project not shared with Git team provider
Summary: "Init Git Flow" action is displayed for project not shared with Git team prov...
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Gitflow (show other bugs)
Version: 4.1   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 4.2   Edit
Assignee: Max Hohenegger CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-07 18:08 EDT by Matthias Sohn CLA
Modified: 2015-12-16 04:28 EST (History)
1 user (show)

See Also:


Attachments
Team menu shows "Init Git Flow" on project not shared with Git team provider (131.08 KB, image/png)
2015-09-07 18:10 EDT, Matthias Sohn CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Sohn CLA 2015-09-07 18:08:21 EDT
- create a new Java project
- in package explorer click "Team" on the project
- the team menu contains the action "Init Git Flow" despite it's not shared with the Git team provider which doesn't make sense

Git specific actions must only be shown on projects shared with the git team provider
Comment 1 Matthias Sohn CLA 2015-09-07 18:10:38 EDT
Created attachment 256428 [details]
Team menu shows "Init Git Flow" on project not shared with Git team provider
Comment 2 Max Hohenegger CLA 2015-09-08 09:30:33 EDT
I assume the visibleWhen expression is not evaluated properly because the plug-in has not been started yet.
Can you confirm that this happens only if you open the menu before executing any other Gitflow functions?

In that case this issue has the same cause as this one: https://bugs.eclipse.org/bugs/show_bug.cgi?id=468884
Comment 3 Eclipse Genie CLA 2015-12-07 16:18:31 EST
New Gerrit change created: https://git.eclipse.org/r/62150
Comment 4 Max Hohenegger CLA 2015-12-11 05:17:41 EST
This is related to Bug: 482430