No Code Attached Yet bug
avatar rbuelund
rbuelund
4 Jan 2023

Steps to reproduce the issue

(maybe this has something with the create order to do - therefore I write my actual itemid's)

Create two article categories:
Cat1 (catid-14)
Cat2 (catid-15)

Create theese four menu items :
Menu type: Create article - fixed category set to Cat1 (itemid-122)
Menu type: Create article - fixed category set to Cat2 (itemid-211)
Menu type: Category list - show Cat1 (itemid-199)
Menu type: Category list - show Cat2 (itemid-216)

In frontend go to the menu item for Category list - show Cat1

Press New article button

Expected result

The editor page that opens upon pressing New article has the menu itemid-122 (Cat1-new article) in the body tag

Actual result

The editor page that opens upon pressing New article has the menu itemid-211 (Cat2-new article) in the body tag

System information (as much as possible)

Joomla 4.2.6

Additional comments

This is not good if you want to show a specific module in the top of the edit screen.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar rbuelund rbuelund - open - 4 Jan 2023
avatar rbuelund rbuelund - change - 4 Jan 2023
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jan 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Jan 2023
avatar rbuelund rbuelund - change - 4 Jan 2023
The description was changed
avatar rbuelund rbuelund - edited - 4 Jan 2023
avatar rbuelund rbuelund - change - 4 Jan 2023
The description was changed
avatar rbuelund rbuelund - edited - 4 Jan 2023
avatar Catriona
Catriona - comment - 12 Jan 2023

I am experiencing the same problem. I have 2 categories, I have a menu with 4 items, as reported above, I have changed the menu items order, I have tried just using one menu with only one category on it, nothing helps, it always opens the create screen for category 1 when the New Article button on the category list is clicked. It does have the correct category in the article, but the links on the cancel/save button go back to the wrong page. The 'create cat2' menu item works correctly, it is only the new article button on the category list page which is not working.


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

avatar Techydeveloper12
Techydeveloper12 - comment - 17 Jan 2023

i want to work on this issue please assign me this task @joomla-cms-bot @

avatar rbuelund
rbuelund - comment - 17 Jan 2023

I have a new experince which I belive is related to this problem. I have created two different child templates which have different overrides for com_content/category/default_articles.php.

I connect the one child template to one menu item of type category-list, and the other child template to another menu item also of type categori-list. Both menu items are set to display the same category.

When I now go into one of the two menu items in frontend, then one of the child-template overrides, hi-jacks and it it is not possible to show the correct override for this menu item unless I unpublish the other menu item !!??

avatar Techydeveloper12
Techydeveloper12 - comment - 17 Jan 2023

i want to work on this issue please assign me this task @rbuelund

avatar rbuelund
rbuelund - comment - 17 Jan 2023

Sorry - but I do not know how to assign you. I do not think I can...

avatar Techydeveloper12
Techydeveloper12 - comment - 17 Jan 2023

i want to work on this issue please assign me this task @dziudek @philip-sorokin

avatar alikon
alikon - comment - 17 Jan 2023

there is no need to assign , simply submit a pull request that's all

avatar Hackwar Hackwar - change - 23 Feb 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 23 Feb 2023

Add a Comment

Login with GitHub to post a comment