Initial Synchronize admin page breaks navigation on sites with lots of content

Created on 28 November 2020, over 4 years ago
Updated 25 September 2024, 8 months ago

Problem/Motivation

Navigating to the Content Sync admin pages via the admin menu takes you from "Configuration" to "Development" to "Content synchronization", which takes you to the initial "Synchronize" tab. There is no ability to jump to the other tabs (Import, Export, Logs, Settings) from the admin menu. This is a problem on sites with enough content on them that the Synchronize tab causes memory-exhaustion errors. (I'm working on a development site with a lot of users that I've imported, but no content yet, and just that is enough to cause the Synchronize page to run out of memory.) If you're not interested in the full content synchronization capabilities of the module, this first required navigation step makes it difficult to get to the admin pages that you need.

Yes, it's possible to get the other pages/tabs to load if you type the direct URL in your browser, but that's asking a lot. The navigation should be able to bypass this required page just fine. See, for example the Configuration Synchronization menu under Development, which provides sub-links to the other tabs.

One might argue that the synchronize-everything page is not ideal as the initial landing page for this module in general, but probably the easiest solution is to update the admin menu links to allow you to bypass that initial Synchronize page.

Steps to reproduce

Install Content Synchronization on a site with a fair amount of content and/or reduce the amount of memory available to Drupal. Attempt to navigate to the module's admin pages via the admin menu. Add content or reduce memory until you get a white screen or out-of-memory error.

Proposed resolution

Update the module navigation in the admin menu to provide links to the other pages/tabs. See Configuration Synchronization in the same Develoment menu as an example.

You could also solve the problem by moving the Synchronize (-everything) page to a sub-page/tab within this menu so that it's not a required first stop.

✨ Feature request
Status

Active

Version

4.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States daletrexel Minnesota, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024