the following code does not work in Lucee 5.2
(it was working in Lucee 4.5)
<CFTRY>
<cfregistry action="getAll" name="regQuery" branch="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows" type="key">
<CFCATCH>
<cfdump var="#CFCATCH#">
<cfset regQuery = "">
</CFCATCH>
</CFTRY>
<cfdump var="#regQuery#">
Attribute name is not allowed for tag cfregistry
valid attribute names are [action,branch,type,variable,sort,entry,value]
name is required for action ‘getAll’
============
BTW… I removed the name attribute, replace it with variable… I found the following error message:
attribute name is required for tag registry, when action is [getAll]