[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1198: Harvester / SQL error if user #1 removed

#1198: Harvester / SQL error if user #1 removed
---------------------+------------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: blocker | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Keywords: |
---------------------+------------------------------------------------------
When running harvester user with id 1 is the owner of all records.
Removing this user makes all harvesting task failing.

{{{
2013-01-11 14:05:49,277 WARN [geonetwork.harvester] - - Failed to load
layer metadata : ERROR: insert or update on table "metadata" violates
foreign key constraint "metadata_own
er_fkey"
   Detail: Key (owner)=(1) is not present in table "users".
}}}

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1198&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#1198: Harvester / SQL error if user #1 removed
----------------------+-----------------------------------------------------
  Reporter: fxp | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by fxp):

  * status: new => closed
  * resolution: => fixed

Comment:

master commit 02761db83afc25d432ce7fe2aa2038156e5318af

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1198#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.