Details

      Description

      Steps to reproduce

      1. Navigate to Default site(Liferay DXP) > Categorization > Categories
      2. Add a vocabulary named "test"
      3. Select "test" and add a category named "Category"
      4. Edit "Category" and select Properties tab
      5. Add following key and value
        Key:color
        value:#ffffff
      1. 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.

        Attachments

          Activity

            People

            Assignee:
            chao.wang Chao Wang
            Reporter:
            hau.bui Hau Bui
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              33 weeks, 1 day ago

                Packages

                Version Package
                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