Project

General

Profile

Actions

Bug #13064

closed

Executing "hammer role filters" command throws SQL errors

Added by Ranjan Kumar over 8 years ago. Updated about 8 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
Actions

Also available in: Atom PDF