Ticket #758 (closed defect: fixed)
MEF import failed with multiple metadata
| Reported by: | fxp | Owned by: | geonetwork-devel@… |
|---|---|---|---|
| Priority: | major | Milestone: | v2.7.0 |
| Component: | General | Version: | |
| Keywords: | Cc: |
Description
On Postgres:
2012-01-24 08:57:56,271 ERROR [jeeves.service] - Exception when executing service 2012-01-24 08:57:56,271 ERROR [jeeves.service] - (C) Exc : org.postgresql.util.PSQLException: ERROR: insert or update on table "metadatacateg" violates foreign key constraint "metadatacateg_metadataid_fkey" Detail: Key (metadataid)=(63) is not present in table "metadata". 2012-01-24 08:57:56,272 DEBUG [jeeves.service] - Raised exception while executing service <error id="error"> <message>ERROR: insert or update on table "metadatacateg" violates foreign key constraint "metadatacateg_metadataid_fkey" Detail: Key (metadataid)=(63) is not present in table "metadata".</message> <class>PSQLException</class> <stack>
Works with H2.
It looks to be related to the use of 2 DB connections during the import.
Change History
Note: See
TracTickets for help on using
tickets.
