Fail closed when the leaved user filter cannot be applied #23031

Back

Depends on abpframework/abp#26284

With UseDbFunction, the NotLeavedFilter translation treated a missing current DbContext as a disabled filter, so compiled queries ran without it. It now throws an AbpException, like the built-in filters.

Without UseDbFunction, the filter read its state from the module, so EF Core kept the state of the first query. It now reads the state through the current DbContext on every query.

Version
10.7.1
Release Date
03 November, 2026
Labels
No labels
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.