[ 
https://issues.apache.org/jira/browse/SOLR-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man resolved SOLR-2704.
----------------------------

       Resolution: Duplicate
    Fix Version/s: 4.0
                   3.6
    
> Context of DataImportHandler can't store in Global Scope
> --------------------------------------------------------
>
>                 Key: SOLR-2704
>                 URL: https://issues.apache.org/jira/browse/SOLR-2704
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 3.3
>            Reporter: marc emery
>            Priority: Minor
>             Fix For: 3.6, 4.0
>
>
> The putVal method doesn't care about the 'map' object when adding, it always 
> use entitySession (instead of globalSession for SCOPE_GLOBAL)
>   private void putVal(String name, Object val, Map map) {
>     if(val == null) map.remove(name);
>     else entitySession.put(name, val);
>   }
> then it should be 
>   private void putVal(String name, Object val, Map map) {
>     if(val == null) map.remove(name);
>     else map.put(name, val);
>   }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to