[BUG]: Class Headers for Site Helper not compiled into site helper file #1159
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1159
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?
In my Component's site helper file I need to add some use statements, so I added them in JCB -> Joomla Components -> my component -> Class Headers tab -> Site Helper Header
This worked fine in JCB3 but after migrating to JCB5 these class headers are not compiled into my sites' helper file anymore
Steps to reproduce the Bug
Add some code to JCB -> Joomla Components -> my component -> Class Headers tab -> Site Helper Header, save and compile the component. Download zipfile and check site/src/Helper/[Component]Helper.php to see, that the header class entries you made in JCB as stated above are missing
Which Joomla version are you compiling in?
5.1.2
Which PHP version are you compiling in?
8.3
Which Joomla versions are you targeting?
5.1.2
Which PHP version are you targeting?
8.3
Which Web server is JCB running on?
Apache 2.4
Which Relational Database is JCB running on?
10.5.23-MariaDB-0+deb11u1
Which OS is JCB running on?
Debian 11
Which JCB version are you using?
5.0.2-beta2
Where in JCB did this issue occur?
Compilation of a component
On which browsers did you encounter the issue?
Firefox
Additional Comments
No response
Seems like the legacy mode for plugins is not working for custom events, and so I have started with the refactoring of the plugins toward native Joomla 5+ plugin Architecture. This is a large task... and will delay the stable release of JCB.
The latest stable release should have resolved this issue. Let us know!