Skip to content

Sparql authorization cache fixes

VIVO GitHub issue

Additional notes

This PR is stacked on top of https://github.com/vivo-project/Vitro/pull/444 Only the last commit is related to this PR.

What does this pull request do?

Fixes failing authorization checks due to corrupted sparql results cache.

What's new?

Fixed SparqlSelectQueryResultsChecker Added tests to verify that issue is resolved. Log cases when model wasn't provided as errors.

How should this be tested?

  • Run tests without fix to see that cache is being corrupted.
  • Run tests with fix to verify that cache is not being corrupted.

Interested parties

@VIVO-project/vivo-committers

Merge request reports