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

POST to fcr:versions on non-versioned resources succeeds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Fedora 5.0.0
    • Component/s: f4-core
    • Labels:
      None
    • Roadmap Theme:
      Services: Versioning

      Description

      Currently if you POST to the fcr:versions endpoint of a non-versioned resource, it will automatically make it versionable, generate the Timemap container and continue to generate the Memento.

      curl -i -X PUT --user fedoraAdmin:fedoraAdmin http://localhost:8080/rest/versioning/v3
      curl -i --user fedoraAdmin:fedoraAdmin http://localhost:8080/rest/versioning/v3
      curl -i -X POST --user fedoraAdmin:fedoraAdmin "http://localhost:8080/rest/versioning/v3/fcr:versions"
      curl -i --user fedoraAdmin:fedoraAdmin http://localhost:8080/rest/versioning/v3

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              whikloj Jared Whiklo
              Reporter:
              kefo Kevin Ford
              Reviewer:
              Danny Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: