Problem/Motivation
NodeRevisionAccessCheck is DB dependent for a really simple query.
Proposed resolution
Bump query into node storage.
Remaining tasks
None.
User interface changes
API changes
There's a new method on NodeStorage.
Beta phase evaluation
| Issue category | Bug |
|---|---|
| Unfrozen changes | Unfrozen because it's a bug. |
| Disruption | Disruptive for contributed and custom modules : all existing node storages will need to add a new method. AFAIK there are ~1 complete node storages in contrib and even that's mine. In turn, however, NodeRevisionAccessCheck overrides can be removed. |
| Comment | File | Size | Author |
|---|---|---|---|
| node_count.patch | 4.5 KB | chx |
Comments
Comment #1
dawehner+1
It is a good idea to extract those custom sql queries for various reasons.
I'll RTBC when the testbot thinks its okay :)
Comment #2
dawehnerAlright
Thank you for the patch!
Comment #3
alexpottCommitted e2e00e9 and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.