Open denisbondar opened 5 years ago
@denisbondar Thanks for the detailed report.
I tracked down the bug to this line in IntellIj's CloseTaskDialog
:
https://github.com/JetBrains/intellij-community/blob/0e91550e746c94ab6afe5c0d36450b93b587dd2d/plugins/tasks/tasks-core/src/com/intellij/tasks/actions/CloseTaskDialog.java#L103
Seems like the commit
function of all the TaskDialog integrations is executed sequentially, so what happens is that the git commit and the gitflow finish actions are executed almost instantaneously, which means that the actual commit doesn't finish by the time the gitflow finish action starts.
I'm not entirely sure how to solve this, since the dialog integration doesn't provide a way to synchronously rely on other integrations. I've pinged the Jetbrains people to see if they have direction.
I'm submitting a ...
What is the current behavior? At the moment of closing the task with enabled options "commit changes" and "finish featue" (or hotfix, bugfix etc.) I got the error "Error: Please have a look at the Version Control console for more details".
After this I just finish feature manually.
The feature/hotfix branch is commit and merged to master/development and deleted.
Please tell me about your environment:
Gitflow4idea version: 0.6.7
Gitflow version: 1.11.0 (AVH Edition)
IntelliJ Help -> about > click copy icon and paste here. Should look like this: