Commit 576bbbb
committed
test(job): assert the round-trip property both engine families satisfy
The re-dispatched matrix confirmed the parser fix — adobe2023 compiles again, +5 tests on
every database — but surfaced a second, more interesting problem: one new ERROR per database
on Adobe.
Error | reports the same metadata name however the component was instantiated
| Could not find the ColdFusion component or interface
wheels.tests._assets.jobs.probejob.
Adobe's component resolver is CASE-SENSITIVE independently of the filesystem. A miscased path
does not resolve on macOS either, where the filesystem happily would. My spec instantiated
through a deliberately lowercase path to prove the engine does not echo the caller's casing
back into the persisted name — an assumption that only holds where the miscased path is
constructible at all.
So the spec was failing on Adobe for a reason *safer* than the one it was testing. Two engine
families close the same hole differently:
Lucee / BoxLang a miscased path RESOLVES, but the metadata name comes back canonical
Adobe a miscased path does not resolve at all — nothing can be persisted
because nothing can be constructed
The spec now asserts the property both satisfy: a caller's miscasing cannot reach
`wheels_jobs.jobClass`. Following cross-engine invariant 11, the flag lives on a struct set in
the try rather than a local set in the catch, so it survives on BoxLang.
This is the answer to the open question in the issue, which is the reason these specs run on
every leg instead of being assumed: the round trip is safe on all five engines, for two
different reasons, neither of which was verified before.
lucee7 + sqlite, full core suite: 4737 pass / 0 fail / 0 error.
Refs #3351
Signed-off-by: Peter Amiri <peter@alurium.com>1 parent 9c369c9 commit 576bbbb
10 files changed
Lines changed: 33 additions & 445 deletions
File tree
- changelog.d
- public/testbox/system/stubs
- vendor/wheels/tests/specs/jobs
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
Lines changed: 0 additions & 52 deletions
This file was deleted.
Lines changed: 0 additions & 52 deletions
This file was deleted.
Lines changed: 0 additions & 70 deletions
This file was deleted.
Lines changed: 0 additions & 52 deletions
This file was deleted.
Lines changed: 0 additions & 70 deletions
This file was deleted.
Lines changed: 0 additions & 70 deletions
This file was deleted.
0 commit comments