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 1
Which 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.
### 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 1
### Which 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.
This issue has been fixed since the release of [JCB v5.0.0-rc5](https://git.vdm.dev/joomla/Component-Builder/commit/827641a3d48fcb73e0662a42262f32f5a0126997).
@stutteringp0et could you please verify that this bug has been resolved on your system so that we can close this issue.
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?
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_getat 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.