Download & Extend

Global autosave settings are not honored

Project:Draft
Version:6.x-1.8
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

The autosave interval is not honored. I've set it to 90, then 120 seconds, but the draft is always saved at 30-second intervals.

What can I do to resolve this problem and/or assist in troubleshooting?

Comments

#1

Subscribing

#2

Title:Autosave interval setting is not honored» Global autosave settings are not honored

In -dev, Drupal.settings.draft.interval is properly getting set to what's chosen in the form, however, Drupal.settings.draft.autosave seems to always be 0.

Investigating, this is because there are per-user settings for autosave, which have autosave disabled by default. There is also an autosave interval separate from the global one. I wonder if there are per-user settings that don't fall back to the globals by default, why the global settings even exist.

Further investigating, the settings under admin/settings/draft don't even get set on users when a new user is created, it seems to always be set to 30 seconds with autosave disabled. This pretty severely limits the autosave feature's usefulness, as I have to instruct my users to turn it on or instruct admins to turn it on for every user.

jubalkessler, could you check that your user's interval has been set to something other than 30 seconds, you might have gotten caught by this.

The user's settings, including interval, do seem to be honored, so I'm updating the title.

nobody click here