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

Melanie Reiplinger updated STANBOL-711:
---------------------------------------

    Description: 
After creating a recipe, then uploading a rule, and then deleting the same rule 
again by

curl -i -X DELETE http://(stanbol)/rules/recipe/(myRecipe)?rule=(rulename)

I get as response:

HTTP/1.1 200 OK
Content-Length: 0
Server: Jetty(6.1.x)

But, as can be seen when doing a GET on the recipe, the rule is not deleted 
from the recipe.

Might be an issue in the Clerezza rule store?

Also, uploading the same rule twice (using exactly the same curl command twice 
in a row) does not return any error or conflict message.

  was:
After creating a recipe, then uploading a rule, and then deleting the same rule 
again by

curl -i -X DELETE http://<stanbol>/rules/recipe/<myRecipe>?rule=<rulename>

I get as response:

HTTP/1.1 200 OK
Content-Length: 0
Server: Jetty(6.1.x)

But, as can be seen when doing a GET on the recipe, the rule is not deleted 
from the recipe.

Might be an issue in the Clerezza rule store?

Also, uploading the same rule twice (using exactly the same curl command twice 
in a row) does not return any error or conflict message.

    
> Rules endpoint: deletion of rules from recipe
> ---------------------------------------------
>
>                 Key: STANBOL-711
>                 URL: https://issues.apache.org/jira/browse/STANBOL-711
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Rules
>            Reporter: Melanie Reiplinger
>            Priority: Minor
>
> After creating a recipe, then uploading a rule, and then deleting the same 
> rule again by
> curl -i -X DELETE http://(stanbol)/rules/recipe/(myRecipe)?rule=(rulename)
> I get as response:
> HTTP/1.1 200 OK
> Content-Length: 0
> Server: Jetty(6.1.x)
> But, as can be seen when doing a GET on the recipe, the rule is not deleted 
> from the recipe.
> Might be an issue in the Clerezza rule store?
> Also, uploading the same rule twice (using exactly the same curl command 
> twice in a row) does not return any error or conflict message.

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

        

Reply via email to