You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Adam Lally (JIRA)" <ui...@incubator.apache.org> on 2006/12/14 21:51:21 UTC
[jira] Reopened: (UIMA-61) CasCreationUtils.createCas(Collection)
silently ignores TypeSystemDescription objects,
[ http://issues.apache.org/jira/browse/UIMA-61?page=all ]
Adam Lally reopened UIMA-61:
----------------------------
This broke some user code. Reconsidering.
> CasCreationUtils.createCas(Collection) silently ignores TypeSystemDescription objects,
> --------------------------------------------------------------------------------------
>
> Key: UIMA-61
> URL: http://issues.apache.org/jira/browse/UIMA-61
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Reporter: Adam Lally
> Assigned To: Adam Lally
> Priority: Minor
> Fix For: 2.1
>
> Attachments: UIMA-61-testCase.patch
>
>
> The CasCreationUtils.createCas(Collection,...) methods only accept certain kinds of objects in the Collection: AnalysisEngineDescription, CollectionReaderDescription, CasInitializerDescription, CasConsumerDescription, or ProcessingResourceMetaData. Any other kinds of objects in the collection are silently ignored.
> A user tried to pass a TypeSystemDescription object, expecting that it would be used to initialize the CAS type system. This didn't work but didn't cause an error, so the user had a hard time figuring out what was wrong with their application.
> There's no reason why these methods could accept TypeSystemDescription objects (as well as FsIndexCollection and TypePriorities objects). Furthermore they should throw an error if passed a type of object that is not allowed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira