[BUG]: JCB global options very slow and sometimes ignores changes #1176
Labels
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1176
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?
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.
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
Yes, all those were correct.
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
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.