Fixed cloning not properly respecting latest flag. Add regression test for it.

Signed-off-by: Ralf King <rkg@mm-software.com>
This commit is contained in:
Ralf King 2024-09-29 01:30:27 +02:00
parent 3c643c9796
commit 229a3265eb
6 changed files with 46 additions and 31 deletions

View file

@ -582,22 +582,6 @@ final class ProjectQueryManager extends QueryManager implements IQueryManager {
return result;
}
@Override
public Project clone(
final UUID from,
final String newVersion,
final boolean includeTags,
final boolean includeProperties,
final boolean includeComponents,
final boolean includeServices,
final boolean includeAuditHistory,
final boolean includeACL,
final boolean includePolicyViolations
) {
return clone(from, newVersion, includeTags, includeProperties, includeComponents, includeServices, includeAuditHistory,
includeACL, includePolicyViolations, false);
}
@Override
public Project clone(
final UUID from,