Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-19646

Search with reference against a local repository and a remote one returns different error (if reference is not found)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Conan
    • Labels:

      Description

      Searching for a reference that doesn't exist, Artifactory returns a different error for a local repository and for a remote one.

      Given a center (remote repository) and a local (local repository), the output of the Conan client is the following:

      ⇒  conan search non-existing/version@user/channel -r local 
      ERROR: Recipe not found: user/non-existing/version/channel. [Remote: local]
      
      ⇒  conan search non-existing/version@user/channel -r center
      ERROR: 404: Not Found. [Remote: center]
      

      Having a look at the response from Artifactory:

      1. From the local repository the response is:
        Recipe not found: user/non-existing/version/channel
        
      1. From the remote repo the response is:
        {
          "errors" : [ {
            "status" : 404,
            "message" : "Not Found"
          } ]
        }
        

      Expected behavior: both should return the Recipe not found... message.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            javierg Javier Garcia Sogo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: