Project

General

Profile

Bug #23679

Nil eror in 20170112175131_migrate_template_to_parameters_macros migration

Added by Lukas Zapletal 4 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Category:
DB migrations
Target version:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

I haven't reproduced myself but:

undefined method gsub' for nil:NilClass for 20170112175131_migrate_template_to_parameters_macros.rb:48

https://community.theforeman.org/t/upgrade-1-16-1-to-1-17-a-on-centos-7-4-centos-7-5/9722

Associated revisions

Revision 57d90df0 (diff)
Added by Lukas Zapletal 4 months ago

Fixes #23679 - Nil error in migrate_template_to_parameters_macros (#5606)

History

#1 Updated by The Foreman Bot 4 months ago

  • Assignee set to Lukas Zapletal
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5606 added

#2 Updated by Marek Hulán 4 months ago

  • Legacy Backlogs Release (now unused) set to 360

the migration was introduced in 1.17, it is probably not widely encountered issue as the value in DB needs to be NULL but still worth of bringing back to 1.17, I'll open PRs with cherry-picks

#3 Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/theforeman/foreman/pull/5608 added

#4 Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/theforeman/foreman/pull/5609 added

#5 Updated by Lukas Zapletal 4 months ago

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

Also available in: Atom PDF