[GeoNetwork-users] '???' added to 'sources' table on single/multiple XML file import

Hi GN Developers,

Using GN 2.6.3 a '???' is added to the 'name' column of the 'sources' table whenever a single XML file or multiple XML (batch) file import is done. It appears to be because the source XML file has no siteName so the program inserts a '???' instead for the name column and the local siteID (uuid) into the uuid column. The side effect of this bug is that a '???' appears on the Advanced Search->Restrict To->Catalog drop down list which is confusing as this list will already have an entry containing the local siteName.

I shown this issue to Craig Jones a BlueNet Geonetwork developer in Australia. Craig has kindly written a patch to fix this issue. The patch has been tested and it works with the BlueNet Geonetwork and should work with
trunk as the code base is the same.

For more details see ticket #435 for this on the Geonetwork trac at http://trac.osgeo.org/geonetwork/ticket/435. The patch is attached to the ticket.

Thanks,
Andrew Walsh

Hi Andrew and Craig,

I'll take a look - thanks.

Cheers,
Simon
________________________________________
From: andrew walsh [awalsh@anonymised.com]
Sent: Monday, 24 January 2011 9:59 AM
To: geonetwork-devel@lists.sourceforge.net
Cc: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-devel] '???' added to 'sources' table on single/multiple XML file import

Hi GN Developers,

Using GN 2.6.3 a '???' is added to the 'name' column of the 'sources' table
whenever a single XML file or multiple XML (batch) file import is done. It
appears to be because the source XML file has no siteName so the program inserts
a '???' instead for the name column and the local siteID (uuid) into the uuid
column. The side effect of this bug is that a '???' appears on the Advanced
Search->Restrict To->Catalog drop down list which is confusing as this list will
already have an entry containing the local siteName.

I shown this issue to Craig Jones a BlueNet Geonetwork developer in Australia.
Craig has kindly written a patch to fix this issue. The patch has been tested
and it works with the BlueNet Geonetwork and should work with
trunk as the code base is the same.

For more details see ticket #435 for this on the Geonetwork trac at
#435 ('???' added to 'sources' table on single/multiple XML file import) – GeoNetwork opensource Developer website. The patch is attached to the
ticket.

Thanks,
Andrew Walsh

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!

_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net

GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork