Merged
Conversation
…etItem
This patch tries to match the fields used to the fields fetched and
ensure all necessary data is present
To test:
1 - Ensure your IP is allowed to use the API
2 - Try to fetch a grouped work item, example:
http://localhost:8083/API/ItemAPI?method=getItem&id=4414b826-a925-c043-0a02-cdb69035a4c0-eng
3 - Note error in log:
[Thu Feb 12 16:57:58.425616 2026] [proxy_fcgi:error] [pid 120:tid 131] [client 172.19.0.1:45440] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "recordtype" in /usr/local/aspen-discovery/code/web/RecordDrivers/RecordDriverFactory.php on line 30; PHP message: PHP Warning: Undefined array key "recordtype" in /usr/local/aspen-discovery/code/web/RecordDrivers/RecordDriverFactory.php on line 35'
4 - Apply patch
5 - Reload the URL
6 - Confirm record displays
LiYanjun19
approved these changes
Feb 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testing Instructions:
You'll get a failure.
Apply patch and repeat, you should receive a successful response.