Project

General

Profile

Bug #22898

Preview fails on /clone_template - 404 returned

Added by roman plevka about 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
-
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

on a template "clone" dialog, whenever i click "preview" (do a POST to "/templates/provisioning_templates/{nullid}-{template_name}/preview",

it results in an error with an empty popup.
there is an obvious 404 as the post request tries to put the template id to the uri, which doesn't exist yet ("POST "/templates/provisioning_templates/-foo%20clone/preview"")


Related issues

Has duplicate Foreman - Bug #25134: HTML is shown in alert boxDuplicate

Associated revisions

Revision 5ad06f2c (diff)
Added by Aditi Puntambekar 6 months ago

Fixes #22898 - Preview fails on /clone_template

Revision e444e584 (diff)
Added by Kavita Gaikwad 3 months ago

Refs #22898 - delete action broken for provisioning_templates

History

#1 Updated by Aditi Puntambekar 7 months ago

  • Assignee set to Aditi Puntambekar

#2 Updated by The Foreman Bot 7 months ago

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

#3 Updated by Tomer Brisker 6 months ago

  • Has duplicate Bug #25134: HTML is shown in alert box added

#4 Updated by Lukas Zapletal 6 months ago

  • Triaged changed from No to Yes
  • Fixed in Releases 1.21.0 added

#5 Updated by Aditi Puntambekar 6 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/theforeman/foreman/pull/6444 added

Also available in: Atom PDF