Project

General

Profile

Bug #22065

Plugin tests with Rails 5.1 fail with relation "permissions" does not exist

Added by Michael Moll over 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Since Rails was updated to 5.1, plugin tests (except Katello, as it seems) are failing with e.g.:

15:49:09 PG::UndefinedTable: ERROR:  relation "permissions" does not exist
15:49:09 LINE 8:                WHERE a.attrelid = '"permissions"'::regclass


Related issues

Related to Foreman - Bug #21815: Make sure we do not try to search in permissions table when it does not existClosed2017-11-30
Related to Foreman - Tracker #20948: Rails 5.1 upgrade tasksClosed2017-09-16

Associated revisions

Revision 1d92402b (diff)
Added by Ondřej Pražák over 1 year ago

Fixes #22065 - Fix missing permissions table in tests

History

#1 Updated by Michael Moll over 1 year ago

  • Related to Bug #21815: Make sure we do not try to search in permissions table when it does not exist added

#2 Updated by Michael Moll over 1 year ago

#3 Updated by Ondřej Pražák over 1 year ago

  • Assignee set to Ondřej Pražák

#4 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5146 added

#5 Updated by Ondřej Pražák over 1 year ago

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

Also available in: Atom PDF