Project

General

Profile

Bug #3419

Erreur mise à jour 5.5.4 vers 5.9

Added by David Lesimple about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
High
Start date:
06/18/2012
Due date:
% Done:

100%

Estimated time:
0.27 h
Navigateur:
Tous
Votre version de Silverpeas:
5.9
Système d'exploitation:
Votre base de données:
Toutes

Description

......Number of duplicate content: 2477

Number of duplicate content: 2477
Number of duplicate content that are classified on the PdC: 1566
Delete the unclassified redundant instances of duplicate contents
> number of redundant instances deleted: 5336
Delete the rest of unclassified redundant instances of duplicate contents
> number of redundant instances deleted: 87
Delete the exceptional redundant instances of duplicate classified content
java.lang.Exception:
**ERROR RETURNED BY THE JVM : null
at org.silverpeas.dbbuilder.DBBuilderPiece.executeJavaInvoke(DBBuilderPi
ece.java:298)
at org.silverpeas.dbbuilder.DBBuilderPiece.executeInstructions(DBBuilder
Piece.java:192)
at org.silverpeas.dbbuilder.DBBuilder.processSQLFiles(DBBuilder.java:754
)
at org.silverpeas.dbbuilder.DBBuilder.processDB(DBBuilder.java:606)
at org.silverpeas.dbbuilder.DBBuilder.main(DBBuilder.java:335)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.silverpeas.dbbuilder.DBBuilderPiece.executeJavaInvoke(DBBuilderPi
ece.java:296)
... 4 more
Caused by: java.lang.AssertionError: Expected deletion: 28, actual deletion: 39
at org.silverpeas.migration.contentmanagement.DuplicateContentRemoving.a
ssertEquals(DuplicateContentRemoving.java:231)
at org.silverpeas.migration.contentmanagement.DuplicateContentRemoving.d
eleteRedundantClassifiedInstances(DuplicateContentRemoving.java:224)
at org.silverpeas.migration.contentmanagement.DuplicateContentRemoving.m
igrate(DuplicateContentRemoving.java:163)
... 9 more
*
*ERROR RETURNED BY THE JVM : null

Database Build FAILED (Mon Jun 18 16:37:20 CEST 2012).


Files

dbbuilder.jar (83.8 KB) dbbuilder.jar Miguel Moquillon, 06/18/2012 05:10 PM
#1

Updated by Miguel Moquillon about 8 years ago

  • Status changed from New to In progress...
#2

Updated by Miguel Moquillon about 8 years ago

  • File dbbuilder.jar dbbuilder.jar added
  • Status changed from In progress... to Resolved
  • Target version set to Version 5.10
  • % Done changed from 0 to 100
  • Estimated time set to 0.27 h

Le problème provient du test du nombre de copies effectivement supprimés comparés à celui calculé : le test comparait en fait le nombre de positions supprimées pour l'ensemble des copies ! Ceci ne posait pas de problèmes tant que les copies n'étaient classées que par une seule position sur le PdC (le nombre alors de positions correspondait à celui des copies) mais provoquait une erreur dès que le classement des copies comportait plus d'une position sur le PdC.

Vous trouverez ci-joint le jar du dbbuilder avec la correction. A mettre dans $SILVERPEAS_HOME/bin/jar (SILVERPEAS_HOME\bin\jar sous MS-Windows).

#3

Updated by David Lesimple about 8 years ago

  • Status changed from Resolved to Closed
#4

Updated by Emmanuel Hugonnet over 7 years ago

  • Project changed from 9 to Silverpeas Setup

Also available in: Atom PDF