[BUG]: Layouts added to metadata.xml even when no layouts are in use #1099
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1099
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?
What Happened?
After compiling the extension, installation fails with
[ROOT][TMP]/install_6604243101b97/site/layouts
This happens when there are now "Layouts" in use in the component.
The compiler automatically adds
<folder>layout</folder>
to the XML even when it's not needed.Removing the line from the XML fixes the issue and the component installs properly
Adding a dummy layout to the component also fixes the issue
Steps to reproduce the Bug
As described
Which Joomla version are you compiling in?
3
Which PHP version are you compiling in?
8.2
Which Joomla versions are you targeting?
v5.0.3
Which PHP version are you targeting?
8.2
Which Web server is JCB running on?
Apache 2.4
Which Relational Database is JCB running on?
MySQL 8.0
Which OS is JCB running on?
Ubuntu 23.10
Which JCB version are you using?
3.2.0
Which Joomla version is JCB installed on?
Joomla 3
Where in JCB did this issue occur?
Compilation of a component
On which browsers did you encounter the issue?
Firefox, Chrome, Microsoft Edge
Additional Comments
No response
I am aware of this issue... not yet sure how to resolve it. But we will look at it...
As you can see there has been several issues about this:
#1063
#1064