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

With complete null support, nulls in an array cannot be referenced by index

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.12, 5.1.3.18
    • Fix Version/s: 5.2.7.2
    • Labels:
      None
    • Sprint:
      March 2018

      Description

      With complete null support on this code worked fine in 5.1.0.11:

      writeDump( server.lucee.version );
      testNull = javacast( 'null', '' );
      testArray = [ testNull ];
      testStruct = { a: testNull };
      writeDump( testNull );
      writeDump( testStruct.a );
      writeDump( testArray[ 1 ] );
      

      After this version, the syntax "testArray[ 1 ]" causes the following error:

      Element at position [1] does not exist in list
      

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              jberquist John Berquist
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: