pull-request-notifier-for-bitbucket icon indicating copy to clipboard operation
pull-request-notifier-for-bitbucket copied to clipboard

Help tracking down setting

Open pemercer opened this issue 7 years ago • 3 comments

Bitbucket 5.3.2 Latest PR Notifier plugin

I see the following in logs constantly, cannot find the offending Button or Notification to modify 2017-11-14 12:08:09,828 WARN [http-nio-9001-exec-119] USER *DN1Q0Sx728x6901640x15 r8twcy IP "GET /rest/prnfb-admin/1.0/settings/buttons/repository/1634/pullrequest/3351 HTTP/1.1" c.c.c.s.p.t.Utils.StringUtils ignoring invalid regex pattern: /branches/LANAI/

I have checked: /bitbucket/rest/prnfb-admin/1.0/settings/buttons /bitbucket/rest/prnfb-admin/1.0/settings/notifications

None of the output shows anything matching lanai or LANAI

pemercer avatar Nov 14 '17 20:11 pemercer

If you have access to the database, you can try this:

SELECT * FROM PLUGIN_SETTING WHERE KEY_NAME LIKE '%pull%';

To find the key. And this:

SELECT KEY_VALUE FROM PLUGIN_SETTING WHERE KEY_NAME='se.bjurr.prnfb.pull-request-notifier-for-bitbucket-3'

To find the settings.

There should be some setting with that regexp.

tomasbjerre avatar Nov 15 '17 05:11 tomasbjerre

I have been looking at this off and on, I have searched all of the CLOB and still cannot locate the setting that is showing issue: SQL> select length(KEY_VALUE)FROM PLUGIN_SETTING WHERE KEY_NAME='se.bjurr.prnfb.pull-request-notifier-for-bitbucket-3';

LENGTH(KEY_VALUE)

  278263

pemercer avatar Feb 27 '18 20:02 pemercer

Andi it is on all repos as they get changes, "GET /rest/prnfb-admin/1.0/settings/buttons/repository/4600/pullrequest/2883 HTTP/1.1" c.c.c.s.p.t.Utils.StringUtils ignoring invalid regex pattern: /branches/LANAI/

pemercer avatar Feb 27 '18 20:02 pemercer