sdx-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sdx-users] Pb lors de l'indexation d'un document


From: Pierrick Brihaye
Subject: Re: [sdx-users] Pb lors de l'indexation d'un document
Date: Tue, 16 Sep 2003 16:05:29 +0200
User-agent: Mozilla/5.0 (Windows; U; Win98; fr-FR; rv:1.0.2) Gecko/20030208 Netscape/7.02

Re,

Pierre Dittgen a écrit:
<sdx:message>There was a problem saving the entity with the id, "A2", to the database with the id, "author".</sdx:message>

C'est assez clair : il existe déjà un document ayant A2 pour identifiant.

<sdx:originalException>java.sql.SQLException: Violation of unique index: SYS_PK_AUTHOR in statement [INSERT INTO author (id,propertyName,propertyValue) VALUES ('A2', '', '')]

Ici, c'est encore plus clair :-)

Attention :

>fr.gouv.culture.sdx.repository.FSRepository.add(FSRepository.java:291) at

... m'incite à penser que c'est dans la base du repository qu'il y a un problème, *pas* dans celle de la DocumentBase. L'indexation n'a donc rien à voir là-dedans...

Comme le dit Rasik, il semble que la base servant au FSrepository et le dit repositoriy soient désynchronisés. Quelle est la manip qui a amené à cet état de fait ? Je suis sûr qu'il y en a une :-)

BTW : il faudrait peut-être prévoir un mécanisme de resynchronization.

A+

--
Pierrick Brihaye, informaticien
Service régional de l'Inventaire
DRAC Bretagne
mailto:address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]