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

[io-model] AnnotationService.addAnnotation() doesn't always persist aggregate relation #15

Open
ferschke opened this issue May 6, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@ferschke
Copy link
Member

ferschke commented May 6, 2016

When adding a new annotation to an entity that did not have an annotation before it could happen that the newly created AnnotationAggregate is not associated with that entity.
An explicit save operation on that entity after adding the annotation helps.
This should be built-in to the addAnnotation method, but we cannot simply use a service or repository since the addAnnotation method is not specific to a particular entity type.

@ferschke ferschke self-assigned this May 6, 2016
@ferschke ferschke added the bug label May 6, 2016
@ferschke ferschke added this to the 0.6 milestone May 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant