Details

    • Type: Bug
    • Status: Deployed
    • Priority: New
    • Resolution: Fixed
    • Affects Version/s: 5.2.2.19
    • Fix Version/s: 5.2.4.5
    • Labels:
      None
    • Environment:

      Windows 10

    • Sprint:
      August 2017 Sprint

      Description

      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#">

      The error is

      *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'*

      ============

      I tried to remove the "name" attribute, replaced it by "variable" attribute... then I found the following error message:

      attribute name is required for tag registry, when action is [getAll]

      https://dev.lucee.org/t/cfregistry-issue-in-lucee-5-2-only/2454

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              Allen Allen Weng
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: