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
### 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_
As you can see there has been several issues about this:
https://git.vdm.dev/joomla/Component-Builder/issues/1063
https://git.vdm.dev/joomla/Component-Builder/issues/1064
The JCB compiler has since been updated to ensure that all required layout directories are created during compilation, even when no layouts are explicitly used.
This ensures that the generated component structure matches its installation manifest, preventing the reported installation error.
As this issue has been addressed in the current JCB releases, we will be closing it as resolved.
The JCB compiler has since been updated to ensure that all required layout directories are created during compilation, even when no layouts are explicitly used.
This ensures that the generated component structure matches its installation manifest, preventing the reported installation error.
As this issue has been addressed in the current JCB releases, we will be closing it as resolved.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What Happened?
After compiling the extension, installation fails with
[ROOT][TMP]/install_6604243101b97/site/layoutsThis 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
The JCB compiler has since been updated to ensure that all required layout directories are created during compilation, even when no layouts are explicitly used.
This ensures that the generated component structure matches its installation manifest, preventing the reported installation error.
As this issue has been addressed in the current JCB releases, we will be closing it as resolved.