Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
srmclient: fix compatibility with Bestman
Motivation: A bestman instance can reject srmfs' initial stat (in reality, an srmLs) request with a response that does not include any details (ArrayOfTMetaDataPathDetail). Such behaviour currently triggers a NullPointerException in the client. Modification: Check the request-level ReturnStatus.StatusCode is successful before attempting to extract the details and checking whether the individual surl was successfully stat-ed. Result: The client correctly reports when a bestman endpoint does not accept a user's SRM request. Target: master Requires-notes: no Requires-srmclient-notes: yes Requires-book: no Patch: https://rb.dcache.org/r/9890/ Acked-by: Gerd Behrmann Request: 3.0 Request: 2.16
- Loading branch information