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).
When
DOMAIN_ENABLED=True,RelatedFieldrenders hrefs with the default domain instead of the related object's actual domain.For example,
TaskScheduleSerializer.last_taskrenders/pulp/default/api/v3/tasks/<uuid>/even when the task belongs to a non-default domain. See #7822 (comment).