[MGNLTOOLS-80] VersionStorePurgeCommand broken since versioning for all repositories Created: 18/May/16  Updated: 09/Feb/17  Resolved: 05/Aug/16

Status: Closed
Project: Repository Tools
Component/s: None
Affects Version/s: 1.7
Fix Version/s: 1.7.1, 1.8

Type: Bug Priority: Major
Reporter: Espen Jervidalo Assignee: AntonĂ­n Juran
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: Kromeriz 56
Story Points: 2

 Description   

This code is broken:

info.magnolia.tools.commands.VersionStorePurgeCommand {
       ...
        for (String repoName : reposNames) {
            if (repoName.equals(RepositoryConstants.VERSION_STORE)) {
                continue;
            }
            session = systemContext.getJCRSession(repoName);
            checkWriteAccess(session);
            repos.add(session);
        }
       ...
}

Generated at Mon Feb 12 10:40:55 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.