Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-3722

Can't create a new option template or search for an existing one on a product

    Details

    • Severity of Issue:
      Critical
    • Portal Version/s:
      7.1.x
    • Sprint:
      FlexSprint4, FlexSprint5

      Description

      When searching for an option template on a product, errors are thrown in the UI and warnings are thrown in the logs

      Assumptions

      1. At least one catalog and one product

      Steps to Reproduce

      1. Go to Control Panel → Commerce → Products and edit a product
      2. Go to the Options screen
      3. Select the search bar and try try typing a string, e.g. Option 1

      Expected Behavior

      If any options match the string inputted, they are shown as existing options to choose from
      the ability to create a new option template with the name of the string is offered by clicking the Create New button
      If a user clicks the Create New button, a new option template is created with the name of the string and applied to the product.

      Actual Behavior

      Any existing option templates that match the string are not found
      the ability to create a new option template with the name of the string is offered by clicking the Create New button
      If a user clicks the Create New button, a new option is not created
      Warnings thrown in the log

      Error Logs

      2020-05-05 01:41:36.364 WARN  [http-nio-9080-exec-1][code_jsp:178] {code="404", msg="ProxyServlet: /headless-commerce-admin-catalog/v1.0/options", uri=/o/headless-commerce-admin-catalog/v1.0/options}
      

      Reproduced On

      7.1.x

      Tomcat 9.0.33 + HSQL 2.3.3
      marco-leo/liferay-portal-ee:7.1.x
      DXP 7.1 and Commerce git hash 3a8699c6f34d72f58c0b51b00fb18424f6d7b354

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kristin.onias Kristin Onias
              Reporter:
              corbin.murakami Corbin Murakami
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2.1.1