Fixed
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Zac SpitzerZac SpitzerPriority
NewNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Zac Spitzer
Zac SpitzerPriority
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Created 14 July 2023 at 11:14
Updated 21 July 2023 at 06:36
Resolved 21 July 2023 at 06:36
when directoryCreate calls setStorage with the s3 v2 extension, it does nothing but update the value
https://github.com/lucee/Lucee/blob/6.0/core/src/main/java/lucee/runtime/tag/Directory.java#L726
public static void setS3Attrs(PageContext pc, Resource res, Object acl, String storage) throws PageException { String scheme = res.getResourceProvider().getScheme(); if ("s3".equalsIgnoreCase(scheme)) { // ACL if (acl != null) { try { // old way BIF bif = CFMLEngineFactory.getInstance().getClassUtil().loadBIF(pc, "StoreSetACL"); bif.invoke(pc, new Object[] { res.getAbsolutePath(), acl }); } catch (Exception e) { throw Caster.toPageException(e); } } // STORAGE if (storage != null) { Reflector.callMethod(res, "setStorage", new Object[] { storage }); } } }
test case https://github.com/lucee/Lucee/pull/2147