User shouldn't be able to select more than one category if Allow Multiple Categories is toggled to No
How To articles are not official guidelines or officially
supporteddocumentation. They are community-contributed content and may
not alwaysreflect the latest updates to Liferay DXP. We welcome your
feedback toimprove How to articles!
While we make every effort to ensure this Knowledge Base is accurate,
itmay not always reflect the most recent updates or official
guidelines.We appreciate your understanding and encourage you to reach
out with anyfeedback or concerns.
Legacy Article
You are viewing an article from our legacy
"FastTrack"publication program, made available for
informational purposes. Articlesin this program were published without a
requirement for independentediting or verification and are provided
"as is" withoutguarantee.
Before using any information from this article, independently verify
itssuitability for your situation and project.
Issue
Steps To reproduce
1. Go to Site Content -> Categorization -> Categories
2. Add a new Vocabulary called Test
3. Toggle Allow Multiple categories to No. Click on Save.
4. Add 3 categories in Test - A, B, C
5. Create a new Basic web content
6. Under Metadata > Search category, click on Select
8. This opens a new popup window which allows user to select the categories
9. First select A, and then click on B.
10. Click on Add
Result: You will see both categories for the article.
11. Click on Publish
Result: Liferay will throw a UI warning saying that you cannot select more than one category.

Resolution
- It's a known issue and resolved in Liferay DXP 7.2 fix pack 5.
- If the hotfix is required for this issue, please create a support ticket requesting the hotfix by attaching the patch details.
-
Installing Fix Packs and Hotfixes on Liferay DXP will guide to install this hotfix in the respective environment.
Did this article resolve your issue ?