Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.1.3.002
    • Fix Version/s: 4.3.0.000, 4.2.0.009
    • Labels:
      None
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Use the BIF queryAddRow instead of the member function query.addRow

      Show
      Use the BIF queryAddRow instead of the member function query.addRow

      Description

      The query member functions error in the latest production build (4.1.2.005) error. They were working as of 4.0.4.001.

      Note, JIRA does not have a version 4.1.2.005 for me to select, so I picked the closest version 4.1.3.002.

      <cfscript>
      //Create a new query recordset to test
      q = queryNew("id,test");
      //Test that queryAddRow works
      queryAddRow(q,[1,"test"]);
      writeDump(q);

      //Fails for 'Can't cast Complex Object Type Struct to String'
      q.addRow(

      {id:2,test:"test"}

      );
      //Fails for 'Can't cast Complex Object Type Array to String'
      q.addRow([2,"test"]);

      writeDump(q);
      </cfscript>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                rorylaitila Rory Laitila
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: