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

export digitizedwork broken #677

Open
mnaydan opened this issue Oct 4, 2024 · 2 comments
Open

export digitizedwork broken #677

mnaydan opened this issue Oct 4, 2024 · 2 comments
Assignees
Labels

Comments

@mnaydan
Copy link
Contributor

mnaydan commented Oct 4, 2024

Trying to export a digitizedwork csv generates a PUL error page on test and production admin sites. I tried to export a csv in the usual manner, selecting the checkboxes, clicking "Select all digitized works," selecting "Export" from the "Action" dropdown, pressing "Go," choosing the format, and then pressing Submit.

@rlskoeser
Copy link
Contributor

Interesting... If I just select 100 and use the drop-down export it works fine. If I use the export button on the top right* it also seems to work. So there's something wrong with the select all export - which ought to be the same as the button but might not be since it could be a filtered queryset and has to pass the ids.

The interface is different than I remember, when did we add that checkbox option for fields? (I probably just haven't used this in a long time...)

* Note that the export button is somehow displaying twice, but is looks like they both go to the same place.

Short term workaround is to use the export button if you want everything but it would be good to know why this is failing.

I'm getting a 400 error code in the load balancer logs and the browser, I bet it's due to a size limitation.

Oh good grief, the post data is submitting all the ids to be exported, so when you try to export all the records from the form instead of the button the post data is too large. (I mean, that's what I suspect)

@mnaydan
Copy link
Contributor Author

mnaydan commented Oct 4, 2024

Oh yeah, you are right! I should have checked the other ways to export too. Thanks for looking into it.

I'll use the export button to send the metadata to Anna so that that's no longer blocked by this issue.

The interface with the checkbox options was different from how I remembered, too.

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

2 participants