Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When going back from the preview page to the form, the temp store is deleted. This is problematic because if you then by accident reload the edit form, you'll loose any previous changes. We need to move following lines:
// Remove the entry from the temp store.
$store->delete($uuid);
to the save method of the nodeForm.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2326727-1.patch | 2.01 KB | swentel |
#1 | 2326727-1-fail.patch | 1020 bytes | swentel |
Comments
Comment #1
swentel CreditAttribution: swentel commentedComment #2
swentel CreditAttribution: swentel commentedComment #4
tim.plunkettLooks great!
Comment #5
webchickAwesome, thanks for the fast turnaround on this!
Committed and pushed to 8.x. Thanks!