Commit 2f5cdd1
authored
fix(tv): materialize TV request search before filtering to avoid EF Core 500 (#5421)
* fix(tv): materialize TV request search before filtering to avoid EF Core translation error
The SearchTvRequest method applied a Where clause using the custom
StringHelper.Contains overload on an IQueryable, causing EF Core to
attempt (and fail) to translate it to SQL, returning HTTP 500.
Materialize the results with ToListAsync first, then filter in memory,
mirroring MovieRequestEngine.SearchMovieRequest.
Fixes #5420
* ci: remove duplicate 'spec' key in automation-tests smoke step
The Cypress smoke test step defined 'spec' twice, making the workflow
file invalid. Remove the stray duplicate so the workflow parses and runs.1 parent d699405 commit 2f5cdd1
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | 241 | | |
243 | 242 | | |
244 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
648 | | - | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
649 | 651 | | |
650 | 652 | | |
651 | 653 | | |
| |||
0 commit comments