Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

In Bitbucket, no forms are visible in the plugin's configuration screen #73

Closed
carlmot opened this issue Oct 7, 2015 · 4 comments
Closed
Labels

Comments

@carlmot
Copy link

carlmot commented Oct 7, 2015

Upgraded from Stash to Bitbucket 4.0.1 and upgraded all plugins. Now, in the pull-request-notifier-for-bitbucket configuration screen, only the list of variables is shown. The forms are missing.
Uninstalled the plugin and reinstalled, same issue (version 2.4).

@tomasbjerre tomasbjerre added the bug label Oct 8, 2015
@tomasbjerre
Copy link
Owner

Does the network tab in the browser say anything?
Anything in your logs on the server?
What if you browse to:
/bitbucket/rest/prnfb-admin/1.0/
Does it give you any json?

There was a problem like this but it should be fixed in 2.4.

@carlmot
Copy link
Author

carlmot commented Oct 8, 2015

Hi Tomas,

Thanks for the prompt response.

Don't seen anything in the logs.
But yes, there is an error seen in the browser 'Network' tab.

Uncaught Error: Syntax error, unrecognized expression:
input[type="checkbox"][name="url"][value="
http://foobar.com:8080/job/pull_request_handler/buildWithParame…UEST_TO_HASH}&pullRequestAction=${PULL_REQUEST_ACTION}&pullRequestComment="${PULL_REQUEST_COMMENT_TEXT}""]b.error
@ batch.js?locale=en-US:68b.tokenize @ batch.js?locale=en-US:80b @
batch.js?locale=en-US:48d.fn.extend.find @
batch.js?locale=en-US:85d.fn.init @ batch.js?locale=en-US:86a.fn.init @
batch.js?locale=en-US:199d @ batch.js?locale=en-US:40(anonymous function) @
se.bjurr.prnfs.pull-request-notifier-for-stash:resources.js:3d.extend.each
@ batch.js?locale=en-US:45(anonymous function) @
se.bjurr.prnfs.pull-request-notifier-for-stash:resources.js:3d.extend.each
@ batch.js?locale=en-US:45(anonymous function) @
se.bjurr.prnfs.pull-request-notifier-for-stash:resources.js:3d.Callbacks.p
@ batch.js?locale=en-US:91d.Callbacks.q.fireWith @
batch.js?locale=en-US:93c @
batch.js?locale=en-US:170d.ajaxTransport.a.send.b @
batch.js?locale=en-US:181

Carl Golaszewski

Motorola Solutions Inc.

Common Applications & Metrics

On Wed, Oct 7, 2015 at 10:26 PM, Tomas Bjerre [email protected]
wrote:

Does the betwork tab in the browser say anything? Anything in your logs on
the server?

There was a problem like this but it should be fixed in 2.4.


Reply to this email directly or view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_tomasbjerre_pull-2Drequest-2Dnotifier-2Dfor-2Dbitbucket_issues_73-23issuecomment-2D146407577&d=AwMCaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=_G978cUAEgFDdhUx0_foD3cvk-fB-H4c-3HSjQY4jfw&m=NP9AdcjAOSSnv0Wt0_cyircEFH8U8ZUI8lMF0Vqazu8&s=aJwyJgDfDWXGZKD4OkJS-oZ2_Sp_9HlLcyIGg_zaBG8&e=
.

@carlmot
Copy link
Author

carlmot commented Oct 8, 2015

The value= string on mouse over is:
http://foobar.com:8080/job/pull_request_handler/buildWithParameters?sourceBranch=${PULL_REQUEST_FROM_BRANCH}&targetBranch=${PULL_REQUEST_TO_BRANCH}&pullRequestId=${PULL_REQUEST_ID}&projectKey=${PULL_REQUEST_FROM_REPO_PROJECT_KEY}&repoName=${PULL_REQUEST_FROM_REPO_NAME}&repoId=${PULL_REQUEST_FROM_REPO_ID}&fromCommit=${PULL_REQUEST_FROM_HASH}&toCommit=${PULL_REQUEST_TO_HASH}&pullRequestAction=${PULL_REQUEST_ACTION}&pullRequestComment=

Carl Golaszewski

Motorola Solutions Inc.

Common Applications & Metrics

On Thu, Oct 8, 2015 at 10:34 AM, CARL GOLASZEWSKI <
[email protected]> wrote:

Hi Tomas,

Thanks for the prompt response.

Don't seen anything in the logs.
But yes, there is an error seen in the browser 'Network' tab.

Uncaught Error: Syntax error, unrecognized expression:
input[type="checkbox"][name="url"][value="
http://foobar.com:8080/job/pull_request_handler/buildWithParame…UEST_TO_HASH}&pullRequestAction=${PULL_REQUEST_ACTION}&pullRequestComment="${PULL_REQUEST_COMMENT_TEXT}""]b.error
@ batch.js?locale=en-US:68b.tokenize @ batch.js?locale=en-US:80b @
batch.js?locale=en-US:48d.fn.extend.find @
batch.js?locale=en-US:85d.fn.init @ batch.js?locale=en-US:86a.fn.init @
batch.js?locale=en-US:199d @ batch.js?locale=en-US:40(anonymous function) @
se.bjurr.prnfs.pull-request-notifier-for-stash:resources.js:3d.extend.each
@ batch.js?locale=en-US:45(anonymous function) @
se.bjurr.prnfs.pull-request-notifier-for-stash:resources.js:3d.extend.each
@ batch.js?locale=en-US:45(anonymous function) @
se.bjurr.prnfs.pull-request-notifier-for-stash:resources.js:3d.Callbacks.p
@ batch.js?locale=en-US:91d.Callbacks.q.fireWith @
batch.js?locale=en-US:93c @
batch.js?locale=en-US:170d.ajaxTransport.a.send.b @
batch.js?locale=en-US:181

Carl Golaszewski

Motorola Solutions Inc.

Common Applications & Metrics

On Wed, Oct 7, 2015 at 10:26 PM, Tomas Bjerre [email protected]
wrote:

Does the betwork tab in the browser say anything? Anything in your logs
on the server?

There was a problem like this but it should be fixed in 2.4.


Reply to this email directly or view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_tomasbjerre_pull-2Drequest-2Dnotifier-2Dfor-2Dbitbucket_issues_73-23issuecomment-2D146407577&d=AwMCaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=_G978cUAEgFDdhUx0_foD3cvk-fB-H4c-3HSjQY4jfw&m=NP9AdcjAOSSnv0Wt0_cyircEFH8U8ZUI8lMF0Vqazu8&s=aJwyJgDfDWXGZKD4OkJS-oZ2_Sp_9HlLcyIGg_zaBG8&e=
.

@tomasbjerre
Copy link
Owner

Should be fixed now in 2.5. Open issue again if still not solved!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants