Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-2328

Change the JCRValueProviderImpl to throw a RuntimeRepositoryException in case a unrecoverable exception takes place

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.25.05
    • None
    • None

    Description

      Currently, the JCRValueProviderImpl contains in quite some places something like

      catch (RepositoryException e)

      { log.error("RepositoryException ", e); }

      The exception is log as an error, and some broken value provider is returned. Instead, I like to throw a UncheckedRepositoryException which has the original repository exception nested : This way, we can short circuit broken repository nodes that for example stem from some clustering corner case where jcr nodes are retrieved from database while already being used by some session

      Attachments

        Issue Links

          Activity

            People

              svoortman Simon Voortman (Inactive)
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: