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

Andy Seaborne commented on JENA-1225:
-------------------------------------

It only seems to happen if you use DELETE.  If I skip the delete, and just do 
two PUTs, it works for me.  [~amiika] - could you confirm that please? (I'm 
using the latest development version - I'm not aware of any chnages that might 
interact here in any recent release).

TDB does store prefixes per graph.

It seems to happen for plain memory datasets as well, not just TDB. This is 
likely only in the last release when the in-memory dataset backing 
implementation changed.

However, one complicating factor can be default union graph. [~amiika] what is 
your Fuseki configuration?

> 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