[BUG]: Cannot save layout with no dynamic get selected #1110
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1110
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?
Cannot save a layout without a dynamic get selected (workaround described below)
Steps to reproduce the Bug
mic Get field at the default "Select an option" and attempt to save. The error reported is:
Save failed with the following error: Incorrect integer value: '' for column
development_j5
.xunqq_componentbuilder_layout
.dynamic_get
at row 1Which Joomla version are you compiling in?
5.1.0
Which PHP version are you compiling in?
8.1
Which Joomla versions are you targeting?
5
Which PHP version are you targeting?
8.1
Which Web server is JCB running on?
nginx
Which Relational Database is JCB running on?
MariaDB 10.6
Which OS is JCB running on?
Ubuntu
Which JCB version are you using?
5rc1
Where in JCB did this issue occur?
Layout(admin_view)
On which browsers did you encounter the issue?
No response
Additional Comments
workaround: using chrome (I assume this would work in any browser that supports element inspection), right click and inspect the dynamic get, alter the value of the "Select an option" option to 0. Then it can be saved. The empty value seems to be the issue.
This issue has been fixed since the release of JCB v5.0.0-rc5.
@stutteringp0et could you please verify that this bug has been resolved on your system so that we can close this issue.