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

Cannot create resource with acl, throw 409 Conflict

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.7.5
    • Fix Version/s: Fedora 5.0.0
    • Component/s: f4-core
    • Labels:

      Description

      In the current master branch, after build and run the Fedora server using the following command:
      > mvn clean install -pl fcrepo-webapp -Pone-click; java -jar fcrepo-webapp/target/fcrepo-webapp-5.0.0-SNAPSHOT-jetty-console.jar --headless

      A resource with ACL cannot be created either using POST or PUT.
      1. First create an acl
      > curl -v -XPUT "http://localhost:8080/rest/acl1" -u fedoraAdmin:fedoraAdmin

      2. create rdf resource with acl on POST
      > curl -v -XPOST -H "Link: <http://localhost:8080/rest/acl1>; rel=\"acl\"" "http://localhost:8080/rest/" -H "Slug: test3" -u fedoraAdmin:fedoraAdmin

      The server response 409 Conflict with an error message "The external path of the link header's ACL URI was not found"

      This error message is added from https://github.com/fcrepo4/fcrepo4/pull/1302

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dbernstein Danny Bernstein
              Reporter:
              ylchen Yinlin Chen
              Reviewer:
              Yinlin Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: