[GeoNetwork-devel] [GeoNetwork opensource Developer website] #516: "Popup to choose user" not working during migration

#516: "Popup to choose user" not working during migration
------------------------------------+---------------------------------------
Reporter: heinjorge | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: minor | Milestone: v2.6.5
Component: GAST | Version: v2.6.5
Keywords: GAST, migration, users |
------------------------------------+---------------------------------------
Although I checked the option "Popup dialog to choose users" when I do the
migration process, the popup never appears.

I've downloaded the source of GAST and checked that the necessary
condition that triggers the dialog is never reached. Explanations ahead...

----
The condition is located in the file/class "Worker.java, line 421,
function: migrateMetadata()":
else if (owners.size() > 1)

In the same file, line 410, we retrieve the possible owners:
List<Owner> owners = getPossibleOwners(oldDbms, id, xml);

But, according to my analisis the getPossibleOwners() method returns a
List having 1 owner maximum.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/516&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.