PHP waning message main() on showfed

Project:RUcore dlr/EDIT
Version:6.1
Component:Code
Category:bug report
Priority:critical
Assigned:chadmills
Status:closed
Description

Viewing this record:

<a href="http://rep-test.libraries.rutgers.edu/dlr/showfed.php?pid=rutgers-lib:25129" title="http://rep-test.libraries.rutgers.edu/dlr/showfed.php?pid=rutgers-lib:25129">http://rep-test.libraries.rutgers.edu/dlr/showfed.php?pid=rutgers-lib:25...</a>

Attached ss of error.

Comments

#1

Line 394 is this:
$embargoattr = $file->status->attributes()->reason;

under a condition set on line 390:
if ($file->status != "200") {
...
}
What node? //reason ?
Is there some change in the xml delivered by the api?

#2

Not sure what API you mean, but GET and RELATIONSHIP API's have not had a syntax change.

GET
<a href="http://rep-test.libraries.rutgers.edu/rucore/api/get/rutgers-lib:25129/fulllist" title="http://rep-test.libraries.rutgers.edu/rucore/api/get/rutgers-lib:25129/fulllist">http://rep-test.libraries.rutgers.edu/rucore/api/get/rutgers-lib:25129/f...</a>

RELATIONSHIP
<a href="http://rep-test.libraries.rutgers.edu/rucore/api/relationship/get/rutgers-lib:25129//xml" title="http://rep-test.libraries.rutgers.edu/rucore/api/relationship/get/rutgers-lib:25129//xml">http://rep-test.libraries.rutgers.edu/rucore/api/relationship/get/rutger...</a>

#3

Priority:normal» critical

#4

Status:active» fixed

Fixed. There was the expectation that a attribute be set that wasn't, thus causing the error. Test by visiting the link in the first comment, you should NOT see the errors messages as they are in the attached screenshot with that same first comment.

#5

Assigned to:triggs» chadmills

#6

Status:fixed» test

#7

Status:test» closed

Confirmed.

Back to top