User tests: Successful: Unsuccessful:
In #33263 we introduced the concept of having a dynamic namespace map in memory in case the directory was unwriteable. However in some cases if the directory isn't writeable we actually return false from File::write instead of throwing an exception.
This allows us to use the namepsace map in that case too. Honestly I have no clue how to reproduce this other than look at doc blocks as it's as I've been setting up my new laptop. I would assume something like having the write file permissions but the wrong owner of the files (I'm still to debug why PHP can't write to the directory :) )
Either way no functionality is changed on the configuration - I've just shared the two parts to a common method and added more specific logging when you reach either fallback method.
Now to keep debugging my setup :D
Probably the only sane test to do is to ensure the file is still being written in a regular working setup!
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
?
|
This pull request has been automatically rebased to 5.1-dev.
This pull request has been automatically rebased to 5.2-dev.
Title |
|
This pull request has been automatically rebased to 5.3-dev.
Title |
|
This pull request has been automatically rebased to 5.0-dev.