Uploaded image for project: 'eXo-JCR'
  1. eXo-JCR
  2. EXOJCR-1330

FUNCTIONAL testing: on configuration multi, value-storage is turned off there're tests in error

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JCR-1.14.0-CR3
    • Fix Version/s: None
    • Component/s: jcr.component.core
    • Labels:
      None

      Description

      Tests run: 13, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.467 sec <<< FAILURE!                                                                                                              
      testBINARYINCLUSIVEProperty(org.exoplatform.services.jcr.api.nodetypes.TestValueConstraints)  Time elapsed: 1.691 sec  <<< ERROR!                                                                    
      javax.jcr.RepositoryException: [ws] EDIT PROPERTY. Item already exists. But update errors. []:1[]testValueConstraints:1[http://www.jcp.org/jcr/1.0]testBINARYINCLUSIVE:1 baa57fc77f000002014c60ada9e5
      <------>at org.exoplatform.services.jcr.impl.core.SessionDataManager.commit(SessionDataManager.java:1555)                                                                                            
      <------>at org.exoplatform.services.jcr.impl.core.ItemImpl.save(ItemImpl.java:715)                                                                                                                   
      <------>at org.exoplatform.services.jcr.impl.core.SessionImpl.save(SessionImpl.java:1039)                                                                                                            
      <------>at org.exoplatform.services.jcr.api.nodetypes.TestValueConstraints.testBINARYINCLUSIVEProperty(TestValueConstraints.java:171)                                                                
      Caused by: javax.jcr.RepositoryException: [ws] EDIT PROPERTY. Item already exists. But update errors. []:1[]testValueConstraints:1[http://www.jcp.org/jcr/1.0]testBINARYINCLUSIVE:1 baa57fc77f0000020
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.TxIsolatedOperation.perform(TxIsolatedOperation.java:321)                                                                           
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager.save(CacheableWorkspaceDataManager.java:696)                                                          
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.ACLInheritanceSupportedWorkspaceDataManager.save(ACLInheritanceSupportedWorkspaceDataManager.java:233)                              
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.VersionableWorkspaceDataManager.save(VersionableWorkspaceDataManager.java:259)                                                      
      <------>at org.exoplatform.services.jcr.impl.dataflow.session.TransactionableDataManager.save(TransactionableDataManager.java:397)                                                                   
      <------>at org.exoplatform.services.jcr.impl.core.SessionDataManager.commit(SessionDataManager.java:1529)                                                                                            
      <------>... 28 more                                                                                                                                                                                  
      Caused by: javax.jcr.RepositoryException: [ws] EDIT PROPERTY. Item already exists. But update errors. []:1[]testValueConstraints:1[http://www.jcp.org/jcr/1.0]testBINARYINCLUSIVE:1 baa57fc77f0000020
      <------>at org.exoplatform.services.jcr.impl.storage.jdbc.SQLExceptionHandler.handleUpdateException(SQLExceptionHandler.java:386)                                                                    
      <------>at org.exoplatform.services.jcr.impl.storage.jdbc.optimisation.CQJDBCStorageConnection.update(CQJDBCStorageConnection.java:302)                                                              
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.WorkspacePersistentDataManager.doUpdate(WorkspacePersistentDataManager.java:643)                                                    
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.WorkspacePersistentDataManager$ChangesLogPersister.save(WorkspacePersistentDataManager.java:385)                                    
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.WorkspacePersistentDataManager.save(WorkspacePersistentDataManager.java:159)                                                        
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager.access$101(CacheableWorkspaceDataManager.java:68)                                                     
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager$SaveInTransaction.action(CacheableWorkspaceDataManager.java:316)                                      
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.TxIsolatedOperation.txAction(TxIsolatedOperation.java:178)                                                                          
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager$SaveInTransaction.txAction(CacheableWorkspaceDataManager.java:322)                                    
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.TxIsolatedOperation.perform(TxIsolatedOperation.java:296)                                                                           
      <------>... 33 more  
      Caused by: java.sql.SQLException: data exception: string data, right truncation                                                                                                                      
      <------>at org.hsqldb.jdbc.Util.sqlException(Unknown Source)                                                                                                                                         
      <------>at org.hsqldb.jdbc.JDBCPreparedStatement.fetchResult(Unknown Source)                                                                                                                         
      <------>at org.hsqldb.jdbc.JDBCPreparedStatement.executeUpdate(Unknown Source)                                                                                                                       
      <------>at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)                                                                                   
      <------>at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)                                                                                   
      <------>at org.exoplatform.services.jcr.impl.storage.jdbc.optimisation.db.MultiDbJDBCConnection.updateValueData(MultiDbJDBCConnection.java:682)                                                      
      <------>at org.exoplatform.services.jcr.impl.storage.jdbc.optimisation.CQJDBCStorageConnection.addOrUpdateValues(CQJDBCStorageConnection.java:390)                                                   
      <------>at org.exoplatform.services.jcr.impl.storage.jdbc.optimisation.CQJDBCStorageConnection.update(CQJDBCStorageConnection.java:286)                                                              
      <------>... 41 more                                                                                                                                                                                  
      Caused by: org.hsqldb.HsqlException: data exception: string data, right truncation                                                                                                                   
      <------>at org.hsqldb.error.Error.error(Unknown Source)                                                                                                                                              
      <------>at org.hsqldb.error.Error.error(Unknown Source)                                                                                                                                              
      <------>at org.hsqldb.types.BinaryType.castOrConvertToType(Unknown Source)                                                                                                                           
      <------>at org.hsqldb.types.BinaryType.convertToType(Unknown Source)                                                                                                                                 
      <------>at org.hsqldb.StatementDML.getUpdatedData(Unknown Source)                                                                                                                                    
      <------>at org.hsqldb.StatementDML.executeUpdateStatement(Unknown Source)                                                                                                                            
      <------>at org.hsqldb.StatementDML.getResult(Unknown Source)                                                                                                                                         
      <------>at org.hsqldb.StatementDMQL.execute(Unknown Source)                                                                                                                                          
      <------>at org.hsqldb.Session.executeCompiledStatement(Unknown Source)                                                                                                                               
      <------>at org.hsqldb.Session.execute(Unknown Source)                                                                                                                                                
      <------>... 48 more                                                                                                                                                                                  
      javax.jcr.RepositoryException: [ws] EDIT PROPERTY. Item already exists. But update errors. []:1[]testValueConstraints:1[http://www.jcp.org/jcr/1.0]testBINARYINCLUSIVE:1 baa57fc77f000002014c60ada9e5
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.TxIsolatedOperation.perform(TxIsolatedOperation.java:321)                                                                           
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager.save(CacheableWorkspaceDataManager.java:696)                                                          
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.ACLInheritanceSupportedWorkspaceDataManager.save(ACLInheritanceSupportedWorkspaceDataManager.java:233)                              
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.VersionableWorkspaceDataManager.save(VersionableWorkspaceDataManager.java:259)                                                      
      <------>at org.exoplatform.services.jcr.impl.dataflow.session.TransactionableDataManager.save(TransactionableDataManager.java:397)                                                                   
      <------>at org.exoplatform.services.jcr.impl.core.SessionDataManager.commit(SessionDataManager.java:1529)                                                                                            
      <------>at org.exoplatform.services.jcr.impl.core.ItemImpl.save(ItemImpl.java:715)                                                                                                                   
      <------>at org.exoplatform.services.jcr.impl.core.SessionImpl.save(SessionImpl.java:1039)                                                                                                            
      <------>at org.exoplatform.services.jcr.api.nodetypes.TestValueConstraints.testBINARYINCLUSIVEProperty(TestValueConstraints.java:171)                                                                
      <------>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                                                                                                                               
      <------>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)                                                                                                             
      <------>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                                                 at java.lang.reflect.Method.invoke(Method.java:597)                                                                                                                                          
      <------>at junit.framework.TestCase.runTest(TestCase.java:164)                                                                                                                                       
      <------>at junit.framework.TestCase.runBare(TestCase.java:130)                                                                                                                                       
      <------>at junit.framework.TestResult$1.protect(TestResult.java:106)                                                                                                                                 
      <------>at junit.framework.TestResult.runProtected(TestResult.java:124)                                                                                                                              
      <------>at junit.framework.TestResult.run(TestResult.java:109)                                                                                                                                       
      <------>at junit.framework.TestCase.run(TestCase.java:120)                                                                                                                                           
      <------>at junit.framework.TestSuite.runTest(TestSuite.java:230)                                                                                                                                     
      <------>at junit.framework.TestSuite.run(TestSuite.java:225)                                                                                                                                         
      <------>at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)                                                                                                                              
      <------>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                                                                                     
      <------>at java.lang.reflect.Method.invoke(Method.java:597)                                                                                                                                          
      <------>at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)                                                                                                               
      <------>at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)                                                                            
      <------>at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)                                                                                   
      <------>at org.apache.maven.surefire.Surefire.run(Surefire.java:177)                                                                                                                                 
      <------>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                                                                                                                               
      <------>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)                                                                                                             
      <------>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                                                                                     
      <------>at java.lang.reflect.Method.invoke(Method.java:597)                                                                                                                                          
      <------>at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)                                                                                               
      <------>at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)                                                                                                            
      Caused by: javax.jcr.RepositoryException: [ws] EDIT PROPERTY. Item already exists. But update errors. []:1[]testValueConstraints:1[http://www.jcp.org/jcr/1.0]testBINARYINCLUSIVE:1 baa57fc77f0000020
      <------>at org.exoplatform.services.jcr.impl.storage.jdbc.SQLExceptionHandler.handleUpdateException(SQLExceptionHandler.java:386)                                                                    
      <------>at org.exoplatform.services.jcr.impl.storage.jdbc.optimisation.CQJDBCStorageConnection.update(CQJDBCStorageConnection.java:302)                                                              
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.WorkspacePersistentDataManager.doUpdate(WorkspacePersistentDataManager.java:643)                                                    
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.WorkspacePersistentDataManager$ChangesLogPersister.save(WorkspacePersistentDataManager.java:385)                                    
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.WorkspacePersistentDataManager.save(WorkspacePersistentDataManager.java:159)                                                        
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager.access$101(CacheableWorkspaceDataManager.java:68)                                                     
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager$SaveInTransaction.action(CacheableWorkspaceDataManager.java:316)                                      
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.TxIsolatedOperation.txAction(TxIsolatedOperation.java:178)                                                                          
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager$SaveInTransaction.txAction(CacheableWorkspaceDataManager.java:322)                                    
      <------>at org.exoplatform.services.jcr.impl.dataflow.persistent.TxIsolatedOperation.perform(TxIsolatedOperation.java:296)                                                                           
      <------>... 33 more                                                                                                                                                         
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tolusha Anatolii Bazko
                Reporter:
                nzavalko Nadia Zavalko
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h