The autosave doesn't save at all and it returns an internal server error 500 when I check with firebug and in developer tool of chrome. Can anyone help me?

Comments

Dave Reid’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Please re-confirm with the latest 7.x-2.2 release. A couple big bugfixes went in recently.

juampynr’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
Status: Postponed (maintainer needs more info) » Active

The error from the AJAX call when clicking at Restore is:

EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7665 of /somepath/includes/common.inc).

Debugging Autosave I see that there are several warnings, the first being when drupal_build_form() is called, which provokes the following:

_drupal_error_handler(2, 'call_user_func_array() expects parameter 1 to be a valid callback, function \'node_form\' not found or invalid function name', '/somepath/includes/form.inc', 799

I will keep debugging

ryanrain’s picture

Priority: Normal » Critical

I'm seeing this same error, although on line 7663 of common.inc.

i've tried switching to the Seven theme for node editing, and using a text format that doesn't use the ckeditor wysiwyg, but still get the same error.

i also tried applying the patch in #1402902: EntityMalformedException on restore but got the message that the patch had already been applied.

hopefully it's alright that i changed the priority tag on this issue. this problem breaks the module entirely.

would it be useful for me to paste here the results of a debug_backtrace() ?

thanks everyone!

gocreate’s picture

I've tried the latest dev (which appears to include the patched code mentioned elsewhere) and I am still receiving this error. Specifically:

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /autosave/restore/test-node-form/somepath/responsive_bartik
StatusText: Internal Server Error
ResponseText: EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7714 of /somepath/includes/common.inc).

Anyone have any insight on this they can share before I remove the module entirely?

Thanks much!

robdubparker’s picture

Anymore progress on this? I've implemented the autosave_EntityMalformedException.patch with the latest dev release and am still receiving the errors mentioned here.

dafeder’s picture

Issue summary: View changes

@rp121 is your node/add form using an aliased path? I had the same problem and that was the issue. See #2298849: EntityMalformedException missing bundle after clicking Ignore

Demoshane’s picture

Hello,
this seems to be issue still even with latest dev clones based on latest commit hash.

We are not using aliased edit paths or anything but instead using the page variant from ctools page manager to build edit form.

Demoshane’s picture

I can confirm this was caused by panelizing edit form. Built the page without page variant and it works.

keithn’s picture

I had this problem with the dev version (7.x-2.x-dev) for one user. Truncating the autosaved_forms table in the database seemed fix the problem.

Keith