Project

General

Profile

Refactor #2801

remove LOWER() in default_scope of models that could cause PG error

Added by Joseph Magen almost 6 years ago. Updated almost 6 years ago.

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

Description

similar to Bug #2602

LOWER is still in default scope for FactName, Model, Operatingsystem, Ptable, Usergroup

I'm including this commit in #2411 refactoring /lib, /models branch

Associated revisions

Revision 60e2072a (diff)
Added by Joseph Magen almost 6 years ago

fixes #2801 - remove LOWER in default_scope of models that could cause PG error

Revision 572daf95 (diff)
Added by Joseph Magen almost 6 years ago

fixes #2801 - remove LOWER in default_scope of models that could cause PG error

(cherry picked from commit 60e2072a7751819b1d870681294e3feff3de3cbf)

History

#1 Updated by Dominic Cleal almost 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Target version set to 1.3.0

https://github.com/theforeman/foreman/pull/802

I might pull this back to 1.2.1 if it fixes the issue reported on foreman-users.

#2 Updated by Dominic Cleal almost 6 years ago

  • Target version changed from 1.3.0 to 1.2.1

#3 Updated by Joseph Magen almost 6 years ago

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

Also available in: Atom PDF