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

Steps to Reproduce:

host.isEnabled()

Actual result:

Fault: <Fault 1: '<class \'psycopg2.ProgrammingError\'>: 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

4 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #1409 Merged 4 years ago