Skip to content

BoxLang: Internal Wheels routes fail with Function [$blockInProduction] not found #2646

@zainforbjs

Description

@zainforbjs

Describe the bug
When running Wheels on BoxLang, all internal Wheels pages fail with the following error:

Application Error
Function [$blockInProduction] not found

The error originates from:
/vendor/wheels/Public.cfc: line 87

As a result, none of the internal Wheels routes (such as Routes, Migrations, Packages, Guides, Tests, etc.) can be accessed.

To Reproduce
Steps to reproduce the behavior:

  1. Run the Wheels repository or a Wheels application using BoxLang.
  2. Navigate to any internal Wheels page, such as:
    /wheels/info
    /wheels/routes
    /wheels/packages
    /wheels/guides
  3. Observe the application error.

Expected behavior
All internal Wheels routes should render successfully on BoxLang.

Screenshots
Image

Desktop:

  • OS: Any
  • CFML Engine: Boxlang

Additional context
The error occurs in vendor/wheels/Public.cfc, which suggests the $blockInProduction() method is not being integrated or resolved correctly in BoxLang.

Possible causes include:

  • BoxLang handling of private/public methods differently
  • Method name resolution differences for methods prefixed with $

Metadata

Metadata

Assignees

No one assigned

    Labels

    boxlangBoxLang-specific compatibility issue; tracked but may not gate Lucee/Adobe releases

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions