Project

General

Profile

Actions

Bug #3180

closed

Array values in settings UI are not displayed correctly after update

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

Status:
Closed
Priority:
Normal
Category:
Settings
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Array values in Foreman's settings UI are not rendered correctly after update.
The updated value saves ok but it is displayed without wrapping brackets. This causes failure on next update attempt. One either has to reload the page to get correct value again or write the brackets manually.

Steps to Reproduce:
1. In foreman go to More > Settings > Puppet
2. Choose any of the fields with array, click it to update, press enter to confirm, wait until it gets saved
3. Value is rendered without wrapping []
4. Another attempt to update causes "Value must be an array" error

Expected results:
Should always render arrays in [a, b, c] format.

Actions #1

Updated by Tomáš Strachota over 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #2

Updated by Dominic Cleal over 10 years ago

  • Related to Tracker #3112: [TRACKER] Issues to be released in 1.3 RC or final added
Actions #3

Updated by Anonymous over 10 years ago

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

Updated by Lukas Zapletal over 10 years ago

  • Related to deleted (Tracker #3112: [TRACKER] Issues to be released in 1.3 RC or final)
Actions

Also available in: Atom PDF