You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Andrea Nuzzolese (Commented) (JIRA)" <ji...@apache.org> on 2012/04/01 11:38:31 UTC

[jira] [Commented] (STANBOL-565) Recipe creation fails if the description of the recipe, which should be a mandatory parameter, is null

    [ https://issues.apache.org/jira/browse/STANBOL-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243687#comment-13243687 ] 

Andrea Nuzzolese commented on STANBOL-565:
------------------------------------------

An control statement was added to the method ClerezzaRuleStore.createRecipe in order to verify that the description is not null or an empty string.
This should fix the issue.
                
> Recipe creation fails if the description of the recipe, which should be a mandatory parameter, is null
> ------------------------------------------------------------------------------------------------------
>
>                 Key: STANBOL-565
>                 URL: https://issues.apache.org/jira/browse/STANBOL-565
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Rules
>            Reporter: Andrea Nuzzolese
>            Assignee: Andrea Nuzzolese
>
> Recipe creation fails if the description of the recipe, which should be a mandatory parameter, is null.
> The issue depends on the the fact that the method ClerezzaRuleStore.createRecipe does not verify if the description parameter contains a null value while creating a PlainLiteral with that value. This may throw an IllegalArgumentException  caused by the fact that the literal string cannot be null.

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