createdAsString implicit fix needed in info.bundle.list.cfm

Description

If search query results is off, this throws error on the bundle admin page.

Please change #createdAsString# to #bundles.createdAsString# in info.bundle.list.cfm

Update: It appears this fix reveals more implicit scope errors.

In menu.cfm, the arguments are implicitly referenced, which needs this at the top:

<cfscript>
stMenu=arguments.stMenu;
adminType=arguments.adminType;
</cfscript>

variables.stText is defined in admin_layout.cfm, which appears to be the correct instance to refer to, but in web.cfm, you refer to it as just stText. Need this to fix:

<cfscript>
stText=variables.stText;
</cfscript>
<cfset navigation = stText.MenuStruct[request.adminType]>

I was able to view the bundles admin page under a more lucee-style configuration with these changes.

Environment

None

Activity

Show:

Michael Offner 24 January 2020 at 09:29

Michael Offner 24 January 2020 at 09:28

Zac Spitzer 9 September 2019 at 13:40

ahh. I just filed a PR for this and other scoping problems

Bruce Kirkpatrick 19 November 2018 at 23:23

The extension applications page is also broken in 2 places. I fixed it. Here is another commit to cherry pick:
https://github.com/brucekirkpatrick/Lucee/commit/cdb0cdd77c284ae652de58f8793dfb76f985fe35

Bruce Kirkpatrick 19 November 2018 at 23:03

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 19 November 2018 at 22:15
Updated 8 May 2020 at 18:48
Resolved 24 January 2020 at 11:48