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

ClassCastException in new Pypi convertor/indexer

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 4.7.4
    • Fix Version/s: 4.8.0
    • Component/s: PyPI
    • Labels:
      None

      Description

      See attached stacktrace.

      Steps to reproduce:
      1.Create a pypi repo in a pre-4.7.2 version
      2.Deploy a directory to it, e.g:
      curl -XPUT -uadmin:password "http://localhost:8081/artifactory/pypi-local/dir/"
      3.Annotate the dir with the pypi.name property with some value
      4.Upgrade from your version to version 4.7.3+

      The new pypi conversion should kick in. The convertor runs the pypi indexer, which searches artifacts based on the 'pypi.name' property. If you have a directory that has the pypi.name property, it will turn out in the property search results and will eventually result in a ClassCastException.

        Attachments

          Activity

            People

            • Assignee:
              shayy Shay Yaakov (Inactive)
              Reporter:
              uriahl Uriah Levy
              Assigned QA:
              Kareem Abu Edris (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: