User tests: Successful: Unsuccessful:
Pull Request for Issue #31920 and #31921
This PR adds some validation to Path to Temp Folder and Path to Log Folder to make sure it is valid and writable before saving to Global Configuration. In case the folder is not writable, a warning will be displayed and default folder will be used instead (same with how we handle Path to Cache Folder)
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_config Language & Strings |
Title |
|
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
|
RTC
I would not merge it as we really should avoid code which suppresses errors.
Status | Ready to Commit | ⇒ | Pending |
I would not merge it as we really should avoid code which suppresses errors.
@laoneo Would it be ok if @joomdonation follows your recommendation above ? Or does it need more changes than that?
Sure
Sorry hit to early enter... Replacing the surpressing with proper condition checks should be fine. Not on a pc right now... But there are for sure better ways to do it.
Labels |
Added:
?
|
I have tested this item
This patch worked as expected, raising warnings for wrong paths.REFER HERE
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-02-24 04:33:36 |
Closed_By | ⇒ | laoneo | |
Labels |
Added:
?
Removed: ? |
Thanks!
Merged it as the only things which has changed since the two successfull tests was that opendir was replaced by is_dir and is_writable.
I have tested this item✅ successfully on 6c36f00
Tested successfully in Beta8-dev of 8 February using PHP 8.0.1 in Wampserver 3.2.4.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32339.