Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0.5]: Category titles displayed as category ID following selection of "create and add another" (Multi-Site Setup) #11476

Closed
richhayler opened this issue Jun 22, 2022 · 2 comments

Comments

@richhayler
Copy link

richhayler commented 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

  1. Create an initial category (e.g. named "test 1"), and then select "create and add another" from the create category dropdown
  2. For the second category (e.g. named "test 2"), add the title and then click "create category"
  3. When viewing the two categories for the selected site they display as expected
  4. 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"
  5. 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.

CleanShot 2022-06-22 at 13 04 04@2x

CleanShot 2022-06-22 at 13 04 54@2x

CleanShot 2022-06-22 at 13 05 17@2x

CleanShot 2022-06-22 at 13 05 38@2x

Craft CMS version

4.0.5

PHP version

8.1

@richhayler 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 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
@brandonkelly
Copy link
Member

Thanks for reporting! That’s fixed now for the next release.

@brandonkelly
Copy link
Member

Craft 4.0.5.1 is out now with the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants