Pocketquery failed to enable after install of v2.0

Just tried updating pocketquery to v2.0 and it won't "Enable". I've uninstalled and reinstalled with still the same result. We are Running Confluence 5.4.3.

EDIT: Reverted to version 1.14.8 and it works perfectly

7 answers

1 accepted

This widget could not be displayed.

Hi Peter!

This is more an issue with the Confluence Chart macro that doesn't sometimes accept the output of PocketQuery. We had this on Answers before and there is also a related known issue in the Chart macro.

What is your chart like? You know that PocketQuery has embedded chart and diagram features?

Regards, Felix (Scandio)

Thanks Felix. Yes I did know about the chart and diagram features, they are awesome, but wasn't sure if I could get it to render the chart "skipping" some of the columns output from the SQL for the chart but include them in the table view. (I use stored procedures due to the amount of data transformation that needs to happen to convert from RAW data to the Summary that is shown. Often these are "reused" from other applications where additional columns are included.) As far as the chart goes, it is a multi-series bar-chart with series coming form column1 and categories (groups) coming form columns 2-7 (I'll attach a Mock-up of the chart in the original question so you can see what I'm hoping to achieve again)

MockupChart.JPG

 

Mock-up expected chart output.

Hi Peter, in general this looks like one of the "Material Bar Charts" examples (http://bit.ly/1Q4WQqy). You can definitely manipulate the data for the chart in the template. Do you have an idea how you could filter your data for the chart? I mean are there some patterns what data should be displayed and what not?

I ended up creating a "chart" template so that the query is only used once on the page. All is working well now Thanks.

This widget could not be displayed.

Hi Peter! Can you show us what's written to the log?

This widget could not be displayed.

Hi Peter! I just found out that version 2.0 is not compatible with 5.4.3. Do you plan to update in the near future? I could provide a fallback for your version with some efforts.

This widget could not be displayed.

We Currently have no plans of going past version 5.4.3 as the very next version is where we lose the ability to create personal tasks. (Also part of the reason why we did not renew our Atlassian contract.) Do you still want a copy of what happened in the logs, or are you able to replicate the issue yourself?

This widget could not be displayed.

Hi Peter! I don't need the logs anymore since I already know what the problem is ;). I created a temporary version that works for Confluence < 5.5. Can you check if this works for you: http://bit.ly/1LKvMFh. I have to say I'm still not sure if I would want to handle this backwards compatibility in the live release.

This widget could not be displayed.

Thanks ever so much for your efforts Felix, they are really appreciated. The snapshot loads and seems pretty snappy too but there is a small problem when using a query nested in a Chart Macro. (I'm putting together some info on that and will upload it soon)

This widget could not be displayed.

Additional Informaton

Using PocketQuery 2.0.1-SNAPSHOT

Page in edit mode (Is using one Pocket query 2x in the same page – One being used for Chart with no dynamic params, second one has Dynamic Params which get applied to both – or at least they used to)

PageEditmode.png

The Pocket Query nested inside the Chart as the data source is complaining about the Doc Syntax (I assume IE Is “forgiving” the missing </meta> tag but the Chart macro doesn’t?)

 

MacroEdit.png

View as seen by the users:

PageView.png

Page Source script (The page Works perfectly with Pocket query 1.4)

PageSource.png

 

 

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 7 hours ago in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

36 views 0 5
Read article

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