Project

General

Profile

Bug #13369

Long parameter names are truncated and overriden together

Added by Jeff Sault over 3 years ago. Updated about 1 year ago.

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

Description

Class parameters with names longer than 17 characters are truncated in the host edit page. If you have multiple parameters with similar names that are truncated to the same string then when you override one of the parameters, all of them are overridden.

Example screenshot attached, I clicked the "override" button once and it has overridden 11 parameters

Associated revisions

Revision e81cef4c (diff)
Added by Ori Rabin over 3 years ago

Fixes #13369 - Override correct long name parameter

History

#1 Updated by Jeff Sault over 3 years ago

Correction, the parameter names are truncated to 20 chars (_puppetclass_parameter.html.erb)

#2 Updated by Dominic Cleal over 3 years ago

  • Category set to Smart Variables
  • Legacy Backlogs Release (now unused) set to 123

#3 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ori Rabin
  • Pull request https://github.com/theforeman/foreman/pull/3181 added

#4 Updated by Dominic Cleal over 3 years ago

  • Status changed from Ready For Testing to Closed

Fixed on 1.10-stable directly in https://github.com/theforeman/foreman/commit/e81cef4c2d5235210d9afef373ef882685b8569d, not applicable for develop as the refactoring in #11458 also fixed it there.

Also available in: Atom PDF