
Problem/Motivation
in #3348857: I can't get Update Status I was asking for support and went and xdebugged the code. Learned some things about how the updater works. That said, There were a couple places where an entityquery was created where accessCheck() wasn't used and it was throwing an exception, but that exception was being caught by the try catch there. this was causing the most up to date information to not be grabbed from D.O for Drupal 10. This was introduced in 9.2 and enforced with an exception in 10.0. see https://www.drupal.org/node/3201242
Steps to reproduce
Proposed resolution
Add accessCheck() to each instance of entityQuery in the codebase.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#3 | screencapture-drd-lndo-site-drd-projects-2023-03-18-12_26_27.png | 233.34 KB | generalredneck |
Screenshot from 2023-03-18 12-16-56.png | 932.54 KB | generalredneck |
Issue fork drd-3348861
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
generalredneckdid a search for getQuery() in the whole repo and made changes based on my best judgement updates work now. This solves my request in #3348857: I can't get Update Status
Comment #6
jurgenhaasThank you !