Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.1.004
    • Fix Version/s: 4.3.0.000, 4.2.1.005
    • Labels:
      None

      Description

      The generic CFScript treatment of <cfinsert> should be along these lines, should it not:

      insert tablename="myTable" formfields="myFormField";
      

      Trying this I get:

      Railo 4.2.1.000 Error (template)
      Message	Missing [;] or [line feed] after expression
      Stacktrace	The Error Occurred in
      C:\apps\railo\express\webapps\ROOT\scribble\shared\scratch\blogExamples\cfml\cfscript\test.cfm: line 2 
      1: <cfscript>
      2: insert tablename="numbers" formfields="en,mi";
      3: </cfscript>
      

      If I try the ColdFusion generic CFScript syntax (which I thought you also supported now?):

      insert tablename="myTable" formfields="myFormField";
      

      I get this;

      Railo 4.2.1.000 Error (expression)
      Message	No matching function [CFINSERT] found
      Stacktrace	The Error Occurred in
      /scribble/shared/scratch/blogExamples/cfml/cfscript/test.cfm: line 2 
      1: <cfscript>
      2: cfinsert(tablename="numbers", formfields="en,mi");
      3: </cfscript>
      

      According to the docs, the first syntax should work.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                adamcameroncf Adam Cameron
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: