Project

General

Profile

Actions

Bug #32001

open

Publish of content view is aborted with Error "Validation failed: Relative path is too long (maximum is 255 characters)"

Added by Nadja Heitmann about 4 years ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

We wanted to publish a content view that contains a repository with a relatively long repo_label and got the message:

Result: the publish is aborted with the error message "Validation failed: Relative path is too long (maximum is 255 characters)"

The error seems to be caused by the nature of the `relative path`, that consists of several labels (e.g. product, repository, content view, etc). The relative path itself can be up to 255 characters, and the sub-components are allowed to be 255 characters as well. This might eventually clash.

A workaround is to alter the `katello_repositories` foreman db table manually, as well as the `cp2_content` candlepin table.

Actions

Also available in: Atom PDF