[BUG]: JCB global options very slow and sometimes ignores changes #1176

Open
opened 2024-10-08 20:06:29 +00:00 by mtechoh · 4 comments

What Happened?

When selecting global options for JCB, it takes more than a minute before any field can be edited. Saving takes as long, and more often than not doesn't result in anything being saved. When nothing is saved it returns to the System Global Configuration settings and not back to Component Builder. Even closing with no changes takes more than a minute. Global options for other components don't have any issues. The browser and web inspector are frozen during this delay as well.

Steps to reproduce the Bug

When in Component Builder, click on the Options button.

Which Joomla version are you compiling in?

5.1.4

Which PHP version are you compiling in?

8.3.10

Which Joomla versions are you targeting?

5

Which PHP version are you targeting?

8.3

Which Web server is JCB running on?

Apache 2.4

Which Relational Database is JCB running on?

MySQL 8

Which OS is JCB running on?

MacOS (MAMP)

Which JCB version are you using?

5.0.4-alpha2

Where in JCB did this issue occur?

Other

On which browsers did you encounter the issue?

Firefox, Chrome, Safari

Additional Comments

Tried and experience same on Docker image running similar on Synology.

### What Happened? When selecting global options for JCB, it takes more than a minute before any field can be edited. Saving takes as long, and more often than not doesn't result in anything being saved. When nothing is saved it returns to the System Global Configuration settings and not back to Component Builder. Even closing with no changes takes more than a minute. Global options for other components don't have any issues. The browser and web inspector are frozen during this delay as well. ### Steps to reproduce the Bug When in Component Builder, click on the Options button. ### Which Joomla version are you compiling in? 5.1.4 ### Which PHP version are you compiling in? 8.3.10 ### Which Joomla versions are you targeting? 5 ### Which PHP version are you targeting? 8.3 ### Which Web server is JCB running on? Apache 2.4 ### Which Relational Database is JCB running on? MySQL 8 ### Which OS is JCB running on? MacOS (MAMP) ### Which JCB version are you using? 5.0.4-alpha2 ### Where in JCB did this issue occur? Other ### On which browsers did you encounter the issue? Firefox, Chrome, Safari ### Additional Comments Tried and experience same on Docker image running similar on Synology.
mtechoh added the
Bug
label 2024-10-08 20:06:29 +00:00
Member

Please make sure your PHP ini settings is correct, since JCB is such a large component it requires some extra settings in the php ini file. Here is the documentation for a detailed explanation of the required php settings: PHP ini Settings

Please make sure your PHP ini settings is correct, since JCB is such a large component it requires some extra settings in the php ini file. Here is the documentation for a detailed explanation of the required php settings: [PHP ini Settings](https://git.vdm.dev/joomla/Component-Builder/wiki/PHP-Settings)
Author

Yes, all those were correct.

Yes, all those were correct.
Owner

We have not test JCB on PHP 8.3 only 8.0 => 8.2 so if you can help with debugging and sharing the details of why things are not working we would appreciate it... our main focus at this time is to have a stable version in PHP 8.2

We have not test JCB on PHP 8.3 only 8.0 => 8.2 so if you can help with debugging and sharing the details of why things are not working we would appreciate it... our main focus at this time is to have a stable version in PHP 8.2
Author

PHP 8.3 or 8.2 doesn't make any difference. I think it's Javascript related. Safari just freezes (even the timeline recording freezes). Firefox freezes and eventually throws up an alert saying the page is slowing Firefox down. Clicking the FF debug takes it to validate.min.js and "attachToForm(t)". I'll poke it more as I have time.

PHP 8.3 or 8.2 doesn't make any difference. I think it's Javascript related. Safari just freezes (even the timeline recording freezes). Firefox freezes and eventually throws up an alert saying the page is slowing Firefox down. Clicking the FF debug takes it to validate.min.js and "attachToForm(t)". I'll poke it more as I have time.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#1176
No description provided.