Updated: Comment #0

Problem/Motivation

Steps to reproduce:

  1. Enable the the Locale module
  2. Enable an additional language
  3. Configure language detection/selection to use URL prefixes
  4. Create a node
  5. Access the node edit from using a language-prefixed URL and trigger autosave
  6. Save the node

Expected behavior: the {autosaved_forms} table does not contain an entry for the edit form
Actual behavior: it does :)

Proposed resolution

If the site is multilingual add to the delete query additional conditions to delete the language-prefixed URLs.

Remaining tasks

  • Write a patch
  • Reviews

User interface changes

None

API changes

None

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

plach’s picture

Status: Active » Needs review
FileSize
1.58 KB
markhalliwell’s picture

Status: Needs review » Reviewed & tested by the community

This works.

marco’s picture

FileSize
1.81 KB

I added a check to prevent a notice when a node has language "und".