Task #7389
V2 D1Object fails to download V1 content
50%
Description
During testing of services in the mixed V1/V2 DEV2 environment, D1Object fails to download content listed in the ObjectLocationList from a V1-only Member Node. The symptom is a null pointer exception when trying to close a non-existent temporary file where the bytes of the object should have been located. Fix download() to call V1 endpoints on V1-only MNs.
Associated revisions
Fix D1Object.download() to only call REST endpoints that are available on the source MN. In this case, when calling get(), determine if V2 is supported. If not, fall back to V1. refs #7389
Fix D1Object.download() to only call REST endpoints that are available on the source MN. In this case, when calling get(), determine if V2 is supported. If not, fall back to V1. refs #7389
History
#1 Updated by Chris Jones about 9 years ago
- Status changed from In Progress to Testing
- % Done changed from 30 to 50
I've changed download() to talk V1 if needed.