Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6612

GroovyRowResult case insensitive inconsistency

    XMLWordPrintableJSON

    Details

      Description

      Looks like GrrovyRowResult property access is not consistent.
      The current implementation semantics which basically "says as long as there is one key per case insensitive string the property fetching is case insensitive" does not make sense to me and moreover it is not consistent.
      The attached testcase shows the inconsistency. In fact, it is not clear at all what should be the result after the second property assignment.

      To overcome this bug I have AOP the propertySet and before any settings I removed the previous one (if exists) ensuring no than one String case insensitive key at the time. Without this my Sql row processing is not deterministic.
      Thanks in advance,
      Yair

        Attachments

          Activity

            People

            • Assignee:
              paulk Paul King
              Reporter:
              yair.nergaon Yair Nergaon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: