aprey10 / open-poker

Jira plugin which adds simple "scrum-poker" to the Issue View page
GNU General Public License v3.0
18 stars 11 forks source link

Call Issues appears white page #34

Closed namyslok closed 1 year ago

namyslok commented 2 years ago

Hi,

issues are not displayed. Blank pages is displayed. It is called with Jira Software 8.22.2/9.1, Firefox 91.6.0esr/Chrome 104.0.5112.81. We analyzed the error together with Atlassian and found that the Open Poker plugin is causing the error. As soon as Open Poker is deactivated, the display works again.

With best regards MaNa

aprey10 commented 2 years ago

Hello, sorry for the long response - I somehow missed this issue.

Hm... that's weird. Do you use Jira Server or Data Center? Did it work before or it was always like that? Have you checked jira logs?

namyslok commented 1 year ago

Hi,

we use Jira DataCenter. The plugin worked before upgrading to Jira 9. There is nothing usable in the log files.

Sandman0724JFW commented 1 year ago

We too are experiencing this exact problem and we work around it by disabling the Open-Poker plugin. We're running Jira server 9.1. Atlassian support noticed the below associated error from our developer console output in Google chrome.

TypeError: $ is not a function at opSyncInit (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&richediton=true:920:292) at HTMLDocument. (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&richediton=true:920:43) at i (batch.js?locale=en-US:169:22867) at Object.add [as done] (batch.js?locale=en-US:169:23187) at E.fn.ready (batch.js?locale=en-US:169:25242) at batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&richediton=true:920:26 at batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&richediton=true:920:193 WRMCB @ batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&richediton=true:1 2?jql=:88

Is this still an open issue or is there a fix?

aprey10 commented 1 year ago

@Sandman0724JFW I managed to reproduce the error that you posted and started investigating it. I'm planning to release the new version with the fix. I'll keep you posted.

aprey10 commented 1 year ago

@Sandman0724JFW , @namyslok Hope you had a good New Year and Christmas,

I identified what caused that javascript issue and published a new version of the plugin (2.3.0) with the fix. I have tested it locally and I don't see that error in Chrome Console anymore. I'm still not sure if that issue could cause a "blank page" since locally I can't reproduce it. Please try to upgrade the plugin to the latest version and let me know if there is any issue.

Also, I have noticed that my test env has some implicit caching and because of that it used an incorrect jira version under the hood and that's why I haven't seen this JS problem before. Now, I fixed that too - so my local testing should be more accurate.

Regards, Andriy

Sandman0724JFW commented 1 year ago

Hi Andriy,

We’ve updated Open-Poker in our Jira environments and it does look to have resolved the issue for us. Thanks so much for your prompt response. Our development team is happy.

Thanks, Jeff

From: aprey10 @.> Sent: Sunday, January 1, 2023 10:31 PM To: aprey10/open-poker @.> Cc: Sanders, Jeff @.>; Mention @.> Subject: Re: [aprey10/open-poker] Call Issues appears white page (Issue #34)

[External: Use caution with links & attachments]

@Sandman0724JFWhttps://urldefense.us/v3/__https:/github.com/Sandman0724JFW__;!!JRQnnSFuzw7wjAKq6ti6!lrR-_LR9iiicoEtVPF5FuIIiIi3bqoJxNa7iIoT157S_ol4Zk_h4eUrmnkN3nJFAjqA$ , @namyslokhttps://urldefense.us/v3/__https:/github.com/namyslok__;!!JRQnnSFuzw7wjAKq6ti6!lrR-_LR9iiicoEtVPF5FuIIiIi3bqoJxNa7iIoT157S_ol4Zk_h4eUrmnkN3_vzbzGA$ Hope you had a good New Year and Christmas,

I identified what caused that javascript issue and published a new version of the plugin (2.3.0) with the fix. I have tested it locally and I don't see that error in Chrome Console anymore. I'm still not sure if that issue could cause a "blank page" since locally I can't reproduce it. Please try to upgrade the plugin to the latest version and let me know if there is any issue.

Also, I have noticed that my test env has some implicit caching and because of that it used an incorrect jira version under the hood and that's why I haven't seen this JS problem before. Now, I fixed that too - so my local testing should be more accurate.

Regards, Andriy

— Reply to this email directly, view it on GitHubhttps://urldefense.us/v3/__https:/github.com/aprey10/open-poker/issues/34*issuecomment-1368669175__;Iw!!JRQnnSFuzw7wjAKq6ti6!lrR-_LR9iiicoEtVPF5FuIIiIi3bqoJxNa7iIoT157S_ol4Zk_h4eUrmnkN3lziuMBE$, or unsubscribehttps://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/A5ABSFDDAS6QYRFEKHJIHBTWQJR25ANCNFSM56K5E4SA__;!!JRQnnSFuzw7wjAKq6ti6!lrR-_LR9iiicoEtVPF5FuIIiIi3bqoJxNa7iIoT157S_ol4Zk_h4eUrmnkN3nrqsfJ0$. You are receiving this because you were mentioned.Message ID: @.***>

aprey10 commented 1 year ago

I'm glad it works! :)

closing the issue