When the response is- 404 Page Not Found and the 404 page is being rendered by fast 404 module. Drupal should not bootstrap completely as the result of the fast 404 module.

Comments

neetu morwani created an issue. See original summary.

neetu morwani’s picture

StatusFileSize
new666 bytes
neetu morwani’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: stop_drupal_from-2700857-2.patch, failed testing.

neetu morwani’s picture

StatusFileSize
new1.12 KB

Patch updated. Repo cloned from d.o

neetu morwani’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 5: stop_drupal_from-2700857-5.patch, failed testing.

naveenvalecha’s picture

naveenvalecha’s picture

Assigned: neetu morwani » naveenvalecha
Issue tags: +Novice, +Needs reroll

assigning to myself to give it a run.

naveenvalecha’s picture

Assigned: naveenvalecha » Unassigned
naveenvalecha’s picture

+++ b/src/Fast404.php
@@ -138,7 +139,8 @@ class Fast404 {
+    exit();

Don't use the exit function. let's use the EventSubscriber GetResponseEvent $event object to do that for you.

use the $event->setResponse() in onKernelRequest to send the request.

sdstyles’s picture

Status: Needs work » Needs review
StatusFileSize
new1.34 KB

Status: Needs review » Needs work

The last submitted patch, 13: stop-bootstrapping-2700857-13.patch, failed testing.

sdstyles’s picture

Status: Needs work » Needs review
StatusFileSize
new1.04 KB

Reroll patch after changes from response() method.

naveenvalecha’s picture

Issue tags: -Needs reroll
StatusFileSize
new1.74 KB

The last submitted patch, , failed testing.

Status: Needs review » Needs work

The last submitted patch, 16: 2700857.patch, failed testing.

neetu morwani’s picture

Manual testing of the functionalities delivered by the module is done. Everything seems fine. Drupal doesn't get bootstrapped when a page is not found.
Patch looks good to me.
Thanks.

neetu morwani’s picture

Status: Needs work » Needs review
neetu morwani’s picture

Status: Needs review » Reviewed & tested by the community

naveenvalecha’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x-1.x
Will be included in next release.

Status: Fixed » Closed (fixed)

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