?
avatar vishalCTUK
vishalCTUK
11 Nov 2016

Steps to reproduce the issue

Created a Custom field > Gallery and the default folder is '/images/projects' and added 2 folders to load from the article to chose from which are inside projects.

Expected result

/laine
/ctuk

Actual result

Drop down values:
C:\BitNami\wampstack-7.0.12-0\apache2\htdocs\joomla\dev\37\images\projects/ctuk
C:\BitNami\wampstack-7.0.12-0\apache2\htdocs\joomla\dev\37\images\projects/laine

Front end error on page :
JFolder: :files: Path is not a folder. Path: C:\BitNami\wampstack-7.0.12-0\apache2\htdocs\joomla\dev\37\images\projects\C:\BitNami\wampstack-7.0.12-0\apache2\htdocs\joomla\dev\37\images\projects\laine

System information (as much as possible)

Local install on BitNami
Apache 2.
PHP Version 7.0.12
MySQL 5.5.40
Joomla! 3.7.0-dev

Additional comments

The path should be relative to the root of the installation

avatar vishalCTUK vishalCTUK - open - 11 Nov 2016
avatar joomla-cms-bot joomla-cms-bot - change - 11 Nov 2016
Labels Added: ?
avatar vishalCTUK vishalCTUK - change - 11 Nov 2016
The description was changed
avatar vishalCTUK vishalCTUK - edited - 11 Nov 2016
avatar vishalCTUK vishalCTUK - change - 11 Nov 2016
Title
[custom fields]Gallery Path
[com_fields]Gallery Path
avatar vishalCTUK vishalCTUK - edited - 11 Nov 2016
avatar vishalCTUK vishalCTUK - change - 11 Nov 2016
Title
[custom fields]Gallery Path
[com_fields]Gallery Path
avatar vishalCTUK vishalCTUK - change - 11 Nov 2016
Title
[com_fields]Gallery Path
[com_fields]Gallery dropdown folder path is not relative
avatar vishalCTUK vishalCTUK - edited - 11 Nov 2016
avatar vishalCTUK vishalCTUK - change - 11 Nov 2016
Title
[com_fields]Gallery Path
[com_fields]Gallery dropdown folder path is not relative
avatar vishalCTUK vishalCTUK - change - 11 Nov 2016
The description was changed
avatar vishalCTUK vishalCTUK - edited - 11 Nov 2016
avatar ggppdk
ggppdk - comment - 11 Nov 2016

This bug is in windows server specific, broken in both
-- the form element , and when displaying the field

It is fixed by this PR: #12844 [custom fields] Fix gallery field in windows installations
Please test

avatar vishalCTUK
vishalCTUK - comment - 11 Nov 2016

Thank you. I have changes updated the galley files and all works on that side.
Does the same thing apply to the image custom field as I've selected the folder and on my article its an empty drop down?

Regards

avatar ggppdk
ggppdk - comment - 11 Nov 2016

So you tested, the PR #12844 that fixes gallery field in windows,

Near the top left, there is a button "Test this",
Click it and the select "Tested successfully" and the "Submit test result"


About the custom image field being broken in windows

  • it needs "folderlist" form element to be fixed in windows,

There is already a good PR for this here: #11288
folderlist form field returning full paths on Windows (issue 11102)

avatar brianteeman brianteeman - change - 13 Nov 2016
Category com_fields
avatar brianteeman brianteeman - change - 1 Dec 2016
Status New Duplicate Report
Closed_Date 0000-00-00 00:00:00 2016-12-01 10:12:19
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 1 Dec 2016

I am closing this as a duplicate report as it is being handled elsewhere as referenced above


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12866.

avatar brianteeman brianteeman - close - 1 Dec 2016

Add a Comment

Login with GitHub to post a comment