Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2542

dataimport global session putVal blank

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: None
    • Labels:

      Description

      ContextImpl.java
        private void putVal(String name, Object val, Map map) {
          if(val == null) map.remove(name);
          else entitySession.put(name, val);
        }
      

      change to

      ContextImpl.java
        private void putVal(String name, Object val, Map map) {
          if(val == null) map.remove(name);
          else map.put(name, val);
        }
      

        Attachments

        1. dataimport-globalSession-bug-solr3.1.patch
          0.6 kB
          Linbin Chen
        2. SOLR-2542.3x.patch
          3 kB
          Mikhail Khludnev
        3. SOLR-2542.4x.patch
          3 kB
          Mikhail Khludnev
        4. SOLR-2542.4x.patch
          3 kB
          Mikhail Khludnev
        5. TestContext.java
          2 kB
          Frank Wesemann
        6. TestContext.java
          2 kB
          Frank Wesemann

          Issue Links

            Activity

              People

              • Assignee:
                chenlb Linbin Chen
                Reporter:
                chenlb Linbin Chen
              • Votes:
                3 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: