Project

General

Profile

bug #6138

fix test testNoRecursiveChangeEvents() in DerivedUnitFacadeTest

Added by Katja Luther about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Highest
Assignee:
Category:
cdmlib
Target version:
Start date:
10/20/2016
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

this test fails with

Caused by: org.h2.jdbc.JdbcSQLException: Eindeutiger Index oder Primärschlüssel verletzt: "PRIMARY KEY ON PUBLIC.LANGUAGESTRING(ID)"
Unique index or primary key violation: "PRIMARY KEY ON PUBLIC.LANGUAGESTRING(ID)"; SQL statement:
insert into LanguageString (created, createdBy_id, uuid, updated, updatedBy_id, language_id, text, id) values (?, ?, ?, ?, ?, ?, ?, ?) [23505-190]
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
    at org.h2.message.DbException.get(DbException.java:179)
    at org.h2.message.DbException.get(DbException.java:155)
    at org.h2.mvstore.db.MVPrimaryIndex.add(MVPrimaryIndex.java:139)
    at org.h2.mvstore.db.MVTable.addRow(MVTable.java:704)
    at org.h2.command.dml.Insert.insertRows(Insert.java:156)
    at org.h2.command.dml.Insert.update(Insert.java:114)
    at org.h2.command.CommandContainer.update(CommandContainer.java:78)
    at org.h2.command.Command.executeUpdate(Command.java:253)
    at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:157)
    at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:143)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
    at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:204)
    ... 55 more

Related issues

Related to Edit - bug #4390: Titlecache of field unit does not update when changing field unit data via derived unit facade Closed 09/02/2014

Associated revisions

Revision 5d6b7e01 (diff)
Added by Katja Luther almost 2 years ago

fix #4390: update titlecache for all merged identifiableEntities

Revision e676c6b0 (diff)
Added by Katja Luther over 1 year ago

fix #6138: add dataset to test to fix the test

Revision 9ee0028c (diff)
Added by Katja Luther over 1 year ago

fix #6138: add empty dataset to resources

Revision 93da9908 (diff)
Added by Andreas Müller over 1 year ago

ref #6138 handle ClearDB_with_Terms_DataSet.xml correctly

History

#1 Updated by Katja Luther about 2 years ago

  • Assignee changed from Andreas Müller to Katja Luther

#2 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Unassigned CDM tickets to Release 4.6

#3 Updated by Andreas Müller almost 2 years ago

  • Related to bug #4390: Titlecache of field unit does not update when changing field unit data via derived unit facade added

#4 Updated by Katja Luther almost 2 years ago

the test does not fail anymore.

#5 Updated by Katja Luther almost 2 years ago

  • Status changed from New to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

#6 Updated by Katja Luther almost 2 years ago

  • Status changed from Resolved to In Progress

in eclipse the test is successfull, but with maven it fails...

#7 Updated by Katja Luther almost 2 years ago

  • Assignee changed from Andreas Müller to Katja Luther

#8 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Release 4.6 to Release 4.7

#9 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.7 to Release 4.8

#10 Updated by Katja Luther over 1 year ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 50

#11 Updated by Katja Luther over 1 year ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 0

this was only a problem of not refreshed dataset, so I close the ticket after commit e676c6b0.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)