Regression: Lucee 6 not finding/reading component mapped archive files

Description

cfspreadsheet extension breaks because the .lar file mapped in the Lucee Admin’s Component Mapping cannot be found. Expanding the archive to a folder and switching to a `Resource` works.

See for details:

https://dev.lucee.org/t/cfspreadsheet-cfc-error-after-upgrade-6-0-0-585/13132/6

Environment

Commandbox latest

Activity

Show:

Pothys - MitrahSoft 15 January 2025 at 15:14

, I tested this ticket using Lucee version 6.2.0.284-RC. When I attempted to write and add a row to an spreadsheet, it worked fine in the latest version of Lucee, and no issues were encountered.

Michael Offner 10 January 2025 at 13:54

fixed and enabled test case for it

Sean P. Ford 25 December 2024 at 01:49

Just a heads up that I ran into this bug today on 6.1.1.118. Updated to current RC,build 6.2.0.166-RC and it was still there, Just downgraded to 6.1.2.6-SNAPSHOT, which was first available build after fix and it worked properly….so it appears to have resurfaced at some point after the fix.

Zac Spitzer 7 December 2024 at 08:22

lucee.runtime.exp.ExpressionException: Can't cast Component [Spreadsheet] to String at lucee.runtime.ComponentImpl.castToString(ComponentImpl.java:1349) at lucee.runtime.ComponentImpl.castToString(ComponentImpl.java:1327) at lucee.runtime.op.Caster.toString(Caster.java:2139) at lucee.runtime.op.Caster.castTo(Caster.java:4158) at lucee.runtime.interpreter.ref.cast.Casting.getValue(Casting.java:61) at lucee.runtime.interpreter.ref.util.RefUtil.getValue(RefUtil.java:37) at lucee.runtime.interpreter.ref.func.BIFCall.getValue(BIFCall.java:82) at lucee.runtime.type.BIF.call(BIF.java:183) at lucee.runtime.type.BIF.call(BIF.java:193) at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:790) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:796) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1992) at tickets.ldev4772_cfc$cf.udfCall(/test/tickets/LDEV4772.cfc:52)

disabled tests for 6.1 and 6.2 for now

Fixed

Details

Assignee

Reporter

Priority

Fix versions

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

Affects versions

Created 21 December 2023 at 01:14
Updated 15 January 2025 at 15:15
Resolved 11 April 2024 at 15:15

Flag notifications