Why does PocketQuery drop the pageid from the URL created with dynamic queries?

Is this a bug? Or am I using it wrong?

I embed a PocketQuery macro into my site as follows:

</ac:structured-macro> <ac:structured-macro ac:name="pocketquery">
          <ac:parameter ac:name="name">myQuery</ac:parameter>
          <ac:parameter ac:name="parameters">myParameter=%Joseph%</ac:parameter>
          <ac:parameter ac:name="allowgetparams">true</ac:parameter>
          <ac:parameter ac:name="includechangetemplate">true</ac:parameter>
        </ac:structured-macro>

Where the sql has been defined with single parameter, namely, :myParameter.

It displays fine when I save the page and the URL is:

http://confluencedev/pages/viewpage.action?pageId=11272196

However, when I use the included change template and update the value for myParameter to be Geoffry, and click 'update' I am navigated to a URL lacking the pageId, namely

http://confluencedev/pages/viewpage.action?pq_myParameter=Geoffry

Alas, the pageID is dropped. If I manually insert it into the URL, indeed the page is refreshed, and the parameter is taken.

Confluence Version 5.3
PocketQuery Version: 1.13.1

1 answer

1 accepted

This widget could not be displayed.

Hi Malcolm!

Thank you for discovering this issue! It will be fixed with version 1.13.2 which I will release later this week.

Regards, Felix [Scandio]

Version 1.13.2 is now on the marketplace :)

Agreed - fully fixes the issues raised. Thanks.

Hi Malcolm! If you like PocketQuery, would you consider leaving a review at the Atlassian marketplace? We'd be very glad ;).

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
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

140 views 16 7
Join discussion

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