"Edit Content" screen slow - Unnecessary SQL queries #26840
Labels
LTS: Excluded
Ticket that has been excluded from at least one LTS
OKR : User Experience
Owned by Jason
QA : Not Needed
Release : 23.10.24 v1
Included in LTS patch release 23.10.24 v1
Team : Lunik
Type : Defect
Problem Statement
When we introduced the "Full Width Block or Text" field, we (I) wrote code that does a forward lookup looking to see if the next field on the same tab is a layout field or an entry field. The issue is that this lookup mistakenly bypasses the cached list of fields and instead does a number of fat SQL queries (buried in the API). This forward lookup code is called for every field (n+1 problem) so if you have a bunch of fields on a structure the page load gets slower and slower.
Steps to Reproduce
Open a contentlet for editing that has a a bunch of fields. You will see page performance suffer.
Acceptance Criteria
Loading the edit content screen should be fast.
dotCMS Version
23.10
Proposed Objective
Application Performance
Proposed Priority
Priority 1 - Show Stopper
The text was updated successfully, but these errors were encountered: