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

Error when attempting to modify a Managed RELS-EXT datastream's properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Fedora 3.5
    • Fix Version/s: Fedora 3.6
    • Component/s: None
    • Labels:
      None

      Description

      Attempting to modify a RELS-EXT datastream's properties (e.g. label, state) which is Managed (i.e., not Inline XML) fails with the following (here with object pid "test:managedRelsExt"):

      Caused by: org.fcrepo.server.errors.ValidationException: Failed to get content stream for test:managedRelsExt/RELS-EXT: [DatastreamManagedContent] returned the error: "org.fcrepo.server.errors.ObjectNotInLowlevelStorageException". Reason: copy://test:managedRelsExt+RELS-EXT+RELS-EXT.0
      at org.fcrepo.server.validation.ValidationUtility.validateReservedDatastream(ValidationUtility.java:143)
      at org.fcrepo.server.management.DefaultManagement.modifyDatastreamByReference(DefaultManagement.java:752)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.fcrepo.server.messaging.NotificationInvocationHandler.invoke(NotificationInvocationHandler.java:68)
      at $Proxy5.modifyDatastreamByReference(Unknown Source)
      at org.fcrepo.server.management.ManagementModule.modifyDatastreamByReference(ManagementModule.java:378)
      at org.fcrepo.server.rest.DatastreamResource.addOrUpdateDatastream(DatastreamResource.java:527)
      ... 44 more
      Caused by: org.fcrepo.server.errors.StreamIOException: [DatastreamManagedContent] returned the error: "org.fcrepo.server.errors.ObjectNotInLowlevelStorageException". Reason: copy://test:managedRelsExt+RELS-EXT+RELS-EXT.0
      at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:191)
      at org.fcrepo.server.storage.types.Datastream.getContentStream(Datastream.java:120)
      at org.fcrepo.server.validation.ValidationUtility.validateReservedDatastream(ValidationUtility.java:139)
      ... 53 more
      Caused by: org.fcrepo.server.errors.ObjectNotInLowlevelStorageException: copy://test:managedRelsExt+RELS-EXT+RELS-EXT.0
      at org.fcrepo.server.storage.lowlevel.akubra.AkubraLowlevelStorage.retrieve(AkubraLowlevelStorage.java:393)
      at org.fcrepo.server.storage.lowlevel.akubra.AkubraLowlevelStorage.retrieveDatastream(AkubraLowlevelStorage.java:156)
      at org.fcrepo.server.storage.lowlevel.akubra.AkubraLowlevelStorageModule.retrieveDatastream(AkubraLowlevelStorageModule.java:107)
      at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:187)
      ... 55 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eddie Edwin Shin
              Reporter:
              eddie Edwin Shin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: