Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6784

MgnlVersioningNodeWrapper, CopyUtil and BaseVersionManager code cleanup

    Details

    • Type: Task
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5
    • Component/s: core, integration tests
    • Labels:
      None
    • Account:
      ()
    • Sprint:
      Kromeriz 64
    • Story Points:
      1
    • Magnolia Release:
      5.5

      Description

      Move code of removeVersionHistory from wrapper to BaseVersionManager - this code was used till now (original code in BVM was called only from DefaultContent - deprecated since 4.5 class), code from BVM produced failure of tests.
      In BVM is already injected System context so we don't need to call doInSystemContext, but can directly get system session for JcrOp.

      QA MgnlAuditLoggingContentDecoratorTest code cleanup - LoginException - its removed in tests and its because test methods already declare RepositoryException that is extended by LoginException.

        Attachments

          Activity

            People

            • Assignee:
              efochr Evzen Fochr
              Reporter:
              efochr Evzen Fochr
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: