Actions
Bug #25410
closed"An error occurred saving the Environment: undefined method `custom_content_path' for #<Katello::Repository:0x00007ff94525c6f0> Did you mean? custom_repo_path" when updating Registry Name Pattern for Library
Status:
Closed
Priority:
Normal
Assignee:
Category:
Lifecycle Environments
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
When Registry Name Pattern field is updated for Library, following error appears:
An error occurred saving the Environment: undefined method `custom_content_path' for #<Katello::Repository:0x00007ff94525c6f0> Did you mean? custom_repo_path
Doesn't happen for other lifecycle environments.
Version:
git commit d303f34f699905a8236fe7e0c7e57793e20bb04f
Steps to reproduce:
1. Content -> Lifecycle Environments -> Library
2. Click "Registry Name Pattern" field
3. Put any valid data, e.g. '<%= organization.label >/<= repository.docker_upstream_name %>' (copied from examples below field)
4. Save
Actions