Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-3031

Removal of last version crashes the application

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.6
    • Fix Version/s: 5.1.x
    • Component/s: None

      Description

      Steps to reproduce:

      • make snapshot for a folder
      • delete the version
        The application crashes with JCR exception, AbstractSession is no longer valid.
        It can be reproduced with any number of versions.
        The problem is the iterator in JCR which performs a next without checking has() method.

        Attachments

          Activity

            People

            • Assignee:
              rdarlea Radu Darlea
              Reporter:
              rdarlea Radu Darlea
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Time Spent - 2 hours Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - 2 hours Remaining Estimate - 2 hours
                2h