Project

General

Profile

Actions

bug #6138

closed

fix test testNoRecursiveChangeEvents() in DerivedUnitFacadeTest

Added by Katja Luther over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Highest
Assignee:
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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 facadeClosedKatja Luther

Actions
Actions #1

Updated by Katja Luther over 7 years ago

  • Assignee changed from Andreas Müller to Katja Luther
Actions #2

Updated by Andreas Müller over 7 years ago

  • Target version changed from Unassigned CDM tickets to Release 4.6
Actions #3

Updated by Andreas Müller over 7 years ago

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

Updated by Katja Luther about 7 years ago

the test does not fail anymore.

Actions #5

Updated by Katja Luther about 7 years ago

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

Updated by Katja Luther about 7 years ago

  • Status changed from Resolved to In Progress

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

Actions #7

Updated by Katja Luther about 7 years ago

  • Assignee changed from Andreas Müller to Katja Luther
Actions #8

Updated by Andreas Müller about 7 years ago

  • Target version changed from Release 4.6 to Release 4.7
Actions #9

Updated by Andreas Müller almost 7 years ago

  • Target version changed from Release 4.7 to Release 4.8
Actions #10

Updated by Katja Luther almost 7 years ago

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

Updated by Katja Luther almost 7 years 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.

Actions

Also available in: Atom PDF