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

Exporting project fails if a curation CAS is missing or document state is wrong #4933

Closed
reckart opened this issue Jul 9, 2024 · 0 comments
Assignees
Labels
🐛Bug Something isn't working Module: Curation
Milestone

Comments

@reckart
Copy link
Member

reckart commented Jul 9, 2024

Describe the bug
If a curation CAS is missing (i.e. if a document is in curating state but the CAS file on disk is not present), then exporting the document fails. Probably the problem is less that the CAS is actually missing but rather that the curation state is not properly cleared in some situations. Anyway...

To Reproduce
Steps to reproduce the behavior:

  1. Set up a project with a document that is curation-in-progress
  2. Manually delete the curators CAS from that document from the file system
  3. Export the project
  4. See that export fails.

Expected behavior
Optimally, the export should complete even though the CAS is "missing" because a) it is probably rather the state that is wrong and b) it may still be necessary to salvage as much as possible and migrate it to another system / back it up.

Please complete the following information:

  • Version and build ID: 33.1
@reckart reckart added 🐛Bug Something isn't working Module: Curation labels Jul 9, 2024
@reckart reckart added this to the 33.2 milestone Jul 9, 2024
@reckart reckart self-assigned this Jul 9, 2024
reckart added a commit that referenced this issue Jul 9, 2024
…ent state is wrong

- Skip exporting curation CASes that are not there and log a warning
- Backport github action configuration from main
reckart added a commit that referenced this issue Jul 9, 2024
…-project-fails-if-a-curation-CAS-is-missing-or-document-state-is-wrong

#4933 - Exporting project fails if a curation CAS is missing or document state is wrong
@reckart reckart closed this as completed Jul 9, 2024
reckart added a commit that referenced this issue Jul 9, 2024
* release/33.x:
  #4933 - Exporting project fails if a curation CAS is missing or document state is wrong

% Conflicts:
%	.github/workflows/maven.yml
reckart added a commit that referenced this issue Jul 16, 2024
* main: (49 commits)
  #4940 - OAuth and SAML logins do not work if a servlet path is used
  #4942 - Clearing hidden feature does sometimes not work
  No issue: Minor cleaning
  [maven-release-plugin] prepare for next development iteration
  [maven-release-plugin] prepare release inception-34.0-beta-1
  #4935 - Incorrect repetitions of sentences
  [maven-release-plugin] prepare for next development iteration
  [maven-release-plugin] prepare release inception-33.2
  #4936 - Option to export project via remote API without any secondary format
  #4933 - Exporting project fails if a curation CAS is missing or document state is wrong
  No issue: Do not fail-fast
  No issue: Try caching the Maven repo
  #4916 - Support for MS SQL Server
  No issue: Formatting
  No issue: Small style fix
  No issue: Minor correction in format documentation
  #4929 - Unmergable annotations should be hidden in integrated curation mode
  #4843 - Promote sidebar curation mode to proper curation page
  #4925 - Retain ability to select users in curation sidebar in finished documents
  #4919 - Unable to import project with knowledge-based exported by INCEpTION 33.0 (again)
  ...

% Conflicts:
%	pom.xml
@reckart reckart added this to Kanban Aug 7, 2024
@reckart reckart moved this to 🍹 Done in Kanban Aug 7, 2024
reckart added a commit that referenced this issue Oct 1, 2024
…ases

* main:
  No issue: Minor cleaning
  [maven-release-plugin] prepare for next development iteration
  [maven-release-plugin] prepare release inception-34.0-beta-1
  #4935 - Incorrect repetitions of sentences
  [maven-release-plugin] prepare for next development iteration
  [maven-release-plugin] prepare release inception-33.2
  #4936 - Option to export project via remote API without any secondary format
  #4933 - Exporting project fails if a curation CAS is missing or document state is wrong
  No issue: Do not fail-fast
  No issue: Try caching the Maven repo
  #4916 - Support for MS SQL Server
  No issue: Formatting
  No issue: Small style fix
  No issue: Minor correction in format documentation
  #4916 - Support for MS SQL Server
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: Curation
Projects
Archived in project
Development

No branches or pull requests

1 participant