[BUG]: Cannot save layout with no dynamic get selected #1110

Open
opened 2024-04-28 02:02:24 +00:00 by stutteringp0et · 1 comment
Member

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.

### 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.
stutteringp0et added the
Bug
label 2024-04-28 02:02:24 +00:00
Robot referenced this issue from a commit 2024-04-30 17:16:45 +00:00
Robot referenced this issue from a commit 2024-04-30 17:21:54 +00:00
Robot referenced this issue from a commit 2024-05-03 05:13:28 +00:00
Robot referenced this issue from a commit 2024-05-03 05:48:12 +00:00
Robot referenced this issue from a commit 2024-05-03 05:52:57 +00:00
Member

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.
Robot referenced this issue from a commit 2024-05-10 16:12:54 +00:00
Robot referenced this issue from a commit 2024-05-10 16:15:25 +00:00
Robot referenced this issue from a commit 2024-05-10 16:35:57 +00:00
Robot referenced this issue from a commit 2024-05-10 16:39:50 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#1110
No description provided.