For spaces with thousands of pages, the Space Admin loads slowly. Page load performance decreases drastically in spaces with >5000 pages (in local testing, it was about a seven second load time).

      The editspace.action invokes the EditSpaceEntryAction.class, which makes a getPages() call:

      public class EditSpaceEntryAction extends AbstractEditSpaceAction
      {
          public List getAvailablePages()
          {
              if ((availablePages == null) && (getSpace() != null))
              {
                  availablePages = new ArrayList(pageManager.getPages(getSpace(), true));
                  Page blankPageAtTop = new Page();
                  blankPageAtTop.setTitle("");
                  availablePages.add(0, blankPageAtTop); // Give user the option not to select any home page
              }
              Collections.sort(availablePages);
      
              return availablePages;
          }
      
          public void setSpaceManager()
          {
          }
      }
      

      This is done to populate the set Home Page drop-down. The current approach does not scale well and an alternative means of populating that filed OR settings the Home Page would be ideal.

          Form Name

            [CONFSERVER-21575] Space Admin loads slowly for large spaces

            Renata Dornelas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 123835 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2902170 ] New: CONFSERVER Bug Workflow v4 [ 2996756 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2799314 ] New: JAC Bug Workflow v3 [ 2902170 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2729833 ] New: JAC Bug Workflow v2 [ 2799314 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2395068 ] New: JAC Bug Workflow [ 2729833 ]
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix loyalty performance spaces team-ants New: affects-server loyalty performance spaces team-ants
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix performance spaces team-ants New: affects-server bugfix loyalty performance spaces team-ants
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2290810 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2395068 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2228768 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2290810 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2185149 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2228768 ]

              drizzuto David Rizzuto
              alaskowski Adam Laskowski (Inactive)
              Affected customers:
              4 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: