[Koha-bugs] [Bug 30818] REST API: Why does a wrong column name still cause a general 500 while validating exhaustively?

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 20 12:06:38 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30818

--- Comment #2 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Just for my reference. Going thru code

$filtered_params = $result_set->attributes_from_api($filtered_params);
NB my $columns_info = $self->_result->result_source->columns_info;

$filtered_params = $c->build_query_params( $filtered_params, $reserved_params
);

merge_q_params

_parse_dbic_query
Hmm Recursive

_from_api_param

The extracted_reserved_params seems a bit suboptimal.
The attributes_from_api should be able to remove bad columns?

The REST API is a great thing. But I must admit that going thru all these
modules, plugins, etc. the exact meaning of a lot of subroutines is unclear and
the comments are sparse. Hoping that not only Tomas has a global detailed view
of what is going on here.. ;)

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list