You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@marmotta.apache.org by "Matteo Busanelli (GMail)" <ma...@gmail.com> on 2013/05/28 12:48:20 UTC

Problem with context deleting from admin interface

Hi all,
     another problem:

1. I import an OWL in a new context called "http://localhost:8080/marmotta/context/abilab/proc <http://busa:8080/marmotta/context/abilab/proc>" => OK
2. If I try to delete the context from the interface (link "delete" in the http://localhost:8080/marmotta/core/admin/contexts.html 
<http://busa:8080/marmotta/core/admin/contexts.html>page)I get the following js console error:

 1. DELETE http://localhost:8080/marmotta/context/abilabproc <http://busa:8080/marmotta/context/abilabproc> 405 (Method Not Allowed) jquery.min.js:2
    <http://busa:8080/marmotta/webjars/jquery/1.8.2/jquery.min.js>
     1.
        sendjquery.min.js:2 <http://busa:8080/marmotta/webjars/jquery/1.8.2/jquery.min.js>
     2.
        p.extend.ajaxjquery.min.js:2 <http://busa:8080/marmotta/webjars/jquery/1.8.2/jquery.min.js>
     3.
        deleteContextcontexts.html:324 <http://busa:8080/marmotta/core/admin/contexts.html>
     4.
        (anonymous function)contexts.html:344 <http://busa:8080/marmotta/core/admin/contexts.html>
     5.
        p.event.dispatchjquery.min.js:2 <http://busa:8080/marmotta/webjars/jquery/1.8.2/jquery.min.js>
     6.
        g.handle.h


3. The only way to delete is using cURL from command line calling the API in this way:

     curl -X DELETE http://localhost:8080/marmotta/context?graph=http://busa:8080/marmotta/context/abilabproc

May be the link in the admin interface page context.html call the API in a wrong way (http://localhost:8080/marmotta/context/abilabproc 
<http://busa:8080/marmotta/context/abilabproc>)?

Hoping to give you some usefull feedback.

Thanx for the support.

Matteo.