new Versions don't appear in Sidekick when created trhough VersionManager
Hi,
I'm successfully programmatically creating new versions via the VersionManager. My code is as follows:
final Workspace workspace = session.getWorkspace();
final VersionManager versionManager = workspace.getVersionManager();
final VersionHistory versionHistory = versionManager.getVersionHistory(nodePath);
String label = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(new Date()).toString();
final Version v = versionManager.checkpoint(nodePath);
if (v != null) {
log.debug("Process: Adding Label for {}", v.getName());
versionHistory.addVersionLabel(v.getName(), label, false);
I can confirm that new versions are created by viewing them in CRX DE under the Version History. The Frozen Nodes are created.
However, the new versions do not appear in siteadmin under Restore Version, or on the Page Edit Sidekick in the Versioning Tab in Author runmode . What am I missing to make sure the new versions are selectable and viewable in those menus?
Thank you.
