Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-135917

testResolveModificationConflictMax fails on Hypersonic

    Details

      Description

      Issue:
      expression not in aggregate or GROUP BY columns: PUBLICATION.STATUSDATE

           [exec] com.liferay.change.tracking.internal.conflict.test.CTColumnResolutionMaxTest > testResolveModificationConflictMax FAILED
           [exec]     com.liferay.portal.kernel.dao.orm.ORMException: java.sql.SQLSyntaxErrorException: expression not in aggregate or GROUP BY columns: PUBLICATION.STATUSDATE
           [exec]     	at com.liferay.change.tracking.internal.conflict.CTConflictChecker._resolveModificationConflicts(CTConflictChecker.java:827)
           [exec]     	at com.liferay.change.tracking.internal.conflict.CTConflictChecker._checkModifications(CTConflictChecker.java:400)
           [exec]     	at com.liferay.change.tracking.internal.conflict.CTConflictChecker._check(CTConflictChecker.java:146)
           [exec]     	at com.liferay.portlet.documentlibrary.service.base.DLFolderLocalServiceBaseImpl.updateWithUnsafeFunction(DLFolderLocalServiceBaseImpl.java:1541)
           [exec]     	at sun.reflect.GeneratedMethodAccessor1089.invoke(Unknown Source)
           [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.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
           [exec]     	at com.sun.proxy.$Proxy83.updateWithUnsafeFunction(Unknown Source)
           [exec]     	at com.liferay.change.tracking.internal.conflict.CTConflictChecker.check(CTConflictChecker.java:117)
           [exec]     	at com.liferay.change.tracking.service.impl.CTCollectionLocalServiceImpl.checkConflicts(CTCollectionLocalServiceImpl.java:196)
           [exec]     	at sun.reflect.GeneratedMethodAccessor1189.invoke(Unknown Source)
           [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.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.$Proxy641.checkConflicts(Unknown Source)
           [exec]     	at com.liferay.change.tracking.internal.conflict.test.CTColumnResolutionMaxTest.testResolveModificationConflictMax(CTColumnResolutionMaxTest.java:99)
           [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.arquillian.extension.junit.bridge.server.TestExecutorRunnable$3.evaluate(TestExecutorRunnable.java:353)
           [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:237)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:316)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]     	at java.lang.Thread.run(Thread.java:745)
           [exec]     Caused by: java.sql.SQLSyntaxErrorException: expression not in aggregate or GROUP BY columns: PUBLICATION.STATUSDATE
           [exec]     	at org.hsqldb.jdbc.JDBCUtil.sqlException(JDBCUtil.java:376)
           [exec]     	at org.hsqldb.jdbc.JDBCUtil.sqlException(JDBCUtil.java:247)
           [exec]     	at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(JDBCPreparedStatement.java:3888)
           [exec]     	at org.hsqldb.jdbc.JDBCConnection.prepareStatement(JDBCConnection.java:641)
           [exec]     	at com.zaxxer.hikari.pool.ProxyConnection.prepareStatement(ProxyConnection.java:312)
           [exec]     	at com.zaxxer.hikari.pool.HikariProxyConnection.prepareStatement(HikariProxyConnection.java)
           [exec]     	at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
           [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]     	at org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.invoke(LazyConnectionDataSourceProxy.java:385)
           [exec]     	at com.sun.proxy.$Proxy29.prepareStatement(Unknown Source)
           [exec]     	at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
           [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]     	at org.hibernate.jdbc.BorrowedConnectionProxy.invoke(BorrowedConnectionProxy.java:74)
           [exec]     	at com.sun.proxy.$Proxy349.prepareStatement(Unknown Source)
           [exec]     	at com.liferay.change.tracking.internal.CTRowUtil.copyCTRows(CTRowUtil.java:120)
           [exec]     	at com.liferay.change.tracking.internal.conflict.CTConflictChecker._resolveModificationConflicts(CTConflictChecker.java:824)
           [exec]     	... 51 more
           [exec]     Caused by: org.hsqldb.HsqlException: expression not in aggregate or GROUP BY columns: PUBLICATION.STATUSDATE
           [exec]     	at org.hsqldb.error.Error.error(Error.java:83)
           [exec]     	at org.hsqldb.error.Error.error(Error.java:72)
           [exec]     	at org.hsqldb.QuerySpecification.resolveGroups(QuerySpecification.java:1246)
           [exec]     	at org.hsqldb.QuerySpecification.resolveTypesPartTwo(QuerySpecification.java:386)
           [exec]     	at org.hsqldb.QueryExpression.resolve(QueryExpression.java:229)
           [exec]     	at org.hsqldb.ParserDML.compileInsertStatement(ParserDML.java:393)
           [exec]     	at org.hsqldb.ParserCommand.compilePart(ParserCommand.java:165)
           [exec]     	at org.hsqldb.ParserCommand.compileStatement(ParserCommand.java:64)
           [exec]     	at org.hsqldb.Session.compileStatement(Session.java:933)
           [exec]     	at org.hsqldb.StatementManager.compile(StatementManager.java:375)
           [exec]     	at org.hsqldb.Session.execute(Session.java:1037)
           [exec]     	at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(JDBCPreparedStatement.java:3885)
           [exec]     	... 66 more
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              linda.sui Linda Sui
              Reporter:
              linda.sui Linda Sui
              Participants of an Issue:
              Recent user:
              Rafaela Nascimento
              Engineering Assignee:
              Preston Crary
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 weeks, 5 days ago

                  Packages

                  Version Package
                  7.4.2 CE GA3 DXP 7,4
                  Master