duplicated folder for Editing the Component Files & Folders/advance #866

Closed
opened 2022-02-10 11:01:24 +00:00 by jcodewalker · 3 comments
jcodewalker commented 2022-02-10 11:01:24 +00:00 (Migrated from github.com)

Steps to reproduce the issue

in JCB component view, tab "Setting", click on "Edit component files folders for this joomla component" button.
Click on Tab "Advance" and add new "Folders (full path)"
I want to include the folder data which contains folders and files
Source folder path: my/full/source/folder/data
Destination path: my/full/destination/path/data

Expected result

In destination:
my/full/destination/path/data/all-the-content-of-data-folder

Actual result

my/full/destination/path/data/data/all-the-content-of-data-folder
Please, note the doubled data/data folder

If the folder data contains only files it works fine

System information (as much as possible)

  • OS Name & Version:
  • MySql Version:
  • Apache Version:
  • PHP Version:
  • Joomla Version: 3.10
  • JCB Version: 2.12.15
  • Browser:

Additional comments

### Steps to reproduce the issue in JCB component view, tab "Setting", click on "Edit component files folders for this joomla component" button. Click on Tab "Advance" and add new "Folders (full path)" I want to include the folder **data** which contains **folders** and files Source folder path: my/full/source/folder/data Destination path: my/full/destination/path/data ### Expected result In destination: my/full/destination/path/data/all-the-content-of-data-folder ### Actual result my/full/destination/path/data/data/all-the-content-of-data-folder Please, note the doubled **data/data** folder If the folder data contains only files it works fine ### System information (as much as possible) - OS Name & Version: - MySql Version: - Apache Version: - PHP Version: - Joomla Version: 3.10 - JCB Version: 2.12.15 - Browser: ### Additional comments
aradwan-mcg commented 2022-02-16 13:46:30 +00:00 (Migrated from github.com)

maybe try removing data folder from the destination folder path
like this: Destination path: my/full/destination/path/

maybe try removing data folder from the destination folder path like this: Destination path: my/full/destination/path/
jcodewalker commented 2022-02-17 08:44:10 +00:00 (Migrated from github.com)

maybe try removing data folder from the destination folder path like this: Destination path: my/full/destination/path/

Hello, thanks, that's right! BTW it worked without trailing slash: my/full/destination/path
Thank you for the hint!

> maybe try removing data folder from the destination folder path like this: Destination path: my/full/destination/path/ Hello, thanks, that's right! BTW it worked without trailing slash: my/full/destination/path Thank you for the hint!
aradwan-mcg commented 2022-02-17 13:11:53 +00:00 (Migrated from github.com)

glad i could be of help

glad i could be of help
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#866
No description provided.