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

No error message displays when editing a pending order Item Quantity

    Details

    • Sprint:
      FlexSprint01

      Description

      Steps to Reproduce:

      1. Create Minium Sit, and create an account on it.
      2. Place and complete order with at least 1 item
      3. Go to Control Panel>Commerce>Orders
      4. Edit order and select an item
      5. Change ordered item quantity (make sure no requested delivery date is set) and save

      Expected Result
      Quantity to be updated OR Error message saying why it cannot be

      Actual Result:
      Success Alert pops up, but quantity goes back to original order quantity. Portal console pops up with the following error message

      2020-03-16 22:42:21.854 ERROR [http-nio-8080-exec-7][EditCommerceOrderItemMVCActionCommand:146] com.liferay.commerce.exception.CommerceOrderItemRequestedDeliveryDateException
      com.liferay.commerce.exception.CommerceOrderItemRequestedDeliveryDateException
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      

       

      There could either be something that marks requested delivery date as required and an error message pop up to inform you that is hasn't been filled out, OR make it not a required field. Right now its just confusing.

      Reproduced on:
      Tomcat 9.0.17 + MySQL 5.7
      Tomcat 9.0.17 + MySQL 5.7. Portal 7.1.X GIT ID: 3fba303dabb51b91d7db909e03d030a7fca2c1e9

       

      Tomcat 9.0.17 + MySQL 5.7. Portal 7.2.X GIT ID: 0d9ba9294137200b63791c951d74974704b8dfc0

        Attachments

          Activity

            People

            Assignee:
            michael.eguina Michael Eguina
            Reporter:
            michael.eguina Michael Eguina
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2.1.0