We just had a problem with network connectivity between Confluence and DB server, the PQ Admin DB connection check says [Network error IOException: No route to host], but the queries show
PocketQuery experienced an error!
There were errors executing this statement. Please check whether the following parameters are given: [static_username, projekt_nr]. If the parameters are correct, something must be wrong with the query or the database connection. For inspection, please use the debug mode in the macro or contact your administrator.
So all the users are asking me as the one responsible for the queries what happened J
Would it be possible to show a more informative error in the query results?
Thank you for your request and continued interest in PocketQuery! Unfortunately I have to tell you that this is currently not possible. More technically, the root cause of this error is a java.sql.SQLException when the query is executed with org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.queryForList. This SQLException can be of many many different kind which we didn't want to handle specifically. Otherwise we'd have to implement something like "if the sql exception is of this kind, show this error...". And we don't want to show the exception message to "simple" Confluence users because it is too technical. That's why we wrote "something must be wrong with the query or the database connection if the parameters are given". I think in your case it's totally OK that they contact you because you seem to be the responsible for PocketQuery and you already found out that it has to do with the database connection. So in my opinion it's totally ok as it went in your case...
But in general I'm always open to ideas for improvement
Regards, Felix (Scandio)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...
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!
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