-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Affects Version/s: 6.10.9, 7.5.9
-
Fix Version/s: 7.15.3
-
Component/s: Artifactory, Conan
-
Labels:
-
Severity:Critical
-
Release Notes:Yes
Conan packages that are created with an Artifactory "copy" operation to another channel are not visible via version ranges or search.
To reproduce use Conan > 1.30.1:
$ conan new hello/0.1
$ conan create . user/testing
$ conan upload hello/0.1@user/testing -r=artifactory --all --confirm
In Artifactory go to the package, do "copy", custom path change testing --> stable
$ conan remove "*" -f
$ conan search "hello/*@user/stable" -r=artifactory
will return nothing => Error
$ conan install "hello/[>0.0]@user/stable" -r=artifactory
will fail to install
Also, searching directly without * pattern:
$ conan search "hello/0.1@user/stable" -r=artifactory
Will say that There are no packages for reference 'hello/0.1@user/stable', but package recipe found. which is not true because the packages were copied and appear in the Artifactory tree.
This doesn't happen if the package is uploaded, instead of copied.
The same problem happens if the package is copied to a different Artifactory repo, not the current one.
Affects all Artifactory versions, at least since 6.10.