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

Adds validation that page_range can only be up to 30 characrters #1114

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jgreben
Copy link
Contributor

@jgreben jgreben commented Oct 22, 2020

The illiad database record field length for PhotoJournalInclusivePages can currently only handle up to 30 chars. They will be fixing this sometime in the near-ish future, but in the meantime this will prevent failed illiad api transaction requests and the email being sent to ILB.

N.b. If we are OK with just getting the occasional (but sometimes daily) error we can consider foregoing this change, as we might then want to back it out when Atlas fixes the field length in the next version upgrade. I have no idea how long it will be before they release a new version upgrade.

@jgreben jgreben marked this pull request as draft October 23, 2020 15:59
@jgreben
Copy link
Contributor Author

jgreben commented Oct 23, 2020

Working with Atlas, we fixed the API error that happens when the page range field is more than 30 chars. However, it does truncate the field, so any extraneous information that the user enters here will be lost. In a different PR we should consider adding some kind of a note field because requestors often add additional information about the page range.

@jgreben jgreben marked this pull request as ready for review October 23, 2020 18:25
@jgreben jgreben requested a review from jkeck October 23, 2020 18:25
@jgreben jgreben removed the request for review from jkeck April 13, 2022 14:25
@jgreben
Copy link
Contributor Author

jgreben commented Apr 13, 2022

I recently upgraded to ILLiad 9.2 and the PhotoJournalInclusivePages field is still only 30 characters.

@dnoneill
Copy link
Contributor

Is this still a problem in Illiad or can we close this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants