[MGNLPN-254] Bad performance on opening preview app from app launcher Created: 23/May/16  Updated: 20/Jun/16  Resolved: 13/Jun/16

Status: Closed
Project: Magnolia Personalization
Component/s: Preview App
Affects Version/s: 1.1.4
Fix Version/s: 1.1.5, 1.2.6, 1.3

Type: Bug Priority: Critical
Reporter: Frank Sommer Assignee: Ilgun Ilgun
Resolution: Fixed Votes: 0
Labels: support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: Basel 48
Story Points: 3

 Description   

The preview app opens with poor performance, if you open the app from app launcher. Reason is the wrong location resolution in info.magnolia.personalization.preview.ui.PagePreviewSubApp#updateFromLocation.
This method collects recursive all page nodes. With many pages it is very slow. Correct would be to check only the first level children in website workspace.



 Comments   
Comment by Federico Grilli [ 15/Jun/16 ]

QAed with a 10000 pages (nested every 10) website. Seems to work fine.

Generated at Mon Feb 12 06:35:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.