You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Suat Gonul (JIRA)" <ji...@apache.org> on 2012/12/13 17:10:13 UTC

[jira] [Resolved] (STANBOL-782) Do not throw StoreException when a ContentItem does not have textual content

     [ https://issues.apache.org/jira/browse/STANBOL-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suat Gonul resolved STANBOL-782.
--------------------------------

    Resolution: Fixed

Fixed with the revision #1421355. 

Any ContentItem having a binary content which would be obtained through ContentItem#getStream() can be stored in the Contenthub. However, if the ContentItem does neither have a textual content part or binary content a StoreException is still thrown.

If the ContentItem does only have binary content, the content is still stored in the Solr but not indexed.
                
> Do not throw StoreException when a ContentItem does not have textual content
> ----------------------------------------------------------------------------
>
>                 Key: STANBOL-782
>                 URL: https://issues.apache.org/jira/browse/STANBOL-782
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Contenthub
>            Reporter: Meric Taze
>             Fix For: contenthub-0.10.0
>
>
> An exception is thrown when textual content does not exist while submitting a ContentItem to Contenthub. Instead of throwing an exception, execution of code should continue to execute.

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