[BUG]: missing toolbar in site view #1116
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1116
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 the site view (edit view) is missing the toolbar, and instead we get an error 'Call to undefined method Joomla\Database\Mysqli\MysqliDriver::toSql()'.
A possible fix is the following:
in the HtmlView.php of the Site View (View\Entity\HtmlView.php) in the display function, add
$this->toolbar = Toolbar::getInstance('toolbar');
after
Steps to reproduce the Bug
Create a component with a site view and try to open a single view
Which Joomla version are you compiling in?
3.10.12
Which PHP version are you compiling in?
8.2.2
Which Joomla versions are you targeting?
4.4.4
Which PHP version are you targeting?
8.2.4
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?
Windows 11
Which JCB version are you using?
3.2.1-rc3
Where in JCB did this issue occur?
Compilation of a component, Site View(admin_view)
On which browsers did you encounter the issue?
Firefox, Chrome
Additional Comments
No response