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

chore: log a warn when Lyo OGM fails to invoke a setter #433

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

berezovskyi
Copy link
Contributor

Description

When Lyo OGM (object graph mapper) fails to invoke an object setter, log a warning like:

[WARN] JsonHelper - Failed to set property oslc:instanceShape='Link{to='http://example.com/shapes/defect'; label='null'}' via 'setInstanceShape'

Checklist

  • This PR adds an entry to the CHANGELOG. See https://keepachangelog.com/en/1.0.0/ for instructions. Minor edits are exempt.
  • This PR was tested on at least one Lyo OSLC server (e.g. manual workflow on Lyo Sample and OSLC RefImpl) or adds unit/integration tests. RefImpl CM
  • This PR does NOT break the API. Same exception is rethrown.

Issues

See #431

@berezovskyi berezovskyi merged commit 73a78a0 into master Nov 16, 2023
8 checks passed
@berezovskyi berezovskyi deleted the b-lyo_orm-invoke-log branch November 16, 2023 07:19
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