Closed dittert closed 7 years ago
Can confirm this. Also see this problem. Seems like some regression inside IDEA external API.
@dmitry-zhuravlev Is the Kobalt server sending you these dependencies duplicated or is it an IDEA regression?
@cbeust It seems that Kobalt server for some reason sends duplicate tasks:
I can filter it within plugin, but I think this should be fixed primarily on Kobalt side.
Definitely looks like a bug on Kobalt side, will take a look.
-- Cédric
On Wed, Mar 29, 2017 at 5:28 AM, Dmitry Zhuravlev notifications@github.com wrote:
@cbeust https://github.com/cbeust It seems that Kobalt server for some reason sends duplicate tasks: [image: image] https://cloud.githubusercontent.com/assets/6297697/24454311/0e578704-1494-11e7-95de-aacb9213003b.png
I can filter it within plugin, but I think this should be fixed primarily on Kobalt side.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cbeust/kobalt-intellij-plugin/issues/71#issuecomment-290074376, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFoovE4Oa6teMJAutotcJFCmB9JFZ7Lks5rqk5ggaJpZM4MpBgD .
I just took a look on the server side and I'm not seeing any duplication:
How can I reproduce this?
You should revert my commit first https://github.com/dmitry-zhuravlev/kobalt-intellij-plugin/commit/81defd2b21bd98fbc0e45a5808a3a9c0b5a80012
I'm showing the server side.
On Mar 30, 2017 10:28 PM, "Dmitry Zhuravlev" notifications@github.com wrote:
You should revert my commit first dmitry-zhuravlev@81defd2 https://github.com/dmitry-zhuravlev/kobalt-intellij-plugin/commit/81defd2b21bd98fbc0e45a5808a3a9c0b5a80012
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cbeust/kobalt-intellij-plugin/issues/71#issuecomment-290619643, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFoonWaupNwLuZwCZdv8j5n4rfigu1qks5rrI8FgaJpZM4MpBgD .
I also have this problem (kobalt 1.0.41, plugin 1.123, IJ 2016.3)
I'm showing the server side.
Very strange... maybe it is some serialization/deserialization issue. Anyway the problem will be solved by using Set instead of List on both sides.
Duplicates should be filtered by using Set
collection.
This bug was filed against 1.0.23.
Content of
Build.kt
:These duplicates seem to be triggered by project refreshes. It doesn't happen all the time, though. I have seen the following:
It doesn't always stay at two. I have also seen three identical tasks.