[MAGNOLIA-6784] MgnlVersioningNodeWrapper, CopyUtil and BaseVersionManager code cleanup Created: 27/Sep/16  Updated: 09/Feb/17  Resolved: 06/Oct/16

Status: Closed
Project: Magnolia
Component/s: core, integration tests
Affects Version/s: None
Fix Version/s: 5.5

Type: Task Priority: Neutral
Reporter: Evzen Fochr Assignee: Evzen Fochr
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Account:
Sprint: Kromeriz 64
Story Points: 1

 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.


Generated at Mon Feb 12 04:17:48 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.