Project

General

Profile

Actions

Bug #7247

closed

Create migration to fix incorrect counts caused by #5692 and related bugs

Added by Tomer Brisker over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Various cached counters were corrupted by #5692.
Create a migration to reset all counters to their correct values.


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #5692: Puppet environment counters not updatedClosedTomer Brisker05/13/2014Actions
Related to Foreman - Bug #7732: DB migration error: undefined method `counter_cache_column' for nil:NilClassClosedDominic Cleal09/29/2014Actions
Related to Foreman - Bug #11044: rake fix_cached_counters fails "undefined method `counter_cache_column' for nil:NilClass"Duplicate07/07/2015Actions
Actions #1

Updated by Tomer Brisker over 10 years ago

  • Related to Bug #5692: Puppet environment counters not updated added
Actions #2

Updated by The Foreman Bot over 10 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.7.4
  • Pull request https://github.com/theforeman/foreman/pull/1717 added
  • Pull request deleted ()
Actions #3

Updated by Anonymous over 10 years ago

  • Target version changed from 1.7.4 to 1.7.3
Actions #4

Updated by Dominic Cleal over 10 years ago

  • Category set to Rails
  • Translation missing: en.field_release set to 22
Actions #5

Updated by Anonymous over 10 years ago

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

Updated by Dominic Cleal about 10 years ago

  • Translation missing: en.field_release changed from 22 to 21

Bumping to investigate upgrade errors some more (http://pastebin.com/ku4y2Jx7).

Actions #7

Updated by Dominic Cleal about 10 years ago

  • Related to Bug #7732: DB migration error: undefined method `counter_cache_column' for nil:NilClass added
Actions #8

Updated by Dominic Cleal about 10 years ago

  • Translation missing: en.field_release changed from 21 to 22
Actions #9

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #11044: rake fix_cached_counters fails "undefined method `counter_cache_column' for nil:NilClass" added
Actions

Also available in: Atom PDF