Bug #12829

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

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

Status:FeedbackStart date:02/18/2019
Priority:MediumDue date:
Assignee:Mike Cantelon% 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.

History

#1 Updated by José Raddaoui Marín about 1 month 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 about 1 month 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 14 hours ago

  • Status changed from New to Code Review

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

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

Also available in: Atom PDF