-
Notifications
You must be signed in to change notification settings - Fork 0
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
500 error when CSV export happens for resource types that have no exportable attributes #1108
Comments
This appears to be because there are cards in the Site Submission and Sandcastle resource models that have null sort orders. There is also one card in Heritage Site resource model, but that won't cause problems as we have an alternate mechanism to create CSV from that resource model. |
@emjohnst - I'm seeing an issue with Site Submissions that if there is a card for the Submission Documents, but there are no documents it is raising an export error. Let's log that issue and handle it after 7.6.x? Created an issue here: #1112 The fix is to either add a file or delete the card without any associated files. |
@bferguso Another minor issue - there is a time difference between download time stamp and actual time. Is this an easy fix to set proper time zone or an arches core bug? |
This is unrelatd to the 500 error. Can you please raise as a separate issue? I'll need to look into that seperately. If the 500 error is fixed this ticket can be move to Done. |
@KatieMcEvoy can you test the export on more than 2000 records (internally, and as public user) and see if you get an email? In one of my tests I still got an email but I can't seem to replicate it. Make sure to delete cache/browser history before testing. Thanks! |
Fixed so selecting the report link doesn't break the export. This is only available to internal users for Heritage Site. Currently the link is not correct, which should probably be fixed. This should be addressed as a separate issue, and perhaps it should wait until after 7.6.x as this has always been the case due to it being configured due the the reverse proxy. |
When performing a CSV export that includes resources that don't have any exportable fields a HTTP 500 error message occurs. Need to fix this by either
From the previous ticket:
The text was updated successfully, but these errors were encountered: