After successfully running an action against entities use of the back button results in this error. Then the error page shows No Active Batch. It seems like the back button is trying to run the batch again.

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /batch?id=284&op=do StatusText: OK

The rest of the message is just the ajax result which is just the page on the website.

Comments

bojanz’s picture

Category: Bug report » Support request
Status: Active » Fixed

This is how Drupal forms & batch api work, nothing I can do on my side unfortunately.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

HallSL’s picture

I'm sorry to reopen a closed issue, but I could use advice on how to prevent this problem. I'm trying to fix a system that pulls feeds for users and then allows them to choose which items to add to their public content. It works well except that hitting the back button makes the ugly ajax error. Is there not a way to initialize the call so it only runs if there are items in the batch? Any suggestions or direction for assistance appreciated!

yonailo’s picture

Please vote to have this issue fixed in D7: #1009716