Project

General

Profile

Bug #24572

Cannot revert template to its earlier state

Added by Adam Ruzicka 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Audit Log
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Steps to reproduce:
1) Clone an existing template
2) Edit the clone, submit changes
3) Edit the clone, submit changes
4) Go to the history tab
5) Pick a revision and click revert

Expected results:
The editor contains the template in its previous state

Actual results:
The editor contains an error, see attachments

Found in develop@6f15c1ed72e6d9cd94b23f93cc0d1d4d0f2842a5

revert-error.png View revert-error.png 79.5 KB Adam Ruzicka, 08/09/2018 07:32 AM
full_error full_error 13.9 KB Adam Ruzicka, 08/09/2018 07:33 AM
Revert error

Related issues

Related to Foreman - Bug #23965: audit: undefined method `each' for "":StringClosed2018-06-17

Associated revisions

Revision fcd9fccc (diff)
Added by Marek Hulán 3 months ago

Fixes #24572 - wrap collection id in array

History

#1 Updated by Adam Ruzicka 3 months ago

  • Related to Bug #23965: audit: undefined method `each' for "":String added

#2 Updated by Adam Ruzicka 3 months ago

Might happen only when there's just one organization

#3 Updated by The Foreman Bot 3 months ago

  • Assignee set to Marek Hulán
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5936 added

#4 Updated by Tomer Brisker 3 months ago

  • Fixed in Releases 1.20.0 added

#5 Updated by Marek Hulán 3 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Marek Hulán 3 months ago

  • Bugzilla link set to 1615761

#7 Updated by Tomer Brisker 3 months ago

  • Fixed in Releases 1.19.0 added

Also available in: Atom PDF