[Archivesspace_Users_Group] Resource Browse Issue
RENTON Scott
Scott.Renton at ed.ac.uk
Mon Jul 7 06:33:57 EDT 2014
Thanks Chris.
Looking at all of this with Firebug, I can see a lot of references to files that it cannot find as it isn't getting the full URL that we expect it to have since our rewrite process. I think I need to get a better understanding of (Ruby in general and) how the URLs which are linked to are built. For example, these are the errors coming off the webpage- they will only be found if they have https://collections.ed.ac.uk/aspaceadmin/… , so you can see it finds aspaceadmin/resources in the first instance (row 5) but further down (row 10), it loses this.
Cheers
Scott
1"NetworkError: 404 Not Found - http://collections.ed.ac.uk/assets/aspace_feedback.js"
aspace_...back.js
2"NetworkError: 404 Not Found - http://collections.ed.ac.uk/assets/aspace_feedback.css"
aspace_...ack.css
3"NetworkError: 404 Not Found - http://collections.ed.ac.uk/assets/aspace_feedback.js"
aspace_...back.js
4"NetworkError: 404 Not Found - http://collections.ed.ac.uk/assets/aspace_feedback.css"
aspace_...ack.css
5GET https://collections.ed.ac.uk/aspaceadmin/resources/3/tree?node_uri=root&hash=
200 OK
119ms
applica...6caa.js (line 25)
ParamsHeadersResponseJSONCookies
{"resource_3":{"title":"Papers of Elizabeth Jean Jones (1935-2009)","id":3,"node_type":"resource","publish":true,"children":[],"record_uri":"/repositories/2/resources/3","level":"Fonds","jsonmodel_type":"resource_tree","instance_types":[],"containers":[]}}
6"NetworkError: 404 Not Found - http://collections.ed.ac.uk/assets/themes/default/bg_body-ea34cdb87b187fda2ac5f3ba4ffd14f5.png"
bg_body...4f5.png
7"NetworkError: 404 Not Found - http://collections.ed.ac.uk/assets/twitter/bootstrap/glyphicons-halflings-2851b489e8c39f8fad44fc10efb99c3e.png"
glyphic...c3e.png
8"NetworkError: 404 Not Found - http://collections.ed.ac.uk/assets/jstree/style-3ca54d07e91ac724d486192f0f87cdd4.css"
style-3...dd4.css
9GET https://collections.ed.ac.uk/resources/3?inline=true&resource_id=3
302 Moved Temporarily
113ms
applica...6caa.js (line 25)
"NetworkError: 404 Not Found - http://collections.ed.ac.uk/assets/archivesspace/drag_handle-c53f6b576bfbc154a020801cda89084c.png"
drag_ha…84c.png
10
GET https://collections.ed.ac.uk/resources/3?inline=true&resource_id=3
302 Moved Temporarily
46ms
applica...6caa.js (line 25)
The profiler is running. Click 'Profile' again to see its report.
200 OK
119ms
applica...6caa.js (line 25)
11"NetworkError: 404 Not Found - http://collections.ed.ac.uk/assets/themes/default/bg_body-ea34cdb87b187fda2ac5f3ba4ffd14f5.png"
bg_body...4f5.png
12"NetworkError: 404 Not Found - http://collections.ed.ac.uk/assets/twitter/bootstrap/glyphicons-halflings-2851b489e8c39f8fad44fc10efb99c3e.png"
glyphic...c3e.png
13"NetworkError: 404 Not Found - http://collections.ed.ac.uk/assets/jstree/style-3ca54d07e91ac724d486192f0f87cdd4.css"
style-3...dd4.css
14GET https://collections.ed.ac.uk/resources/3?inline=true&resource_id=3
302 Moved Temporarily
113ms
applica...6caa.js (line 25)
"NetworkError: 404 Not Found - http://collections.ed.ac.uk/assets/archivesspace/drag_handle-c53f6b576bfbc154a020801cda89084c.png"
drag_ha…84c.png
15
GET https://collections.ed.ac.uk/resources/3?inline=true&resource_id=3
302 Moved Temporarily
46ms
applica...6caa.js (line 25)The profiler is running. Click 'Profile' again to see its report.
Scott Renton
Systems Developer, Library & University Collections
24 Buccleuch Place, 2nd Floor Right
tel: 515219
From: Chris Fitzpatrick <Chris.Fitzpatrick at lyrasis.org<mailto:Chris.Fitzpatrick at lyrasis.org>>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Date: Monday, 7 July 2014 09:56
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: Re: [Archivesspace_Users_Group] Resource Browse Issue
Hi Scott,
I have seen this before, but usually the resulting errors do show up in log file. But there might be an issue on the javascript part that is causing the form not to be loaded asyncronisly. Is it possible for you to open the page with the javascript console open and see if anything is being spit out there?
b, chris.
Chris Fitzpatrick | Developer, ArchivesSpace
Skype: chrisfitzpat | Phone: 918.236.6048
http://archivesspace.org/
________________________________
From:archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> on behalf of RENTON Scott <Scott.Renton at ed.ac.uk<mailto:Scott.Renton at ed.ac.uk>>
Sent: Monday, July 07, 2014 10:49 AM
To: Archivesspace Users Group
Subject: [Archivesspace_Users_Group] Resource Browse Issue
Hi folks,
This is my first post to the list- I'm Scott, involved in the implementation of Archives Space at the University of Edinburgh.
I wonder if anyone has seen the attached screenshot before- we have an issue with viewing Resources (I.e. we have come through Browse/Resources/ and then clicked on View beside one Resource to get this error).
The access logs suggest all is well (it's managed to get the relevant page up after all), and the catalina.out isn't showing any major concern either.
DEBUG -- : Thread-32954: GET /repositories/2/resources/3/tree?limit_to=root [session: #<Session:0x112d0266 @store={:user=>"admin", :login_time=>2014-07-07 09:32:00 +0100, :expirable=>true}, @id="32806c5c925d680e13af6bd4f29887628463b71c6ac7b3f390ee24dcdae716c6">]
D, [2014-07-07T09:39:25.685000 #2673] DEBUG -- : Thread-32954: Post-processed params: {:id=>3, :limit_to=>"root", :repo_id=>2}
D, [2014-07-07T09:39:25.722000 #2673] DEBUG -- : Thread-32954: Responded with [200, {"Content-Type"=>"application/json", "Cache-Control"=>"private, must-revalidate, max-age=0", "Content-Length"=>"242"}, ["{\"title\":\"Papers of Elizabeth Jean Jones (1935-2009)\",\"id\":3,\"node_type\":\"resource\",\"publish\":true,\"children\":[],\"record_uri\":\"/repositories/2/resources/3\",\"level\":\"fonds\",\"jsonmodel_type\":\"resource_tree\",\"instance_types\":[],\"containers\":[]}\n"]]... in 55.0ms
Permissions don't appear to be an issue either- the admin user, who created this record, is granted System Admin privileges, and as belt and braces, everything else is ticked.
Just to add to this issue, we cannot replicate it it in our dev environment, which is running the same (most up-to-date) release of AS. We have set up live to run on a netscaler though, with bespoke (I.e. not server name) URLs.
Thanks folks
Scott
Scott Renton
Systems Developer, Library & University Collections
24 Buccleuch Place, 2nd Floor Right
tel: 515219
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20140707/4494950d/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20140707/4494950d/attachment.ksh>
More information about the Archivesspace_Users_Group
mailing list