Project

General

Custom queries

Profile

Actions

Bug #13064

closed

Executing "hammer role filters" command throws SQL errors

Added by Ranjan Kumar over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Foreman commands (obsolete)
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

hammer role filters throws below error

# hammer role filters
PGError: ERROR:  invalid input syntax for integer: "" 
LINE 1: ..."id" = "filters"."role_id" WHERE (("roles"."id" = '')) ORDER...
                                                             ^
: SELECT  "filters"."id" AS t0_r0, "filters"."search" AS t0_r1, "filters"."role_id" AS t0_r2, "filters"."created_at" AS t0_r3, "filters"."updated_at" AS t0_r4, "filters"."taxonomy_search" AS t0_r5, "roles"."id" AS t1_r0, "roles"."name" AS t1_r1, "roles"."builtin" AS t1_r2, "roles"."permissions" AS t1_r3 FROM "filters" LEFT OUTER JOIN "roles" ON "roles"."id" = "filters"."role_id" WHERE (("roles"."id" = '')) ORDER BY role_id, filters.id LIMIT 20 OFFSET 0

Related issues 2 (1 open1 closed)

Related to Foreman - Bug #13645: Scoped search fails with 500 on postgresql if value can't be convertedNew02/10/2016Actions
Has duplicate Foreman - Bug #14235: Executing "hammer role filters" command throws SQL errorsDuplicate03/16/2016Actions
#1

Updated by Dominic Cleal over 9 years ago

  • Project changed from Plugins to Hammer CLI
  • Subject changed from hammer-cli-foreman: Executing "hammer role filters" command throws SQL errors to Executing "hammer role filters" command throws SQL errors
  • Description updated (diff)
  • Category set to Foreman commands (obsolete)
  • Difficulty deleted (easy)
#2

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/209 added
#3

Updated by Tomáš Strachota about 9 years ago

  • Related to Bug #13645: Scoped search fails with 500 on postgresql if value can't be converted added
#5

Updated by Ranjan Kumar about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
#6

Updated by Ranjan Kumar about 9 years ago

  • Has duplicate Bug #14235: Executing "hammer role filters" command throws SQL errors added
Actions

Also available in: Atom PDF