Skip to content

Commit

Permalink
add function S3GetVersionInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Jun 17, 2024
1 parent b5895a6 commit b7c0886
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.number
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Mon Jun 17 18:54:49 CEST 2024
build.number=17
#Mon Jun 17 22:27:19 CEST 2024
build.number=18
4 changes: 3 additions & 1 deletion source/java/src/org/lucee/extension/resource/s3/S3.java
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,7 @@ public Query listObjectsAsQuery(String bucketName, int maxKeys, ListListener lis
if (objects != null && objects.getObjectSummaries() != null) {
int row, sum = 0;
List<S3ObjectSummary> summeries;
Owner o;
while (true) {
summeries = objects.getObjectSummaries();
sum += summeries.size();
Expand All @@ -887,7 +888,8 @@ public Query listObjectsAsQuery(String bucketName, int maxKeys, ListListener lis
qry.setAt(objectName, row, summary.getKey());
qry.setAt(lastModified, row, summary.getLastModified());
qry.setAt(size, row, summary.getSize());
qry.setAt(owner, row, summary.getOwner().getDisplayName());
o = summary.getOwner();
if (o != null) qry.setAt(owner, row, o.getDisplayName());
}

if (objects.isTruncated()) {
Expand Down

0 comments on commit b7c0886

Please sign in to comment.