[BUG]: Dynamic Get Not populating Fields #1223

Closed
opened 2025-05-31 19:01:56 +00:00 by mwweb · 3 comments

What Happened?

In Dynamic Gets fields are not populating when Main Source, or View Table (main) is selected.

Further, when creating a Join View Table, the fields are not populating.

In console in Firefox, I'm seeing an error related to javascript.

The following error was displayed in console when inspecting the page.

There was an error! [129] dynamic_get.js:1467:12 getViewTableColumns http://[site]/media/com_componentbuilder/js/dynamic_get.js?026773:1467 (Async: promise callback) getViewTableColumns http://[site]/media/com_componentbuilder/js/dynamic_get.js?026773:1465 <anonymous> http://[site]/administrator/index.php?option=com_componentbuilder&view=dynamic_get&layout=edit:9177 dispatchEvent http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:3703 triggerEvent http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:3175 _triggerChange http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:1202 _handleChoiceAction http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:1306 _onMouseDown http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:1837 (Async: EventListener.handleEvent) _addEventListeners http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:1486 init http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:471 Choices http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:436 doConnect http://[site]/media/system/js/fields/joomla-field-fancy-select.js?8fe001:130 connectedCallback http://[site]/media/system/js/fields/joomla-field-fancy-select.js?8fe001:91 <anonymous> http://[site]/media/system/js/fields/joomla-field-fancy-select.js?8fe001:30

Steps to reproduce the Bug

Go to Dynamic Gets
Create a new Get
Select your main source
select your view table.

Nothing fills in, and when inspecting, there is an error.

Which Joomla version are you compiling in?

5.2.6

Which PHP version are you compiling in?

8.2.24

Which Joomla versions are you targeting?

5.x

Which PHP version are you targeting?

8.2+

Which Web server is JCB running on?

2.4.62

Which Relational Database is JCB running on?

11.7.2-MariaDB-ubu2404

Which OS is JCB running on?

Ubuntu 24.04.2

Which JCB version are you using?

5.1.0

Where in JCB did this issue occur?

Dynamic Get(admin_view), Dynamic Gets(admin_views)

On which browsers did you encounter the issue?

Firefox

Additional Comments

I am using Octojoom

### What Happened? In Dynamic Gets fields are not populating when Main Source, or View Table (main) is selected. Further, when creating a Join View Table, the fields are not populating. In console in Firefox, I'm seeing an error related to javascript. The following error was displayed in console when inspecting the page. `There was an error! [129] dynamic_get.js:1467:12 getViewTableColumns http://[site]/media/com_componentbuilder/js/dynamic_get.js?026773:1467 (Async: promise callback) getViewTableColumns http://[site]/media/com_componentbuilder/js/dynamic_get.js?026773:1465 <anonymous> http://[site]/administrator/index.php?option=com_componentbuilder&view=dynamic_get&layout=edit:9177 dispatchEvent http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:3703 triggerEvent http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:3175 _triggerChange http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:1202 _handleChoiceAction http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:1306 _onMouseDown http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:1837 (Async: EventListener.handleEvent) _addEventListeners http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:1486 init http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:471 Choices http://[site]/media/vendor/choicesjs/js/choices.js?9.1.0:436 doConnect http://[site]/media/system/js/fields/joomla-field-fancy-select.js?8fe001:130 connectedCallback http://[site]/media/system/js/fields/joomla-field-fancy-select.js?8fe001:91 <anonymous> http://[site]/media/system/js/fields/joomla-field-fancy-select.js?8fe001:30` ### Steps to reproduce the Bug Go to Dynamic Gets Create a new Get Select your main source select your view table. Nothing fills in, and when inspecting, there is an error. ### Which Joomla version are you compiling in? 5.2.6 ### Which PHP version are you compiling in? 8.2.24 ### Which Joomla versions are you targeting? 5.x ### Which PHP version are you targeting? 8.2+ ### Which Web server is JCB running on? 2.4.62 ### Which Relational Database is JCB running on? 11.7.2-MariaDB-ubu2404 ### Which OS is JCB running on? Ubuntu 24.04.2 ### Which JCB version are you using? 5.1.0 ### Where in JCB did this issue occur? Dynamic Get(admin_view), Dynamic Gets(admin_views) ### On which browsers did you encounter the issue? Firefox ### Additional Comments I am using Octojoom
mwweb added the
Bug
label 2025-05-31 19:01:56 +00:00
Owner

I think I have fixed this... will double check it in the pre-test version.

I think I have fixed this... will double check it in the pre-test version.
Lemuel was assigned by Llewellyn 2025-06-01 07:26:39 +00:00
Member

Hi @mwweb, there was a issue with that feature, yet it has been resolved in the latest release v5.1.1-alpha5.
Please install the update on your system and it should fix the issue.
Let us know if this resolves it. Thanks

Hi @mwweb, there was a issue with that feature, yet it has been resolved in the latest release [v5.1.1-alpha5](https://git.vdm.dev/joomla/pkg-component-builder/archive/v5.1.1-alpha5.zip). Please install the update on your system and it should fix the issue. Let us know if this resolves it. Thanks
Member

Just for clarification, I meant that you can try out the v5.1.1-alpha5 package on a system that will not affect your dev environment since it is alpha. Just to confirm that the issue has been resolved.

Just for clarification, I meant that you can try out the v5.1.1-alpha5 package on a system that will not affect your dev environment since it is alpha. Just to confirm that the issue has been resolved.
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

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