"Copy Bitbucket commit link" copies commit hash instead of a URI

Issue #87 resolved
Vasyl Boroviak created an issue

Right click any commit, and “Copy Bitbucket commit link”.

Expected: URI copied

Actual: hash (like b98ebb5d) is copied instead.

WebStorm 2019.3.2
Build #WS-193.6015.40, built on January 21, 2020
Runtime version: 11.0.5+10-b520.30 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.2

Comments (6)

  1. Daniil Penkin staff

    Hello @Vasyl Boroviak ,

    The URL is generated in multiple flavours for the clipboard: plain text with just the URL itself and HTML with the URL as the target and commit hash. This allows you to paste a nice looking link into any app that supports HTML flavour. So I think it’s either the app where you paste the link in has a bug and doesn’t handle such clipboard content properly OR you actually pasting a proper link with a custom display value. Where do you paste the link to? Isn’t it Slack by any chance? It has that bug AFAIK.

    Can you try any plain text editor instead — in this case you should get the URL itself.

    Let me know what you find.

    Cheers,
    Daniil

  2. Vasyl Boroviak reporter

    Indeed, it was the Slack. Thank you.

    All the other apps work as expected.

    Apologies.

  3. Daniil Penkin staff

    Awesome, thanks for confirming! I filed a bug with Slack, hopefully they get it fixed soon 🙂

  4. Log in to comment