PocketQuery - rendering not fully completed


In my dashboard testing using PocketQuery I have in the page a first macro to load some data to be used as filter options for the other macros when clicking in the "Execute" button. Intentionally when the page is loaded the first time it only shows the combos as follows:

image2016-4-1 10:0:58.png

Applying some filters (for year 2016, month 01 and what is selected in blue, the result is as follows once I click on the  "Execute" button:

image2016-4-1 9:58:56.png

BUT, if I apply a more "complex" filter selecting more filters for "Type" (what implies further the use of the ListOfStrings in the IN clause of the query) anything (or just one or two graphics) is finally rendered...

image2016-4-1 10:8:1.png

The queries are ok and are executed fast... If do not use the first macro for the filters and I use the "change params template" everything is rendered and displayed without any problem... what makes me think that there is some kind of problem dealing with the management of the memory/performance of pocketquery or maybe my installation...

I've tried to check and increase timesouts, caches sizes and everything I could check as Admin of my Confluence installation but the problem persists... I've also installed version 2.1 found here... but without success for my problem... no error messages are displayed...

Any help will be welcome!  wink


2 answers

1 accepted

0 votes
Answer accepted

I've finally found the solution!

I added this to the beginning of the script in the template:


jQuery.ajaxSetup({timeout: 60000});


Apparently it was a timeout question!

Hope it helps someone else!


Hi Cuto! Please add a log level DEBUG in ConfluenceAdmin for this package:

Please view your page again and send us the logs, if possible.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 4 hours ago in United States

Atlassian acquires AgileCraft

         Good Day, Bad bad traffic, not sure why!!!! 1/2 hour commute took me 2 hours today 🤯 What helped me is that I kept browsing LinkedIn until...

25 views 1 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you