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

error when clicking "Download" on a record #324

Closed
Laurira opened this issue Jul 27, 2022 · 1 comment
Closed

error when clicking "Download" on a record #324

Laurira opened this issue Jul 27, 2022 · 1 comment
Assignees
Milestone

Comments

@Laurira
Copy link

Laurira commented Jul 27, 2022

Description:
When database is indexed in Database Preservation Toolkit Enterprise then user sees the "Download" buttons next to each row that contains LOBs.

image

Now when clicking on such thing very often do not work and presents an error.

I discovered that when one field is related to the LOB-s where some some are in the siard and others are outside from the siard, then error is presented when record is situated outside from the siard: "RESTException: Remote exception caused by GenericException: Zip archive entry is missing"
image

I made a special setup in Sakila to illustrate this issue:
sakila5000bytesI.zip
To reproduce this issue please upload this to dbptk Enterprise and before indexing definitely copy the lobseg folder next to the siard file before clicking "Browse" button.

I added two file paths to the last column "id-card-front-image" of the table "staff". Click on the "Download" links to see the issue.

@hmiguim hmiguim self-assigned this Aug 2, 2022
@hmiguim
Copy link
Member

hmiguim commented Aug 23, 2022

The problem is related to storing the information if the LOB is inside or outside the SIARD for the whole column instead of each individual cell causing the error message.

In order to fix this bug the cell must have information about its location.

@hmiguim hmiguim closed this as completed in a70f0bd Sep 7, 2022
@hmiguim hmiguim added this to the 2.7.0 milestone Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants