Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-1453

handle comparison queries with non-numerics

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PDB 3.0.0
    • Fix Version/s: PDB 3.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      PuppetDB 2015-05-20

      Description

      We should throw 400 here. Currently the behavior is this:

      [~/Documents/puppetdb] (master) $ curl -X GET http://localhost:8080/v4/facts -d 'query=["<","value","1"]'
      Wrong number of args (1) passed to: engine/eval10005/columns->fields--10006
      

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                wyatt Wyatt Alt
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: