No Code Attached Yet bug
avatar JackJoeJack
JackJoeJack
10 Apr 2025

Steps to reproduce the issue

  • Create two categories: "Events" and "News"

  • Create two custom fields:
    "events_title", text; assign it to the Events category;
    "news_title", text; assign it to the News category;

  • At the article manager, filter by the Events and News category;

  • Create a new article

  • Go to the fields tab and notice the custom fields there!

Expected result

Depending on the category that is chosen (when filtering by multiple categories, Joomla chooses one, I don't know what is the criteria), it should show only the custom fields for that category!
Let's say Joomla selected "Events" as the category, at the Fields tab, it show only show the "events_title" custom field.

Actual result

Even though (for example) the "Events" category is chosen, at the Fields tab, it shows the custom fields for the Events and for the News (events_title and news_title).

Additionally, if I try to change the category to the other one (ex: if it was "Events", change to "News") it changes nothing (also Joomla's icon doesn't show, indicating that nothing is being loaded).

If I select another category not part of the filtered articles' categories, it reloads the custom fields, and if I change to "Events" it shows the correct (only one) field.

System information (as much as possible)

Joomla 5.2.5
Apache 2.4.54
MariaDB 8.0.27
PHP 8.2.0

Additional comments

avatar JackJoeJack JackJoeJack - open - 10 Apr 2025
avatar JackJoeJack JackJoeJack - change - 10 Apr 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 10 Apr 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Apr 2025
avatar brianteeman
brianteeman - comment - 10 Apr 2025

Surprised but I can confirm this

avatar chmst chmst - change - 15 Apr 2025
Labels Added: bug
avatar chmst chmst - labeled - 15 Apr 2025
avatar QuyTon QuyTon - change - 18 Apr 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-04-18 20:58:10
Closed_By QuyTon
avatar QuyTon QuyTon - close - 18 Apr 2025
avatar QuyTon
QuyTon - comment - 18 Apr 2025

Please test PR #45353.

Add a Comment

Login with GitHub to post a comment