Project

General

Profile

Actions

Bug #39173

closed

Cloning a locked report template via Hammer creates a locked clone

Added by Lukáš Hellebrandt 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
Reporting
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Description of problem:

When a locked report template is cloned using Hammer, the cloned template remains locked.
However, when the same locked report template is cloned via the Web UI, the cloned template is created in an unlocked state.

For consistency and usability, cloning a template (regardless of method) should result in an unlocked template.

The same applies to webhook templates (ticket marked as duplicate).

How reproducible:

Always

Is this issue a regression from an earlier version:

No

Steps to Reproduce:

Identify an existing locked report template.

Clone the template using Hammer:

Actual behavior:
The cloned report template is created as locked when cloned via Hammer.

Expected behavior:
The cloned report template should be unlocked,

Business Impact / Additional info:

Users must manually unlock templates cloned via Hammer.

Inconsistent behavior between Hammer CLI and UI.

Affects automation and scripting workflows.

Open questions

Does this also affect other template types? Yes, webhooks
Will the CLI or API be changed? API will be changed

Related issues 2 (0 open2 closed)

Related to Foreman - Bug #39176: Can't clone locked Partition table in APIClosedLukáš HellebrandtActions
Related to Webhooks - Bug #39175: Cloning a locked webhook template via Hammer creates a locked cloneClosedLukáš HellebrandtActions
Actions

Also available in: Atom PDF