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

Redirection issue while trying to link a SKU with subscription enabled to an option value

    Details

      Description

      Assumptions for Case 1

      • For convenience, create a site using Minium
      • In the site related channel, enable a valid payment method(e..g PayPal)
      • A product with subscription enabled(e.g. ABS Sensor)

      CASE 1

      • Go to CP -> Commerce -> Products
      • Create a new simple product
      • In Options, add an option with some values
      • Set option price type to Static
      • Enter one option value details
      • Set a price, link a SKU with subscription enabled and add quantity
      • Click Save

      Assumptions for Case 2

      • For convenience, create a site using Minium
      • In the site related channel, enable a valid payment method(e..g PayPal)

      CASE 2

      • Go to CP -> Commerce -> Products
      • Create a new simple product
      • In Options, add an option with some values
      • Set the option as SKU contributor
      • Set option price type to Dynamic
      • Add some option values
      • Link the option values to a product SKU(for convenience, use Minium products SKUs) and set a quantity
      • Click Save
      • Go to SKUs and generate all SKUS combinations
      • Go to CP -> Commerce -> Products
      • Create a new simple product
      • In Options, add an option with some values
      • Set option price type to Static
      • Enter one option value details
      • Set a price, link a bundled product SKU and set a quantity
      • Click Save

      Expected Behavior for both cases

       There should be a message saying that you should select a valid SKU should.

      Actual Behavior for both cases

       There's a redirection issue.

      Workarounds
      None, see https://issues.liferay.com/browse/COMMERCE-3998?focusedCommentId=2169500&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-2169500

       

      This warn is thrown by the log:

      2020-05-28 14:57:12.094 WARN [http-nio-8080-exec-6][MVCPortlet:311] No render mappings found for MVC render command name "editCPDefinitionOptionValueRel" for portlet com_liferay_commerce_product_definitions_web_internal_portlet_CPDefinitionsPortlet
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pietro.bocale Pietro Bocale
              Reporter:
              lorenzo.lapescara Lorenzo La Pescara
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2.1.2