Project

General

Profile

Actions

Bug #7488

closed

On creating hostgroup with html tags, UI appends the closing tag and string in name

Added by Dominic Cleal over 9 years ago. Updated over 5 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1131416
Description of problem:
when you create hostgroup with html tags, UI appends the closing tag and string in name and covert it to a link.

ex: create hostgroup with name <h1>test</h1> and after creation UI will list it as <h1>test

Version-Release number of selected component (if applicable):
sat6 GA snap5

How reproducible:
always

Steps to Reproduce:
1. create hostgroup with name <h1>test</h1>
2. once created, see the listing
3.

Actual results:
UI shows <h1>test

see the string "test" and closing tag"</h1>" appended to the original name.

Expected results:
UI should the given name <h1>test</h1> in listing too and without converted it into a link

Additional info:

Actions #1

Updated by Dominic Cleal over 9 years ago

  • Subject changed from On creating hostgroup with html tags, UI appends the closing tag and string in name and converts it to link to On creating hostgroup with html tags, UI appends the closing tag and string in name
  • Category set to Web Interface

The "/" in the host group name is confusing the UI helpers and it's thinking that it's a nested host group, so is trying to display the parent portion in grey and the name in blue.

Actions #2

Updated by Tomer Brisker over 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Tomer Brisker
Actions #3

Updated by The Foreman Bot over 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/1918 added
  • Pull request deleted ()
Actions #4

Updated by Anonymous over 9 years ago

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

Updated by Dominic Cleal over 9 years ago

  • translation missing: en.field_release set to 21
Actions

Also available in: Atom PDF