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 #1

Updated by Ohad Levy over 11 years ago

  • Target version set to 1.2.1
Actions #2

Updated by Sam Kottler over 11 years ago

  • Assignee set to Sam Kottler
  • Difficulty set to medium
Actions #3

Updated by Sam Kottler over 11 years ago

  • Status changed from New to Ready For Testing
  • Difficulty changed from medium to trivial
Actions #4

Updated by Sam Kottler over 11 years ago

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

Also available in: Atom PDF