You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Andreas Niekler (JIRA)" <de...@uima.apache.org> on 2012/08/21 17:41:37 UTC

[jira] [Created] (UIMA-2456) Field Mapping overwrites Features of the same type

Andreas Niekler created UIMA-2456:
-------------------------------------

             Summary: 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


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

        

[jira] [Commented] (UIMA-2456) Field Mapping overwrites Features of the same type

Posted by "Andreas Niekler (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439339#comment-13439339 ] 

Andreas Niekler commented on UIMA-2456:
---------------------------------------

I have already a working and tested FieldMappingReader.java. If one tells me where to put it (right here?) i will do so
                
> 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
>   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

        

[jira] [Updated] (UIMA-2456) Field Mapping overwrites Features of the same type

Posted by "Andreas Niekler (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Niekler updated UIMA-2456:
----------------------------------

    Description: 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.  (was: 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.)
    
> 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
>   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

        

[jira] [Resolved] (UIMA-2456) Field Mapping overwrites Features of the same type

Posted by "Tommaso Teofili (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tommaso Teofili resolved UIMA-2456.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4.0Addons
         Assignee: Tommaso Teofili
    
> 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
>            Assignee: Tommaso Teofili
>              Labels: bug, patch
>             Fix For: 2.4.0Addons
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (UIMA-2456) Field Mapping overwrites Features of the same type

Posted by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439365#comment-13439365 ] 

Richard Eckart de Castilho commented on UIMA-2456:
--------------------------------------------------

Make a patch (diff) from the changes and attach the patch file to this issue.
                
> 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
>   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

        

[jira] [Commented] (UIMA-2456) Field Mapping overwrites Features of the same type

Posted by "Tommaso Teofili (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443104#comment-13443104 ] 

Tommaso Teofili commented on UIMA-2456:
---------------------------------------

thanks Andreas, I've committed your patch (adjusting indent format to 2 spaces instead of tabs).
                
> 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, patch
>             Fix For: 2.4.0Addons
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Re: [jira] [Updated] (UIMA-2456) Field Mapping overwrites Features of the same type

Posted by Tommaso Teofili <to...@gmail.com>.
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 <ms...@schor.com>

> 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
> >
> >
> >
>
>

Re: [jira] [Updated] (UIMA-2456) Field Mapping overwrites Features of the same type

Posted by Marshall Schor <ms...@schor.com>.
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
>
>         
>


[jira] [Updated] (UIMA-2456) Field Mapping overwrites Features of the same type

Posted by "Andreas Niekler (JIRA)" <de...@uima.apache.org>.
     [ 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