[GeoNetwork-users] xml.harvesting.history in geonetwork 2.10

Hi,

We've got a small application built on top of geonetwork 2.10.4 that allows
people to control harvesting from remote nodes without accessing the whole
administrative interface. It relies on the xml services to get information,
but nodes are originally added by an administrator using the standard
geonetwork interface. Things have been working fine with a single node, but
I've noticed that the xml.harvesting.history request is returning odd
behaviour now I've added in multiple nodes.

Basically only the first node I ever added has a node id in
xml.harvesting.history, but all the others do not. I've attached a snippet
of the xml returned when I make that call. Other calls, such
as xml.harvesting.get correctly show the node id for all nodes.

What this means is that my history page in my application incorrectly shows
the last results for all harvests when it should show the last three
results per node.

I'm confused as to why the first node that I added should show correctly
and others do not, as all were added in the same way- I have tried two
geonetwork nodes and two web folders.

Can anyone enlighten me as to how the node id gets filled in?

Thanks

Jo

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/&gt;
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training&gt;
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

(attachments)

harvesting_history.xml (8.28 KB)