No Code Attached Yet bug
avatar shawnhy
shawnhy
5 Jan 2021

Steps to reproduce the issue

Step1. Create an article sub-category under Uncategorised, named sub.
Step2. Create a category's custom field group, named test.
Step3. Create a text type category's custom field (or watever type), assign to category "Uncategorised".
Step4. Fill in category sub's custom field. Then unpublish the category and close.
Step5. Click into category sub's edit page. The test tab is disappeared.
Step6. Publish category sub, the tab comback but all data erased.

Expected result

Un-publishing a category with custom field should work like un-publishing an article.

Actual result

Unpublish category makes its custom field tab disappear and data erased

System information (as much as possible)

Joomla! 3.9.23, or eariler
php7.3x
MariaDB10.5.8-

Additional comments

It will be alright if assign the custom field to ALL categories, or child category (sub).
This also happens in J4.0.0 beta4

avatar shawnhy shawnhy - open - 5 Jan 2021
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Jan 2021
avatar shawnhy
shawnhy - comment - 6 Jan 2021

Correct Step3.
Create a text type category's custom field (or watever type), assign to category "uncategorised".


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31869.

avatar shawnhy shawnhy - change - 6 Jan 2021
The description was changed
avatar shawnhy shawnhy - edited - 6 Jan 2021
avatar shawnhy shawnhy - change - 6 Jan 2021
The description was changed
avatar shawnhy shawnhy - edited - 6 Jan 2021
avatar shawnhy shawnhy - change - 6 Jan 2021
The description was changed
avatar shawnhy shawnhy - edited - 6 Jan 2021
avatar sandramay0905
sandramay0905 - comment - 13 Apr 2021

Issue confirmed on Joomla 4 - nightly build.

I also assigned the custom field to the mentioned custom field group test but i guess this makes no difference in the behaviour.

avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: No Code Attached Yet bug
Removed: ?
avatar Hackwar Hackwar - labeled - 22 Feb 2023
avatar joomdonation
joomdonation - comment - 23 Feb 2023

I tried but could not procedure the issue. Could anyone tries to re-procedure it?

avatar brianteeman
brianteeman - comment - 23 Feb 2023

I cant reproduce this following the instructions

avatar joomdonation joomdonation - change - 23 Feb 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-02-23 16:01:44
Closed_By joomdonation
avatar joomdonation joomdonation - close - 23 Feb 2023
avatar joomdonation
joomdonation - comment - 23 Feb 2023

Thanks @brianteeman . As both of us could not re-procedure the issue, maybe it was fixed elsewhere. I'm closing this issue for now. @shawnhy Please feel free to re-open the issue if you can re-procedure it with latest version of Joomla (4.2.8 at this time of writing).

Add a Comment

Login with GitHub to post a comment