Geo - Viewing replication details from a primary site raises an error
Summary
Viewing any replication details of projects, designs, or any other data type available in the Geo self-service framework raises an error from a primary site
Steps to reproduce
- Ensure that is no entry for the Geo tracking database in the
config/database.yml
file on your Geo primary site. - Start your Geo primary site
- Start your Geo secondary site
- Visit
http://<GEO_PRIMARY_SITE_URL>/admin/geo/replication/projects
on your Geo primary site: - Visit
http://<GEO_PRIMARY_SITE_URL>/admin/geo/replication/designs
on your Geo primary site: - Visit
http://<GEO_PRIMARY_SITE_URL>/admin/geo/sites/<GEO_PRIMARY_NODE_ID_HERE>/replication/lfs_objects
on your Geo primary site:
What is the current bug behavior?
It is impossible to load this from a primary site, and an error appears to the user.
What is the expected correct behavior?
We should show a message warning the user that the data is unavailable from the primary site and redirect it back to the Geo sites page.
Edited by Douglas Barbosa Alexandre