[ 
https://issues.apache.org/jira/browse/SOLR-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085631#comment-13085631
 ] 

Frank Wesemann commented on SOLR-2704:
--------------------------------------

Duplicates SOLR-2542

> 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
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to