#1381 host.isEnabled API call returns psycopg2.ProgrammingError fault
Closed: Fixed by mikem. Opened by jcupova.

Steps to Reproduce:

host.isEnabled()

Actual result:

Fault: : column "id" does not exist\nLINE 1: SELECT enabled FROM host_config WHERE id = 2 AND active IS T...\n ^\n'>


It is a relict from host history table split. Anyway, @mikem this method is not used anywhere. Doesn't it make more sense to drop it than fix? It is there for more than a year and nobody hit it (I think only possible user could be some builder plugin which we don't know about).

Metadata Update from @tkopecek:
- Issue assigned to tkopecek
- Issue set to the milestone: 1.18
- Issue tagged with: easyfix

PR #1409

Commit acb38cb8 fixes this issue

Commit 650a6976 fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1381

Please continue any further discussion there.

Metadata
Related Pull Requests