Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-3338

Deleted children become undeleted on repository rebuild

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Fedora 6.0.0
    • Fix Version/s: Fedora 6.0.0
    • Component/s: f4-core
    • Labels:

      Description

      From Andrew Woods

      Reincarnated children

      • Rebuild of containers with deleted children as well as archival groups with deleted children result in reincarnated children upon Fedora rebuild

       

      {{curl -i -XPUT -H'Link: <http://fedora.info/definitions/v4/repository#ArchivalGroup>;rel="type"' localhost:8080/rest/ag
      curl -i localhost:8080/rest/ag
      curl -i -XPUT -d "a file1" localhost:8080/rest/ag/file1
      curl -i localhost:8080/rest/ag/file1
      curl -i -XDELETE localhost:8080/rest/ag/file1
      curl -i localhost:8080/rest/ag/file1
      // Stop Fedora, delete work-dir, start Fedora
      curl -i localhost:8080/rest/ag
      // Notice the child "file1" is ldp:contains by "ag" - BAD}}

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              whikloj Jared Whiklo
              Reviewer:
              Andrew Woods
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support