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 updating association values in registry module #225

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

agrancaric
Copy link
Collaborator

Basic information

  • nrich version:
    2.8.0
  • Module:
    nrich-registry

Additional information

Description

Summary

Fix updating association values.

Details

Fix updating association values. ModelMapper directly changes the id which causes exception: org.springframework.orm.jpa.JpaSystemException: identifier of an instance of ... was changed from .. to ..

Related issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have read the project's CONTRIBUTING document
  • I have checked my code with the project's static analysis tooling
  • I have formatted my code with the project's IDEA code-style configuration
  • I have checked my code for misspellings
  • I have organized my changes in easy-to-follow commits
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests pass.

@agrancaric agrancaric requested a review from jzrilic December 10, 2024 08:12
@agrancaric agrancaric self-assigned this Dec 10, 2024
@jzrilic jzrilic changed the title Fix updating associatin values in registry module Fix updating association values in registry module Dec 17, 2024
@jzrilic jzrilic merged commit 8ca82bb into master Dec 17, 2024
6 checks passed
@jzrilic jzrilic deleted the bugfix_fixUpdatingAssociations branch December 17, 2024 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants