Uploaded image for project: 'Lucee Development'
  1. LDEV-24

queryExecute does not support passing arguments scope as param structure

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0.60, 4.5.2.008
    • Labels:
      None

      Description

      *migrated from: https://issues.jboss.org/browse/RAILO-3284*

      queryExecute() fails with an error message when attempting to use the arguments structure as the params structure. Here is a repo case:

      https://gist.github.com/ryanguill/ba378a7f3167aff02b12

      Writing a function that creates a new structure, key by key from the arguments scope allows it to work, which leads me to believe it is something specific with the arguments scope.

      structCopy() and duplicate() do not resolve the issue.

      The code performs correctly on CF 11. verified still an issue on lucee 4.5

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                michaeloffner Michael Offner
                Reporter:
                ryanguill Ryan Guill
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: