Active
Project:
CONTENTdm Integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2011 at 16:26 UTC
Updated:
21 Nov 2011 at 16:53 UTC
Currently there are places in the code where XML parsing just fails with WSOD or PHP error messages screen if the CONTENTdm server is not accessible. An example is in the function contentdm_dmGetImageInfo(). Need to add sanity checking here to make sure not to try to parse XML when the response is really 'server isn't there'.
Comments
Comment #1
markj commentedAgreed. I'll start looking into a generalized error handling function.