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 for VIVO-3957 #452

Merged
merged 1 commit into from
May 2, 2024
Merged

Fix for VIVO-3957 #452

merged 1 commit into from
May 2, 2024

Conversation

litvinovg
Copy link
Contributor

@litvinovg litvinovg commented Mar 19, 2024

VIVO GitHub issue

  • Other Relevant Links (Mailing list discussion, related pull requests, etc.)

What does this pull request do?

Added set of workarounds to fix the issue of updating data in configuration graphs with custom entry forms.

What's new?

  • Return Configuration RDF service in IdModelSelector for models with names DISPLAY, DISPLAY_TBOX and DISPLAY_DISPLAY. That's the only configuration models that are used by VitroModelSource.
  • Return correct model uri by name in getDefaultGraphUri
  • For memory-cached models (all configuration models) wrap model with RDFServiceModel to update in-memory model.

How should this be tested?

A description of what steps someone could take to:

  • Reproduce the problem in the issue
  • Test that the pull request resolves the issue
  • Try to create a person, set email, change label, set position using entry forms.

Interested parties

@VIVO-project/vivo-committers

@litvinovg litvinovg linked an issue Mar 19, 2024 that may be closed by this pull request
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.

@litvinovg thanks for the PR.

It is fixing the issue.

I have posted one comment regarding the code.

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.

@litvinovg thanks. Works well, looks well.

@gneissone gneissone self-requested a review April 18, 2024 22:35
Copy link
Member

@gneissone gneissone left a comment

Choose a reason for hiding this comment

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

Tested and the changes resolve the issue.

@chenejac chenejac merged commit d910dd3 into vivo-project:main May 2, 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.

Menu pages can't be modified
3 participants