Project

General

Profile

Actions

Bug #2118

closed

Spurious [" "] around new host error message

Added by Dominic Cleal over 11 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Platform: Fedora 17, Ruby 1.9.3, git checkout of master (~1.1RC4)

When saving a host with no template selected on the operating system, an extra set of quotes and square braces are seen around the error message - see the attached screenshot.

This may be a Ruby 1.9 issue, Array#to_s changed in 1.9 to include the [".."] even if there's a single element.


Files

foreman_host_error_quotes.png View foreman_host_error_quotes.png 24.7 KB Screenshot Dominic Cleal, 01/08/2013 08:11 AM
Actions #1

Updated by Benjamin Papillon about 10 years ago

  • Description updated (diff)
  • Status changed from New to Closed

Bug should be fixed now.

Actions

Also available in: Atom PDF