mirror of
https://github.com/DependencyTrack/dependency-track.git
synced 2025-10-19 16:03:19 +00:00
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:
parent
3c643c9796
commit
229a3265eb
6 changed files with 46 additions and 31 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue