-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
DBIx::Class::ResultSet::search_rs(): search( %condition ) is deprecated, use search( %condition ) instead
I traced that warning down to this line in _save_columns:
$dbic->$accessor($value);
After chatting with the DBIx::Class-Stuff i get this helpful answer:
$obj->m2m_rel just calls $obj->search_related($link_rel)->search_related($foreign_rel, @_, %attrs)
so that becomes ->related_resultset($foreign_rel)->search(1001, %attrs), which is deprecated
And an solution
in that case it should be ->set_m2m_rel({ id => $_ })
But i thinks this must be configurable in HTML::FormFu::Model::DBIC. But i hope this many information is enough to fix it.
Metadata
Metadata
Assignees
Labels
No labels