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

Make AnnotationStore singleton #3174

Merged
merged 3 commits into from
Sep 7, 2018
Merged

Make AnnotationStore singleton #3174

merged 3 commits into from
Sep 7, 2018

Conversation

fm3
Copy link
Member

@fm3 fm3 commented Sep 7, 2018

The CompoundAnnotation is temporary and stored in the AnnotationStore (not in the DB).
The datastore then asks wk if the user can see the corresponding temporary tracing. WK looks that up in this AnnotationStore.
It is important that the storing and the lookup happen in the same annotation store.
Before this change, the two usages used different instances (as created by dependency injection)

URL of deployed dev instance (used for testing):

Steps to test:

  • create task, trace some, finish at least one
  • in admin project list view, select view project
  • you should see the tracing(s), not an error message

Issues:


@fm3 fm3 self-assigned this Sep 7, 2018
Copy link
Contributor

@jstriebel jstriebel left a comment

Choose a reason for hiding this comment

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

Maybe we should add (e2e)-tests for them?

@fm3 fm3 merged commit ea3c93b into master Sep 7, 2018
@fm3 fm3 deleted the annotationstore-singleton branch September 7, 2018 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vieweing Compound Annotations fails
2 participants