Project

General

Profile

Actions

Bug #2092

closed

Create host: no freeip suggestion when Subnet description contains parentheses

Added by Mikael Fridh over 11 years ago. Updated over 11 years ago.

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

Description

Example subnet name: Cabinet 4717 (corp/dev) - when the subnet has this description - the spinner never starts and the "POST freeip" browser request never gets sent to Foreman.

Actions #1

Updated by Mikael Fridh over 11 years ago

  • Assignee changed from Ohad Levy to Mikael Fridh
  • % Done changed from 0 to 90

pullrequested: https://github.com/frimik/foreman/commit/b6769a4f31e64c9e55b4066f43f9858c44147426

should be good to go, see no reason why that new regex wouldn't work. Allow all characters and by means of greedy matching it should strip everything except the last paren group - being the (ip/mask) string.

Actions #2

Updated by Mikael Fridh over 11 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF