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

Setting "Minium" as renderer type for Search Results widget throws an error

    Details

      Description

      ASSUMPTION:

      • Standard Liferay site;
      • Search Result widget (and Search Options);
      • A product created

      STEPS:

      1. As the product is shown into Search Results widget, go into its configuration;
      2. Set "Minium" as Product Renderer Type;
      3. Save

      BUG:

      The following error is thrown by the log:

       ERROR [http-nio-8080-exec-3][IncludeTag:128] Current URL /web/guest generates exception: com.liferay.commerce.currency.exception.NoSuchCurrencyException: No CommerceCurrency exists with the key {companyId=20099, code=} ERROR [http-nio-8080-exec-3][IncludeTag:128] Current URL /web/guest generates exception: com.liferay.commerce.currency.exception.NoSuchCurrencyException: No CommerceCurrency exists with the key {companyId=20099, code=}com.liferay.commerce.currency.exception.NoSuchCurrencyException: No CommerceCurrency exists with the key {companyId=20099, code=} at com.liferay.commerce.currency.service.persistence.impl.CommerceCurrencyPersistenceImpl.findByC_C(CommerceCurrencyPersistenceImpl.java:1781) at com.liferay.commerce.currency.service.impl.CommerceCurrencyLocalServiceImpl.getCommerceCurrency(CommerceCurrencyLocalServiceImpl.java:195) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._execute(DefaultTransactionExecutor.java:203) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:94) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:113) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:130) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:55) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:130) at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:125) at com.liferay.commerce.internal.price.CommerceProductPriceCalculationImpl.getUnitPrice(CommerceProductPriceCalculationImpl.java:329) at com.liferay.commerce.internal.price.CommerceProductPriceCalculationImpl.getCommerceProductPrice(CommerceProductPriceCalculationImpl.java:76) at com.liferay.commerce.frontend.internal.util.ProductHelperImpl.getPrice(ProductHelperImpl.java:51) at com.liferay.commerce.theme.minium.internal.product.renderer.list.entry.MiniumCPContentListEntryRenderer.render(MiniumCPContentListEntryRenderer.java:208) at org.apache.jsp.product_005flist_005fentry_005frenderer.page_jsp._jspService(page_jsp:125) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            alessandro.iovane Alessandro Iovane
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package
                2.0.6