It was not included when calling related_resultset on a result object.
In passing, quote the relationship name in one place it wasn't, for
consistency. RT#119863
my $rsrc = $self->result_source;
my $rel_info = $rsrc->relationship_info($rel)
- or $self->throw_exception( "No such relationship '$rel'" );
+ or $self->throw_exception( "No such relationship '$rel' on " . $rsrc->source_name );
my $relcond_is_freeform = ref $rel_info->{cond} eq 'CODE';
);
my $rel_info = $self->relationship_info($join)
- or $self->throw_exception("No such relationship $join on " . $self->source_name);
+ or $self->throw_exception("No such relationship '$join' on " . $self->source_name);
my $rel_src = $self->related_source($join);
return [ { $as => $rel_src->from,