Geo - Using snapshotting for redownloads is broken for group wikis
Summary
Using snapshotting for redownloads is broken for groups wikis. We need to ensure it works for each data type that uses the repository strategy. See !104775 (comment 1183691981).
What is the current bug behavior?
GeoNode#snapshot_url is tied to the repository.project.id
since group wikis belong to a group the repository
does not respond to project
and raises an error.
What is the expected correct behavior?
It should not raise and return the proper URL for any data type da uses the repository strategy.
Possible fixes
Move the snapshot_url
method to the replicator and ensure the API endpoint support any repository.