jcb can not compile placeholder in Target Path #589
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#589
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
hi
Steps to reproduce the issue
go to edit the compnent>Settings tab>click on "Edit component files folders for this joomla component" and go to Editing the Component Files & Folders
and use component placeholder such as [component] in Target Path, then save and close then compile component.
Expected result
work and translate [-------] to correct word.
Actual result
return this error:
Warning
Field required: Target Path
and exit and not save anything. when you click on "Edit component files folders for this joomla component" button
and then come back to that page, there is no change in Target Path.
System information (as much as possible)
Additional comments
The File Path at this time only has the following placeholder options in the advanced area:
Those are just in the advanced area, on the File Path values. Then the Target Path can only be set in relation to the installation package. Like the description says
Path in relation to the folder structure in the install package, unzip the compiled zip file to see the structure.
So the component name is not ever available int the Target Path since we are in the installation zipped package. I will close this issue, since we do not see the need to add any dynamic values inside this area. As the Component Files & Folders area can just be linked to one component, should you want the component name in a path, you can just manually add it, since no other component will reuse this Component Files & Folders area.