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

ASF GitHub Bot commented on JENA-1225:
--------------------------------------

GitHub user ajs6f opened a pull request:

    https://github.com/apache/jena/pull/163

    JENA-1225: Remove prefix map when graph is deleted in TIM

    JENA-1225: Remove prefix map when graph is deleted in TIM

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ajs6f/jena DeletePrefixenWithGraph

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jena/pull/163.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #163
    
----
commit 46c2697a135288702b20a15cbbdd03bbb26b0da9
Author: ajs6f <[email protected]>
Date:   2016-08-19T13:22:41Z

    Remove prefix map when graph is deleted in TIM

----


> Prefixmappings are not removed permanently from graph with DELETE
> -----------------------------------------------------------------
>
>                 Key: JENA-1225
>                 URL: https://issues.apache.org/jira/browse/JENA-1225
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Fuseki
>    Affects Versions: Fuseki 2.4.0
>         Environment: Any / appears on Fuseki 2.4.0 or older
>            Reporter: Miika Alonen
>            Priority: Minor
>
> Prefixmappings are not removed permanently from graphs with DELETE. When 
> adding triples to a graph that was deleted earlier old prefixmappings appear 
> unexpectedly.
> EXAMPLE:
> PUT http://localhost:3030/example/data?graph=http://example.org/foo#
> @prefix foo: <http://example.org/foo#> .
> foo:foo foo:foo foo:foo
> DELETE http://localhost:3030/example/data?graph=http://example.org/foo#
> PUT http://localhost:3030/example/data?graph=http://example.org/foo#
> @prefix bar: <http://example.org/bar#> .
> bar:bar bar:bar bar:bar .
> GET http://localhost:3030/example/data?graph=http://example.org/foo#
> This returns both old and new prefixmappings:
> @prefix bar:   <http://example.org/bar#> .
> @prefix foo:   <http://example.org/foo#> .
> bar:bar  bar:bar  bar:bar .



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to