Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2880

Save fails after setting a binary property twice

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2, 2.2.1, 2.2.2
    • 2.2.7, 2.3
    • jackrabbit-jcr2spi
    • None

    Description

      Setting a binary property twice discards the blob value of the first property state but does not remove the change from the changelog, resulting in an error on save:

      javax.jcr.RepositoryException: this BLOBFileValue has been disposed
      at org.apache.jackrabbit.core.value.RefCountingBLOBFileValue.copy(RefCountingBLOBFileValue.java:105)

      will attach patch that adds the respective test to the jcr2spi tests.

      Attachments

        1. add_bin_twice.patch
          0.9 kB
          Tobias Bocanegra

        Activity

          People

            angela Angela Schreiber
            tripod Tobias Bocanegra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: