Allocation marked as having override URL when notes
Solution
The override urls are being saved with blanks whenever an allocation is saved.
We need to change login here: https://gitlab.galileo.usg.edu/galileo/galileo_admin/-/blob/master/app/models/allocation.rb#L178
Issue
In an resource allocation, if a notes, special information, user id, password field is populated, the allocation gets marked as having an override URL.
Example, Gwinnett Technical College's allocation of Merriam-Webster's Collegiate Dictionary (in Encyclopædia Britannica Online) (zebd)
Showing there is a override URL:
However, there is only a note that's been added:
A few other notes:
- If I remove the note, the override URL state does not get set to false.
- Some allocations have notes but are not marked as having an override URL. This is because the notes were added through the DOOR import. If I save the allocation for any reason, it sets the override URL to true because because it re-saves the notes.
Edited by Brad Baxter