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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

463 views 83 11
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