Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Updated: Comment 0
Problem/Motivation
As a side note, I've been trying to use this with the breadcrumbs conversion and it doesn't behave totally as expected. In particular there are points where the language handling is wrong generating link if we tweak this code to do this right(?) think and remove the attributes from the parent request.
Comments
Comment #1
pwolanin CreditAttribution: pwolanin commentedPerhaps I was just doing something dumb in the patch, but we ought to at least understand the possible carry-over or side effects and make the duplicated request as close as possible to one from Request::create() while retaining the performance benefit.
Comment #2
pwolanin CreditAttribution: pwolanin commentedSo, among other things dawehner has noticed attributes like _content carried over, which certainly could cause issues.
Comment #3
dawehnerWe dropped
RequestHelper
already.Comment #5
jibranWe have @todo in
PathBasedBreadcrumbBuilder
for this issue.Comment #6
penyaskitoAnd still there :-)
Comment #7
idebr CreditAttribution: idebr at iO commentedI created an issue to remove the @todo: #3116147: Remove @todo pertaining to RequestHelper::duplicate(), which has been removed