You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (Created) (JIRA)" <ji...@apache.org> on 2011/11/16 11:28:51 UTC

[jira] [Created] (OPENNLP-383) Model compatibility check fails if model contains an unknown artifact

Model compatibility check fails if model contains an unknown artifact
---------------------------------------------------------------------

                 Key: OPENNLP-383
                 URL: https://issues.apache.org/jira/browse/OPENNLP-383
             Project: OpenNLP
          Issue Type: Bug
    Affects Versions: tools-1.5.1-incubating
            Reporter: Joern Kottmann
            Priority: Minor
             Fix For: tools-1.5.3-incubating


The BaseModel class has a check to ensure that a model is matching the component which is loading it. This check is not performed when the model contains an artifact for which no serializer is available. In this case an exception is thrown which indicates that the artifact type is not known.

In the case of an unknown artifact the model should remember the error and continue until the manifest was loaded to perform the component compatibility check. Only if the check passes the actual error should be reported.

--
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] (OPENNLP-383) Model compatibility check fails if model contains an unknown artifact

Posted by "Joern Kottmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joern Kottmann updated OPENNLP-383:
-----------------------------------

    Fix Version/s:     (was: tools-1.5.3)
    
> Model compatibility check fails if model contains an unknown artifact
> ---------------------------------------------------------------------
>
>                 Key: OPENNLP-383
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-383
>             Project: OpenNLP
>          Issue Type: Bug
>    Affects Versions: tools-1.5.1-incubating
>            Reporter: Joern Kottmann
>            Priority: Minor
>
> The BaseModel class has a check to ensure that a model is matching the component which is loading it. This check is not performed when the model contains an artifact for which no serializer is available. In this case an exception is thrown which indicates that the artifact type is not known.
> In the case of an unknown artifact the model should remember the error and continue until the manifest was loaded to perform the component compatibility check. Only if the check passes the actual error should be reported.

--
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] (OPENNLP-383) Model compatibility check fails if model contains an unknown artifact

Posted by "Joern Kottmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452990#comment-13452990 ] 

Joern Kottmann commented on OPENNLP-383:
----------------------------------------

Will be fixed after 1.5.3.
                
> Model compatibility check fails if model contains an unknown artifact
> ---------------------------------------------------------------------
>
>                 Key: OPENNLP-383
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-383
>             Project: OpenNLP
>          Issue Type: Bug
>    Affects Versions: tools-1.5.1-incubating
>            Reporter: Joern Kottmann
>            Priority: Minor
>
> The BaseModel class has a check to ensure that a model is matching the component which is loading it. This check is not performed when the model contains an artifact for which no serializer is available. In this case an exception is thrown which indicates that the artifact type is not known.
> In the case of an unknown artifact the model should remember the error and continue until the manifest was loaded to perform the component compatibility check. Only if the check passes the actual error should be reported.

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