Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1225

Prefixmappings are not removed permanently from graph with DELETE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Fuseki 2.4.0
    • Jena 3.1.1, Fuseki 2.4.1
    • Fuseki
    • None
    • Any / appears on Fuseki 2.4.0 or older

    Description

      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 .

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              amiika Miika Alonen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: