[BLUEJ-1359] Teamwork problems (3 bugs: branch name & error msg & password, 1 change: hide "share" if project closed)
Bug 1 Tested with GitHub and remote repository which default branch is "master". If "master" is specified as a branch name in the BlueJ team settings, the checkout of the remote project cannot be achieved and a "ref master already exists" error popup is shown.
Bug 2 Moreover, if the git user name is wrong (I mean that it not an existing one) we receive an authorised error followed by the ref master error mentioned above. We should at least show the first error in the popup message in BlueJ rather than just the second error. Also, the project should not be created on the local since access hasn't been granted. (I have tried if the same occurs when a valid username that is not granted access on the remote project is used - I suppose it would produce the same behaviour).
Bug 3 The password of the team account is not saved (which for GitHub can be very annoying)
The last point is a small change to make: when a project is closed, team action buttons should all disappear. In a local project for example (i.e. not associated to git), the "share" button still shows up.
Issue metadata
- Issue type: Bug
- Priority: Medium