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

Bug - zh.amnesty.org - can only add one tag per post #474

Closed
SophieAmnesty opened this issue Nov 8, 2024 · 3 comments
Closed

Bug - zh.amnesty.org - can only add one tag per post #474

SophieAmnesty opened this issue Nov 8, 2024 · 3 comments
Assignees
Labels
bug Something isn't working UAT approved This passed User Acceptance Testing

Comments

@SophieAmnesty
Copy link

Describe the bug
A user has reported having difficulty adding more than one tag to posts on the Chinese site.

To Reproduce
Steps to reproduce the behavior:

  1. create a new post
  2. add several tags
  3. save and preview
  4. See only one tag
  5. return to editor - only one tag is still checked.

Expected behaviour
users should be able to add multiple tags to their posts.

Actual behaviour
only one tag saved onto the post.

Link to a page where the bug is reproduced in isolation (optional)
https://ischinesestg.wpengine.com/topic/justice-systems/test/

Platform:
https://www.whatsmybrowser.org/b/UILZ7

Additional context
I noticed their link setup is different - they have the tags in the url. don't suppose it could be something to do with that?

@AmnestyAM
Copy link
Contributor

@SophieAmnesty @jaymcp will correct me if I am wrong but I think thats due to a feature on .org that you cant be both, research and news and impact etc? When they migrate in they will have the same taxonomies etc

@SophieAmnesty
Copy link
Author

Ahh ok, so any of the sites still using multiple lists of terms within the Content Type taxonomy are going to need to change to multiple separate taxonomies.

I've had a look through the sites this morning, I think the sites would be the Chinese and Persian IS sites (which would be good prep for site migration into to .org anyway) and then Ghana, Nigeria, Philippines and Zimbabwe. https://oneamnesty.sharepoint.com/sites/AISFNCWebDevelopment/referencedocuments/Taxonomy%20Audit%20-%20IS%20Hosted%20Sites.xlsx?d=w710e9862e6d5469c8aedb102ec1d28a7&csf=1&web=1&e=eFcGQj

@jaymcp
Copy link
Contributor

jaymcp commented Dec 4, 2024

Sorry for the late reply on this; not sure how I missed it.

It seems that, for some reason, the inability to tag a post with more than one category is a bug triggered by the branding plugin.
In the plugin, we remove block patterns that aren't ours (e.g. WooCommerce, Yoast, etc.) to reduce noise in the editor, and provide a better experience for the editors.
However it seems that, in unregistering those patterns, somehow WP can no longer load in the full list of terms assigned to the post in the editor.

This makes absolutely no sense to me whatsoever, but at least I have a starting point to figure out a solution.

@jaymcp jaymcp moved this from To do to PR Created (ready for Review) in Humanity Web Development Dec 4, 2024
@jaymcp jaymcp assigned jaymcp and unassigned AmnestyAM Dec 4, 2024
@Gentyspun Gentyspun moved this from PR Created (ready for Review) to PR Approved (ready for DEV) in Humanity Web Development Dec 5, 2024
@jaymcp jaymcp moved this from PR Approved (ready for DEV) to Approved to Merge (to STG) in Humanity Web Development Dec 10, 2024
@jaymcp jaymcp moved this from Approved to Merge (to STG) to Merged to STG (ready for UAT) in Humanity Web Development Dec 10, 2024
@jaymcp jaymcp added the UAT required This requires User Acceptance Testing label Dec 10, 2024
@AmnestyAM AmnestyAM added UAT approved This passed User Acceptance Testing and removed UAT required This requires User Acceptance Testing labels Dec 11, 2024
@AmnestyAM AmnestyAM moved this from Merged to STG (ready for UAT) to UAT Approved (ready for release) in Humanity Web Development Dec 11, 2024
@jaymcp jaymcp closed this as completed Dec 11, 2024
@jaymcp jaymcp moved this from UAT Approved (ready for release) to Released to PRD in Humanity Web Development Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working UAT approved This passed User Acceptance Testing
Projects
Status: Released to PRD
Development

No branches or pull requests

3 participants