Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix harvesting logic of metadata typenames/formats #99

Closed
tomkralidis opened this issue Dec 18, 2012 · 2 comments
Closed

fix harvesting logic of metadata typenames/formats #99

tomkralidis opened this issue Dec 18, 2012 · 2 comments
Assignees
Labels
Milestone

Comments

@tomkralidis
Copy link
Member

(originally reported as part of #96 by @rhodges)

  • pycsw does CSW harvesting with the following logic:
    • client sends CSW Harvest request asking server A to harvest server B
    • server A sends 1..n GetRecords server B asking for all typenames supported by server A
    • if server B does not support all server A's typenames, an exception is thrown by server B, and subsequently server A back to the client

This logic needs to be updated to safeguard against asking for typenames that a CSW doesn't support.

@tomkralidis
Copy link
Member Author

@rhodges : FYI there was an underlying issue in OWSLib (fixed in geopython/OWSLib@266c3f6 -- note that I haven't bumped OWSLib to PyPI, will do so soon). I've also put some improved error handling in pycsw.

Can you please test this out and let us know if this works for you?

@rhodges
Copy link

rhodges commented Jan 9, 2013

Tests went smoothly, nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants