Closed (fixed)
Project:
Dropdown Language
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2020 at 18:10 UTC
Updated:
16 Aug 2021 at 12:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
skaughttake the block off 404 pages..
depending on how you've setup your project, generally the 404 page is not a node.. autofilter feature does require 'to be on a node'
even rather: setup a translated node groups for you 404's..
Comment #3
skaughtComment #4
skaughtComment #5
jcourtice commentedHere's a patch that just exits the block creation early w/o returning the build array for the block if we get a 404 or a 403. I may be blind but I don't see a way to exclude the block on error pages via the UI. There's work in core going on but it doesn't seem to ready.
Comment #6
jcourtice commentedComment #7
jcourtice commentedComment #8
skaught(: ahh.. you're probably not blind -- i think i suggested that too offhand.
i see why/what your doing.. have not tested directly. i will look into this more. will consider this path toward next release.
i'm just not ready to act on merging here and now, even just to have it on dev line.. -- am NOT going to mark it as postponed. leaving status unchanged incase anyone else wants to review..
thanks!
Comment #9
skaughtnits:
\Drupal::request(). -- not using DI.Comment #12
skaughtcleanup of DI.
merged to dev
Comment #13
skaughtComment #14
skaught