Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293242

When Batch ID doesn't exist, Drupal should emit a 404

$
0
0

Currently if you try to go to /batch?id=123 you get redirected to the homepage with a message stating "No active batch". This seems counter productive, since the batch doesn't exist Drupal should just emit a 404 instead. Attached is a patch for 7.x, I can roll for 8.x too.

AttachmentSizeStatusTest resultOperations
no_valid_batch-404.patch379 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 40,339 pass(es).View details | Re-test

Viewing all articles
Browse latest Browse all 293242

Trending Articles