Details
-
Bug
-
Resolution: Fixed
-
Critical
-
11.10.5
Description
Steps to reproduce :
- Launch a clean 11.10.5 instance
- Create 100 000 pages without parent … here's a script to do it with the help of the job macro :
{{job id="{{velocity}}$doc.fullName{{/velocity}}" start="true"}} {{groovy}} def logger = services.logging.getLogger(doc.getFullName()); for (int i=0;i<100000;i++) { if (i % 100 == 0) { logger.warn("Working on document ${i}") } def document = xwiki.getDocument("Main.${i}"); document.save(); } {{/groovy}} {{/job}}
- Now, if you already added the orphean pgaes pages panel in the ui of the wiki, your wiki should be pretty much unusable. However, this is usually not the case : the panel is deprecated since we don't use the notion of "parent" anymore, and it's not visible in the default ui of the wiki
- Go in the wiki administration, in the panels section
- In this page, every panel gets rendered, including the orphean pages panel, which will take a large amount of time and will slow the rendering of the page.
Attachments
Issue Links
- is related to
-
XWIKI-6514 Don't interpret all panels initially in the panel wizard
- Open
-
XWIKI-16579 Slowness when editing the page layout via the panels wizard of the administration section on large wikis
- Open