Project

General

Profile

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

Added by Mirek Długosz over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Lifecycle Environments
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Related to Katello - Bug #25414: publishing docker repo in content view errors with 'Content View publish to environment Library will result in invalid container image name of member repositories'ClosedJustin SherrillActions
Actions #1

Updated by Justin Sherrill over 5 years ago

  • Assignee set to Justin Sherrill
  • Target version set to Katello 3.10.0
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7819 added
Actions #3

Updated by Justin Sherrill over 5 years ago

  • Related to Bug #25414: publishing docker repo in content view errors with 'Content View publish to environment Library will result in invalid container image name of member repositories' added
Actions #4

Updated by Justin Sherrill over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Brad Buckingham over 5 years ago

  • Bugzilla link set to 1646409
Actions

Also available in: Atom PDF