Project

General

Profile

Bug #25410

"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 Mirosław Zalewski about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Category:
Lifecycle Environments
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
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

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'Closed

Associated revisions

Revision cff302e4 (diff)
Added by Justin Sherrill about 1 month ago

Fixes #25410 - fix env update with docker repositories

History

#1 Updated by Justin Sherrill about 1 month ago

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

#2 Updated by The Foreman Bot about 1 month ago

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

#3 Updated by Justin Sherrill about 1 month 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

#4 Updated by Justin Sherrill about 1 month ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Brad Buckingham about 1 month ago

  • Bugzilla link set to 1646409

Also available in: Atom PDF