Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1049

Can't delete containers with dot in name

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 2.1
    • None
    • Backend
    • None
    • False
    • False
    • 4.5.0a Sprint 2

      When trying to remove a container (local or remote) with a dot in the name, deletion fails:

      ```
      Request URL: http://localhost:8002/api/automation-hub/_ui/v1/execution-environments/repositories/alpine684828.6764255192/
      Request Method: DELETE
      Status Code: 404 Not Found
      ```

      the 404 is a HTML response.. "Using the URLconf defined in pulpcore.app.urls, Django tried these URL patterns, in this order:"

      I think the failing match is `/api/automation-hub/ _ui/ v1/ execution-environments/ repositories/(?P<base_path>[-\w]+\/

      {0,1}

      [-\w]+)/ [name='container-repository-detail']` .. `\w` doesn't cover a dot. Or it could be a validation problem? (But right now, the ui, the api, and podman all allow me to create containers with dots.)

              cspealma@redhat.com Clara Spealman (Inactive)
              mhradil-1 Martin Hradil
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: