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

Replaced PlainGraph with GraphMem as a workaround for Jena plain grap… #462

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

litvinovg
Copy link
Contributor

@litvinovg litvinovg commented Apr 17, 2024

VIVO GitHub issue

What does this pull request do?

Fixes issue related to removing statements with language strings from configuration graphs.

What's new?

Replaced Graph implementation used in BulkUpdate models

How should this be tested?

  • Reproduce the problem in the issue, check that PR fixes the issue
  • Run tests provided with the PR without fix and after fix

Interested parties

Tag (@ mention) interested parties or, if unsure, @VIVO-project/vivo-committers

Reviewers' expertise

Candidates for reviewing this PR should have some of the following expertises:
Java, Jena

Reviewers' report template

General comment

A reviewer should provide here comments and suggestions for requested changes if any.

Testing

A reviewer should briefly describe here how it was tested

Code reviewing

A reviewer should briefly describe here which part was code reviewed

Copy link
Contributor

@chenejac chenejac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General comment

@litvinovg thanks for this fix. I believe one reviewer might be enough for this PR.

Testing

I have reproduced the issue before application of this PR fix. Moreover, I tried to run tests you added before application of the fix (in BulkUpdatingModel and BulkUpdatingOntModel). All tests were failing.

After the application of fix, the issue is resolved and tests are passing.

Code reviewing

The method createPlainGraph in GraphFactory is not used anymore in the VIVO/Vitro codebase. I am wondering should we remove that method from the GraphFactory?

@brianjlowe brianjlowe merged commit 91ac747 into vivo-project:main Apr 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove string literals from configuration graphs results in error
3 participants