From 4801a85cb8f3e6004ddf73ae11076c0978b1532c Mon Sep 17 00:00:00 2001 From: Justin James Date: Wed, 17 Jan 2024 21:57:31 +0000 Subject: [PATCH] [#2146] Fixed a physical_path() that should have been a logical_path() --- s3/s3_operations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3/s3_operations.cpp b/s3/s3_operations.cpp index 12437c0..a314264 100644 --- a/s3/s3_operations.cpp +++ b/s3/s3_operations.cpp @@ -441,7 +441,7 @@ namespace irods_s3 { // There is no L1desc[] entry. Look up the object_id via GenQuery. Reverse it // for the key. Write the physical_path to object->physical_path(). - auto path(boost::filesystem::path(object->physical_path())); + auto path(boost::filesystem::path(object->logical_path())); std::string query_string = fmt::format("SELECT DATA_ID WHERE DATA_NAME = '{}' AND COLL_NAME = '{}'", path.filename().c_str(), path.parent_path().c_str());