Skip to content

RelatedField hrefs show wrong domain when DOMAIN_ENABLED #7835

Description

@jobselko

When DOMAIN_ENABLED=True, RelatedField renders hrefs with the default domain instead of the related object's actual domain.

For example, TaskScheduleSerializer.last_task renders /pulp/default/api/v3/tasks/<uuid>/ even when the task belongs to a non-default domain. See #7822 (comment).

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions