[fix] Custom field "list of images" doesn't show directories properly #16708#17125
[fix] Custom field "list of images" doesn't show directories properly #16708#17125eshiol wants to merge 2 commits intojoomla:stagingfrom eshiol:#16708
Conversation
|
This would always set the path to the root and not respect the configruation. |
|
This sets the path to the directory passed via configuration starting from the root directory. |
|
Ah looks like i have not looked close enough. |
|
Can you please include a issue description + test instructions? |
|
I wrote a test component called com_pr17152 Steps to reproduce the issueInstall the component com_pr17125 Expected resultThe field should show the contents of the folder components/com_pr17125 Actual resultThe field shows the contents of the folder administrator/components/com_pr17125 Testing InstructionsInstall the patch PR# 17125 |
|
@eshiol can you please update Test Instructions in first Comment? |
|
@laoneo Would this be a valid fix to always look in the root directory for |
|
Not in the folderlist field, otherwise we would have here a BC break. If you need that case, then I would do your own form field for the imegelist custom field. |
|
@laoneo Please confirm to close this PR for a different solution. |
|
@Quy if the author is willing to implement a form field for the image list custom field in this pr then we can work it out here. Otherwise it should be closed. |
|
Why we have a BC break can be reproduced with the following steps:
Actual resultResult with patch |
|
@eshiol I am sorry if this is not the right way. I would close this PR and submit a new PR with the latest changes. |
|
replaced by #20294 |






Pull Request for Issue #16708
Summary of Changes
This patch fixes JFormFieldFolderList. See: #16708
Testing Instructions
#16708 This patch should fix this behavior
Expected result
Field "list of images" works correctly.