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

Lazy details and selecting annotations my break after opening a read-only document and not performing actions for a short time #4538

Closed
reckart opened this issue Feb 21, 2024 · 0 comments
Assignees
Labels
🐛Bug Something isn't working Module: Annotation
Projects
Milestone

Comments

@reckart
Copy link
Member

reckart commented Feb 21, 2024

Describe the bug
Lazy details and selecting annotations my break after opening a read-only document and not performing actions for a short time. This is because the CAS is upgraded when the document is loaded and this upgrade is cached in memory. When the cache expires, the CAS is reloaded and again upgraded and the FS IDs time may be different.

To Reproduce
Steps to reproduce the behavior:

  1. Set a short cache expunge time cas-storage.cache.idle-cas-eviction-delay=3s
  2. Open a document of another user (which will be read-only)
  3. Wait for a few seconds
  4. Try hovering over an annotation

Expected behavior
Probably a read-only CAS should not be upgraded.

Please complete the following information:

  • Version and build ID: 31.1
@reckart reckart added 🐛Bug Something isn't working Module: Annotation labels Feb 21, 2024
@reckart reckart added this to the 31.2 milestone Feb 21, 2024
@reckart reckart self-assigned this Feb 21, 2024
@reckart reckart added this to 🔖 To do in Kanban via automation Feb 21, 2024
reckart added a commit that referenced this issue Feb 21, 2024
… a read-only document and not performing actions for a short time

- When a CAS is read-only, do not upgrade it
reckart added a commit that referenced this issue Feb 22, 2024
…ils-and-selecting-annotations-my-break-after-opening-a-read-only-document-and-not-performing-actions-for-a-short-time

#4538 - Lazy details and selecting annotations my break after opening a read-only document and not performing actions for a short time
@reckart reckart closed this as completed Feb 22, 2024
Kanban automation moved this from 🔖 To do to 🍹 Done Feb 22, 2024
reckart added a commit that referenced this issue Feb 22, 2024
* release/31.x:
  #4538 - Lazy details and selecting annotations my break after opening a read-only document and not performing actions for a short time
reckart added a commit that referenced this issue Feb 25, 2024
* main: (95 commits)
  #4556 - Unable to access PMC BioC service
  #4554 - Allow displaying comments from annotators on hover when curating using curation sidebar on the annotation page
  #4552 - No details shown when hovering over annotations in lower part of the curation page
  #4550 - Clean up code
  #4550 - Clean up code
  #4547 - Cannot create long-distance relation in PDF editor
  #4545 - Upgrade dependencies
  #4545 - Upgrade dependencies
  #4543 - UI for creating new concept or properties has broken layout
  #4541 - Upgrade dependencies
  #4538 - Lazy details and selecting annotations my break after opening a read-only document and not performing actions for a short time
  #4537 - Ability to group annotations by layer
  #4533 - BioC exported from INCEpTION cannot be imported again due to missing mandatory metadata
  [maven-release-plugin] prepare for next development iteration
  [maven-release-plugin] prepare release inception-31.1
  #4530 - Keyboard shortcuts for feature values may not work in certain editors
  #4528 - Display key bindings in radio group string feature editor
  #4525 - Support recommendations for non-string primitive features
  #4523 - Factor endpoint-specific FTS code out into adapter classes
  #4523 - Factor endpoint-specific FTS code out into adapter classes
  ...

% Conflicts:
%	inception/inception-dependencies/pom.xml
%	inception/inception-imls-weblicht/pom.xml
%	inception/inception-kb/src/main/java/de/tudarmstadt/ukp/inception/kb/KnowledgeBaseServiceImpl.java
%	inception/inception-project-export/src/test/resources/log4j2-test.xml
%	inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/tasks/PredictionTask.java
%	inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/tasks/SelectionTask.java
%	inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/tasks/TrainingTask.java
%	inception/inception-ui-curation/pom.xml
%	inception/inception-ui-dashboard-activity/pom.xml
%	inception/inception-ui-kb/src/main/java/de/tudarmstadt/ukp/inception/ui/kb/initializers/NamedEntityIdentifierFeatureInitializer.java
%	inception/inception-ui-scheduling/pom.xml
%	inception/inception-ui-scheduling/src/main/java/de/tudarmstadt/ukp/inception/ui/scheduling/TaskMonitorPanel.java
%	pom.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Something isn't working Module: Annotation
Projects
Kanban
  
🍹 Done
Development

No branches or pull requests

1 participant