- Issue created by @huzooka
- last update
12 months ago 5 pass - Issue was unassigned.
- Status changed to Needs review
12 months ago 1:58pm 11 April 2024 - last update
12 months ago 5 pass - last update
12 months ago 2 pass, 1 fail - ππΊHungary huzooka Hungary ππΊπͺπΊ
Adding old-school patch files.
The last submitted patch, 4: file_url-handle_missing_target_ids-3440231-2--test-only.patch, failed testing. View results β
- π΅πΉPortugal dxvargas
The work is good so far and it's solving the problem that is being reported. Good.
But the method "\Drupal\file_url\FileUrlHandler::urlToFile" is where the problem started. It declares that it always returns a FileInterface but it can also return NULL. And there are other usages of this method that can also raise errors because the NULL case is not being handled correctly.
I think this should also be fixed. Here or in another D.O issue. What do you think?