Hi,

When I want to tag several items in Managing news feed page, Data taxonomy gives me an error message "Error submitting form" in the autocomplete textfield. It comes from the function data_taxonomy_ajax_save() in data_taxonomy.module script.

Regards

Comments

crystal_alexandre_froger’s picture

The condition ($cached_form['form_token']['#default_value'] == $_POST['form_token']) in line 282 is false, so the form is not parsed.
When the error happens, the variable $cached_form['form_token']['#default_value'] is empty.

The error happens when several items are tagged one after an other, or several at once. It could be some conflicts with the autocompletion ajax requests, but because I don't know the module, I can't help more than giving information. Anyone can help?

greggles’s picture

Title: Error submitting form. » "Error submitting form." ajax_save
Priority: Critical » Normal

I'm downgrading this. I've seen a similar error from other ajax interactions in Drupal and they tend not to be critical issues, but more of a UX issue. Do you have any evidence that this drastically breaks the functionality of the module?

digi24’s picture

It broke the functionality for me, until I overrode the condition posted above (I know, this is not a solution)

greggles’s picture

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

Ok, then I guess this is critical.

Without a second person verifying the problem marking as "needs more info" - there are 3,000+ users so I'd be surprised if you were the only one to hit on this. Maybe it's specific to some webserver configuration you have?

digi24’s picture

Priority: Critical » Normal

I had a closer look at my installation and played through various configs:
My problem is dependent on the design plugin chosen in views. With a normal table it seems to work now, with VBO it breaks.

So if it only happens with VBO, it is not critical, but maybe others crystala knows more.