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