Bug #12829
Problem: levels of description API endpoint and other URLs returning 404 error code
Status: | Verified | Start date: | 02/18/2019 | |
---|---|---|---|---|
Priority: | Medium | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Routing | |||
Target version: | Release 2.5.0 | |||
Google Code Legacy ID: | Tested version: | 2.5 | ||
Sponsored: | No | Requires documentation: |
Description
After properly configuring Archivematica to connect to AtoM, fetching the levels of description from the AtoM API returns a 404 code. From the AtoM logs:
[18-Feb-2019 19:35:02] WARNING: [pool atom] child 16 said into stderr: "NOTICE: PHP message: Empty module and/or action after parsing the URL "/api/taxonomies/34" (/)."
This seems to have been caused by the new route added in: https://github.com/artefactual/atom/commit/77f91b2909f276950ae295b55cbb8fdce589dbdc
Adding the API routes before the new one in here fixes the issue. For example:
$this->routing->insertRouteBefore('slug;template', $name, new sfRequestRoute($pattern, $defaults, $requirements));
But we should investigate if other URLs have been affected by this issue.
Related issues
History
#1 Updated by José Raddaoui Marín over 3 years ago
For example, I just found another:
[18-Feb-2019 21:01:34] WARNING: [pool atom] child 21 said into stderr: "NOTICE: PHP message: Empty module and/or action after parsing the URL "/sword/deposit/test-dip-upload" (/)."
#2 Updated by José Raddaoui Marín over 3 years ago
- Subject changed from Problem: can't get levels of description from AtoM to Problem: levels of description API endpoint and other URLs returning 404 error code
#3 Updated by Mike Cantelon about 3 years ago
PR for CR: https://github.com/artefactual/atom/pull/860
#4 Updated by Mike Cantelon about 3 years ago
- Status changed from New to Code Review
#5 Updated by José Raddaoui Marín about 3 years ago
- Status changed from Code Review to Feedback
- Assignee set to Mike Cantelon
#6 Updated by Mike Cantelon about 3 years ago
- Status changed from Feedback to QA/Review
- Assignee changed from Mike Cantelon to Dan Gillean
Merged into qa/2.5.x for QA.
#7 Updated by David Hume about 3 years ago
- Related to Bug #12932: DIP upload fails with 2.5 destination added
#8 Updated by Steve Breker about 3 years ago
- Related to Bug #12947: Prevent certain slugs from being created added
#9 Updated by Dan Gillean about 3 years ago
- Assignee deleted (
Dan Gillean)