Project

General

Profile

Feature #22355

Make stripping setting value optional

Added by Ondřej Pražák 11 months ago. Updated 5 months ago.

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

Description

In some cases, we may not want setting value to be stripped when it is a string. foreman_templates has a setting for template prefix, which adds given prefix to template names when importing templates. It is common to have a trailing space in prefix, so that the name after import is 'Community Template Name' instead of 'CommunityTemplate Name', which is the result when the trailing space is stripped before saving 'Community ' as a setting value.


Related issues

Related to Templates - Bug #22352: Satellite 6.3 foreman-templates plugin, API/UI template_sync_prefix has blank space stripped when updatedClosed2018-01-22

Associated revisions

Revision 05d5d2b1 (diff)
Added by Ondřej Pražák 11 months ago

Fixes #22355 - Make stripping a setting value optional

History

#1 Updated by Ondřej Pražák 11 months ago

  • Related to Bug #22352: Satellite 6.3 foreman-templates plugin, API/UI template_sync_prefix has blank space stripped when updated added

#2 Updated by The Foreman Bot 11 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5198 added

#3 Updated by Marek Hulán 11 months ago

  • Legacy Backlogs Release (now unused) set to 330

#4 Updated by Ondřej Pražák 11 months ago

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

Also available in: Atom PDF