Project

General

Profile

Bug #27005

New editor always thinks there is a change in template

Added by Ondřej Ezr 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JavaScript stack
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

The new editor always make it seems the template changed, even if there is no actual change.

Result - we are unable to change assignment of locked templates

Associated revisions

Revision 31c0fb20 (diff)
Added by Gilad Lekner 6 months ago

Fixes #27005 - Fix Editor changing locked template

History

#1 Updated by Ondřej Ezr 6 months ago

  • Category set to JavaScript stack

#2 Updated by Gilad Lekner 6 months ago

Ondřej Ezr wrote:

The new editor always make it seems the template changed, even if there is no actual change.

Result - we are unable to change assignment of locked templates

Can you provide steps / screenshots on how to reproduce this bug?

#3 Updated by The Foreman Bot 6 months ago

  • Assignee set to Gilad Lekner
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6840 added

#4 Updated by Ondřej Ezr 6 months ago

Discussed offline, but for consistency:

Locked provisioning templates can not be assigned to OS, even though template content is not changed.
Problem is editor is sending the content even though it hasn't changed (and is actually readonly).

#5 Updated by Ohad Levy 6 months ago

  • Target version set to 1.23.0
  • Fixed in Releases 1.23.0 added

#6 Updated by Anonymous 6 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF