? Pending

User tests: Successful: Unsuccessful:

avatar joeforjoomla
joeforjoomla
4 Feb 2019

Summary of Changes

Currently the FolderlistField class doesn't trim properly the path slash on Windows, as a result the path in the dropdown is wrong including /banners, /headers, etc

Testing Instructions

Use the FolderlistField in an XML config file on a Windows machine

Expected result

Paths are correct banners, headers, etc

Actual result

Paths are wrong /banners, /headers, etc

Documentation Changes Required

This issue arised because of the change in the file:
joomla4/libraries/vendor/joomla/filesystem/src/Folder.php
at line 470:
$fullpath = Path::clean($path . '/' . $file);
that now calls the Path::clean function, thus reverting a full path from:
E:\vhosts\joomla40dev\images/banners (Joomla 3.9)
to:
E:\vhosts\joomla40dev\images\banners

avatar joeforjoomla joeforjoomla - open - 4 Feb 2019
avatar joeforjoomla joeforjoomla - change - 4 Feb 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Feb 2019
Category Libraries
avatar joeforjoomla joeforjoomla - change - 4 Feb 2019
The description was changed
avatar joeforjoomla joeforjoomla - edited - 4 Feb 2019
avatar wilsonge wilsonge - change - 6 Feb 2019
Labels Added: ?
avatar wilsonge wilsonge - change - 21 Mar 2019
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-03-21 14:16:58
Closed_By wilsonge
avatar wilsonge wilsonge - close - 21 Mar 2019
avatar wilsonge wilsonge - merge - 21 Mar 2019
avatar wilsonge
wilsonge - comment - 21 Mar 2019

Thanks!

Add a Comment

Login with GitHub to post a comment