Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
It looks like tempnam() triggers a deprecation notice that breaks the test because it thinks the file system is not writable, likely because kernel tests actually use a virtual file system.
Proposed resolution
The call actually happens twice, for whateve reason. We can just remove that. I think we could actually easily drop thet whole tempnam() business completely as this is not just a folder that is unique for each test run, it is a *virtual* folder. That said, maybe it actually doesn't work there, so the second line was added.
I have no idea why the deprecation message is only triggered for 8.x-2.x.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
dropzonejs-test-fx.patch | 607 bytes | Berdir |
Comments
Comment #2
BerdirComment #4
Primsi CreditAttribution: Primsi at MD Systems GmbH for MD Systems GmbH commentedThx!