No Code Attached Yet
avatar petrovicivan
petrovicivan
10 Nov 2025

Hi all,

Steps to reproduce the issue

Backend Administration

Navigate: Content > Categories

Create new category “Source category”
Save & Close
Navigate: Content > Fields

Change dropdown from “Articles” to “Category”
Create New text field “Test text field”
Assign the field category to our new category “Source category”
Save & Close
Navigate: Content > Categories

Open category “Source category”
Open Fields and put some text in the text field
Save & Close

Now we want to duplicate our category
Open category "Source category"
Save and Copy

Bug

When using the "Save & Copy" feature on an existing Category that contains custom fields and values, the duplicated category loses both the custom field visibility (until published) and the copied field values. This behavior is inconsistent with the duplication of Articles, where custom field values are retained.

Expected result

  • The duplicated category should retain the same custom field visibility as the source (e.g., the "Fields" tab should be visible regardless of the status, or at least visible with the option to edit).
  • The duplicated category should copy all Custom Field values from the "Source Category," mirroring the behavior observed when duplicating an Article.

Actual result

  • The "Fields" tab (containing custom fields) is hidden while the category status is Unpublished.
  • Changing the status to Published makes the "Fields" tab visible.
  • Once visible, the custom fields are empty, not retaining the values from the "Source Category".

Additional Context

The duplication process for Articles successfully copies both the custom field structure and the data values, indicating that the capability exists within the system but is not correctly implemented for Categories.

System information

Joomla!: 5.4.0
PHP: 8.2

avatar petrovicivan petrovicivan - open - 10 Nov 2025
avatar joomla-cms-bot joomla-cms-bot - change - 10 Nov 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Nov 2025
avatar petrovicivan petrovicivan - change - 12 Nov 2025
Title
Caterogy - Save as Copy doesn't copy values from the custom fields
Category - Save as Copy doesn't show custom Fields to new Unpublished category and doesn't copy field values
avatar petrovicivan petrovicivan - edited - 12 Nov 2025
avatar petrovicivan petrovicivan - change - 12 Nov 2025
Title
Category - Save as Copy doesn't show custom Fields to new Unpublished category and doesn't copy field values
Custom Field Data and Visibility Lost Upon Category Duplication (Save & Copy)
avatar petrovicivan petrovicivan - edited - 12 Nov 2025
avatar petrovicivan petrovicivan - change - 12 Nov 2025
The description was changed
avatar petrovicivan petrovicivan - edited - 12 Nov 2025

Add a Comment

Login with GitHub to post a comment