Issues when the "Bitbucket Server - Comment Likes" system plugin is disabled

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

要約

This page describes the issues that are observed when the Bitbucket Server - Comment Likes system plugin is disabled.

Bitbucket versions <= 6.x

For Bitbucket versions 6.x and earlier, the "Like" link in pull request comments will not be shown if the system plugin is disabled.

Here are screenshots illustrating the issue:

Plugin is enabled

The "Like" link is visible

Plugin is disabled

The "Like" link is missing


Bitbucket versions >= 7.0 and < 7.7

In Bitbucket 7.0, pull requests got a makeover and the "Like" link was replaced with a "thumbs up" emoji.

If the system plugin is not enabled, clicking the thumbs up emoji will return a "Comment not found - The requested comment does not exist. It may have been deleted." message, as shown below:

リクエストの詳細

Analysing the web request using browser developer tools will show that the request returned a 404 - Not Found response:

Corresponding server debug logs will show that the request failed to access a resource

2021-08-24 12:14:19,675 DEBUG [http-nio-6764-exec-7] @A54UVx1334x211x0 el5yw0 127.0.0.1 "POST /mvc/error404 HTTP/1.1" c.a.s.i.web.ErrorPageController Page not found attempting to access [/b764/rest/comment-likes/latest/projects/PROJ/repos/repo764a/pull-requests/4/comments/44/likes]


Bitbucket versions >= 7.7

Bitbucket 7.7 introduced comment reactions, which replaced the "thumbs up" emoji.

If the system plugin is not enabled, selecting an emoji reaction will return the error message, "An error occurred - Something went wrong while trying to serve your request. Try reloading the page."

リクエストの詳細

Analysing the web request using browser developer tools will show that the PUT request returned a 405 - Method Not Allowed response:

Sample entry for a "smile" reaction:

There are no corresponding server debug logs for this request.


原因

The system plugin may have been disabled by mistake or failed to get enabled during a restart.

ソリューション

To address the issues, enable the "Bitbucket Server - Comments Likes" system plugin (plugin key: com.atlassian.bitbucket.server.bitbucket-comment-likes)

Procedures

  1. Log on as a system admin user
  2. Go to Administration > Manage apps
  3. Select "System" from the dropdown list in the "Manage apps" list to show the system plugins
  4. Look for "Bitbucket Server - Comment Likes" and click the "Enable" button





最終更新日 2021 年 8 月 30 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.