when using the CLI PERL API available with policy Server to fetch GetAllAttributes() linked to responses , the below error is returned
"failed with error -9. The interface now has an additional optional argument"
Example of used functions :
@domains=$session->GetAllDomains();
foreach $domain(@domains) {
print DEST "\n\nDomain " . $domain->Name() . ":";
@responses=$domain->GetAllResponses();
foreach $response(@responses) {
@attributes=$response->GetAllAttributes();
print DEST "\n Attributes " . $response->Name();
}
}
Release : 12.8.x
Component : SITEMINDER -POLICY SERVER
This is not an error, but just a warning message.
the PMAPI code prints the message and continues normally.
Here is what happens: In the domain 'ENT Sametime 8.5.2' there is an response 'AzReject' with no response attributes.
The search routine searching for ResponseAttributes returns status 'NotFound' if one of the Domains has a response with no Response Attributes meaning there are zero attributes found.
There is also a DEV fix (Defect DE520207) available to eliminate this warning in case it was causing an issue in client scripts