-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.X, 7.2.X, Master
-
Fix Version/s: 7.1.10 DXP FP19, 7.1.10.5 SP5, 7.1.X, 7.2.10 DXP FP7, 7.2.X, 7.3.4 CE GA5, 7.3.10 DXP GA1, Master
-
Component/s: Categories
-
Branch Version/s:7.2.x, 7.1.x
-
Backported to Branch:Committed
-
Fix Priority:4
-
Git Pull Request:
Steps to reproduce
- Navigate to Default site(Liferay DXP) > Categorization > Categories
- Add a vocabulary named "test"
- Select "test" and add a category named "Category"
- Edit "Category" and select Properties tab
- Add following key and value
Key:color value:#ffffff
- Click Save
Actual result
No error message is displayed in Liferay and properties are not saved. The following error is thrown in the log.
2020-07-09 07:13:39.583 ERROR [http-nio-8080-exec-6][PortletServlet:119] javax.portlet.PortletException: com.liferay.asset.category.property.exception.CategoryPropertyValueException: Invalid value #ffffff javax.portlet.PortletException: com.liferay.asset.category.property.exception.CategoryPropertyValueException: Invalid value #ffffff
Expected result
It will show an error message and return to the correct tab after validation fail.