Hi Marshall, I think that's good (sorry I missed this thread), I'll review it and most likely commit it today. Regards, Tommaso
2012/8/23 Marshall Schor <[email protected]> > Tommaso, do you think you could take a look at this, and if it seems right, > apply the patch? > > -Marshall > > On 8/22/2012 11:13 AM, Andreas Niekler (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/UIMA-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > > > Andreas Niekler updated UIMA-2456: > > ---------------------------------- > > > > Attachment: FieldMappingReader.diff > > > > Here is the diff file. I hope everything is ok since this is my first > contribution to the Jira system. > > > >> Field Mapping overwrites Features of the same type > >> -------------------------------------------------- > >> > >> Key: UIMA-2456 > >> URL: https://issues.apache.org/jira/browse/UIMA-2456 > >> Project: UIMA > >> Issue Type: Bug > >> Components: Sandbox-Solrcas > >> Affects Versions: 2.3.1 > >> Environment: Java, Eclipse > >> Reporter: Andreas Niekler > >> Labels: bug > >> Attachments: FieldMappingReader.diff > >> > >> Original Estimate: 0h > >> Remaining Estimate: 0h > >> > >> The field mapping is not right. The HashMap (mapping = new > HashMap<String, String>(); ) with the fields within the code gets > overwritten by a new HashMap for the type name instead of adding another > feature mapping to the exiting mapping of the Type if more than 1 Feature > of one type is addressed in the mapping file. > > -- > > 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 > > > > > > > >
