Bug #12829

Problem: levels of description API endpoint and other URLs returning 404 error code

Added by José Raddaoui Marín 3 months ago. Updated about 1 month ago.

Status:VerifiedStart date:02/18/2019
Priority:MediumDue 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

Related to Access to Memory (AtoM) - Bug #12932: DIP upload fails with 2.5 destination Verified 04/01/2019
Related to Access to Memory (AtoM) - Bug #12947: Prevent certain slugs from being created Verified 04/08/2019

History

#1 Updated by José Raddaoui Marín 3 months 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 3 months 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

#4 Updated by Mike Cantelon about 1 month ago

  • Status changed from New to Code Review

#5 Updated by José Raddaoui Marín about 1 month ago

  • Status changed from Code Review to Feedback
  • Assignee set to Mike Cantelon

#6 Updated by Mike Cantelon about 1 month 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 1 month ago

  • Related to Bug #12932: DIP upload fails with 2.5 destination added

#8 Updated by Steve Breker about 1 month ago

  • Related to Bug #12947: Prevent certain slugs from being created added

#9 Updated by Dan Gillean about 1 month ago

  • Assignee deleted (Dan Gillean)

#10 Updated by Michelle Curran about 1 month ago

  • Status changed from QA/Review to Verified

Verified

Also available in: Atom PDF