Project

General

Profile

Actions

Bug #2797

closed

Saving provisioning template ruins the template when preview mode is selected

Added by Libor Zoubek over 11 years ago. Updated over 11 years ago.

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

Description

Steps to reproduce:

1. edit any existing provisioning template
2. do some changes in Template editor
3. hit "Preview" to see your changes
4. hit "Save" to save your template

Actual results: template gets ruined. Diff (the preview) is saved as template new version of template instead of template body itself.

Expected results: when you hit "Save" template gets saved no matter if you are looking at "Code" or "Preview"


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #2826: New config templates don't save because the set_code() method empties the divClosedSam Kottler07/24/2013Actions
Actions

Also available in: Atom PDF