The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Bug #20279

HTTP 500 is returned if the first component of a query is an extract

Added by Branan Purvine-Riley about 3 years ago. Updated over 2 years ago.

Status:AcceptedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Keywords: Affected PuppetDB version:1.2.0
Branch:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket is now tracked at: https://tickets.puppetlabs.com/browse/PDB-207


Description

Similar to #20257, this is a case of an invalid query not being detected before things break.

curl -v -G -H "Accept: application/json" --data-urlencode 'query=["extract", "exported", ["=", "exported", false]]' http://localhost:8080/v2/resources/Package

History

#1 Updated by Branan Purvine-Riley about 3 years ago

  • Description updated (diff)

#2 Updated by Ken Barber about 3 years ago

  • Status changed from Unreviewed to Accepted
  • Affected PuppetDB version set to 1.2.0

#3 Updated by Charlie Sharpsteen over 2 years ago

Redmine Issue #20279 has been migrated to JIRA:

https://tickets.puppetlabs.com/browse/PDB-207

Also available in: Atom PDF