Skip to content

Opposite Results in isDefined page code examples for Adobe ColdFusion 2023.  #1675

@rayvarner

Description

@rayvarner

Opposite Results in isDefined code examples for Adobe ColdFusion 2023.

There are 3 code example sections in the isDefined page.

  • Using IsDefined
  • Scope Evaluation Order and Unscoped Variables
  • Dot-notation Variable Names

Below each example I see an "Expected Result". When I click on the "RUN CODE" button for each code example, the Current Engine value is defaulted to Adobe ColdFusion 2023.

When I run the code for the second and third code examples the results are different than the "Expected Result". Switching to a different server, Adobe ColdFusion 2011 for example, will generate results that match the "Expected Result".


Dot-notation Variable Names

Adobe ColdFusion 2023

Is 'form.submit' defined?YES (local['form.submit'])
Is 'submit' defined? NO

Adobe ColdFusion 2021

Is 'form.submit' defined?YES (local['form.submit'])
Is 'submit' defined? YES (form.submit)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions