[MGNLUI-7764] JcrDataProvider#sizeInBackEnd doesn't have to call #fetch Created: 25/Jan/23  Updated: 12/Sep/23

Status: Open
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Roman Kovařík Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
dependency
depends upon ABTEST-539 VariantJcrDataProvider relies on impl... Open
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLUI-7765 Implementation Sub-task To Do  
MGNLUI-7766 Review Sub-task To Do  
MGNLUI-7767 Pre-Integration QA Sub-task To Do  
MGNLUI-7768 QA Sub-task To Do  
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: Nucleus Quality Maintenance
Team: Nucleus

 Description   

Redundant operations

Some operations doesn't have to be execute when computing the data provider size:

Making sure this works in tree view

Fetch would be still called when filtering in tree view. This code should be adjusted as well https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/browse/magnolia-ui-framework/src/main/java/info/magnolia/ui/contentapp/FilterableHierarchicalDataProvider.java#110

Development notes

Original fix was reverted due to  ABTEST-539. https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/pull-requests/2288/overview.


Generated at Mon Feb 12 09:49:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.