You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The category ID appears to be displayed in place of the category title (for categories listed on the categories listing page) when switching to a different site (than the site that was originally selected when the category was created), if the category was originally created following selection of the create category option "create and add another" instead of clicking on "create category".
Steps to reproduce
Create an initial category (e.g. named "test 1"), and then select "create and add another" from the create category dropdown
For the second category (e.g. named "test 2"), add the title and then click "create category"
When viewing the two categories for the selected site they display as expected
When selecting a different site from the dropdown (on the categories page) the second category created is displayed as the category ID and not the title, i.e. "test 2"
This is also the case when switching back to the original site (the category ID is displayed as the title instead of "test 2")
If you then click on the category (i.e. test 2) which has the ID as the title, it opens the edit category page but nothing is displayed for the category title or slug.
What is also interesting is when originally creating the categories, if you don't select the "create and add another" but instead click the button "create category" (for test 1 and test 2) then these titles display correctly when switching to a different site.
Craft CMS version
4.0.5
PHP version
8.1
The text was updated successfully, but these errors were encountered:
richhayler
changed the title
[4.x]: Category Titles Displayed as Category ID for other sites in a Multi-Site setup
[4.x]: Category titles displayed as category ID following selection of "create and add another" (Multi-Site Setup)
Jun 22, 2022
richhayler
changed the title
[4.x]: Category titles displayed as category ID following selection of "create and add another" (Multi-Site Setup)
[4.0.5]: Category titles displayed as category ID following selection of "create and add another" (Multi-Site Setup)
Jun 22, 2022
Description
The category ID appears to be displayed in place of the category title (for categories listed on the categories listing page) when switching to a different site (than the site that was originally selected when the category was created), if the category was originally created following selection of the create category option "create and add another" instead of clicking on "create category".
Steps to reproduce
If you then click on the category (i.e. test 2) which has the ID as the title, it opens the edit category page but nothing is displayed for the category title or slug.
What is also interesting is when originally creating the categories, if you don't select the "create and add another" but instead click the button "create category" (for test 1 and test 2) then these titles display correctly when switching to a different site.
Craft CMS version
4.0.5
PHP version
8.1
The text was updated successfully, but these errors were encountered: