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

AssertionError in CommercePriceListHierarchyDiscoveryTest

    Details

      Description

      Testray

      Jenkins

        [exec] com.liferay.commerce.price.list.pricing.test.CommercePriceListHierarchyDiscoveryTest > testCreateCatalogBasePriceList FAILED
           [exec]     java.lang.AssertionError: 
           [exec]     [
           [exec]     SCENARIO A price list is created and set as base pricelist for a catalog
           [exec]     GIVEN A catalog
           [exec]     WHEN A price list is created with flag catalog base price list true
           [exec]     THEN The price list is the default price list of the catalog
           [exec]     ]
           [exec]     [
           [exec]     Message: {level=ERROR, loggerName=com.liferay.commerce.product.model.impl.CommerceCatalogImpl, message=Unable to get commerce catalog group
           [exec]     ]
           [exec]     	at com.liferay.portal.test.rule.LogAssertionAppender.append(LogAssertionAppender.java:60)
           [exec]     	at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
           [exec]     	at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
           [exec]     	at org.apache.log4j.Category.callAppenders(Category.java:206)
           [exec]     	at org.apache.log4j.Category.forcedLog(Category.java:391)
           [exec]     	at org.apache.log4j.Category.log(Category.java:856)
           [exec]     	at com.liferay.portal.log.Log4jLogImpl.error(Log4jLogImpl.java:54)
           [exec]     	at com.liferay.portal.kernel.log.LogWrapper.error(LogWrapper.java:69)
           [exec]     	at com.liferay.commerce.product.model.impl.CommerceCatalogImpl.getGroup(CommerceCatalogImpl.java:39)
           [exec]     	at com.liferay.commerce.product.model.impl.CommerceCatalogImpl.getGroupId(CommerceCatalogImpl.java:48)
           [exec]     	at com.liferay.commerce.product.service.impl.CommerceCatalogLocalServiceImpl.deleteCommerceCatalog(CommerceCatalogLocalServiceImpl.java:154)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
           [exec]     	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
           [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           [exec]     	at com.liferay.portal.kernel.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:64)
           [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           [exec]     	at com.liferay.portal.kernel.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:64)
           [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           [exec]     	at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80)
           [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           [exec]     	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
           [exec]     	at com.sun.proxy.$Proxy940.deleteCommerceCatalog(Unknown Source)
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            calvin.vo Calvin Vo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.3