- 🇺🇸United States smustgrave
This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request → as a guide.
This seems like something that will need a valid test case please
Thanks.
- Status changed to Needs review
about 1 year ago 9:16am 30 July 2023 - last update
about 1 year ago Build Successful - 🇳🇱Netherlands Lendude Amsterdam
So what the original issue was talking about was calls to
$this->view->destroy();
, these are long gone. So the only destroy() remnant lives in \Drupal\views\Plugin\views\display\Feed::attachTo, but that destroys a clone that is build in the calling function. Weird, sure, but won't break anything.\Drupal\views\Plugin\views\display\Feed::attachTo still talks about it being a clone, it is, but it's not relevant that it is. The parent interface doesn't name it a clone and the only other version of it in \Drupal\views\Plugin\views\display\Attachment::attachTo doesn't name it clone either.
So lets stop naming it a clone and stop treating it like one in
\Drupal\views\Plugin\views\display\Feed::attachTo
This method has test coverage in \Drupal\Tests\views\Functional\Plugin\DisplayFeedTest::testFeedOutput so that covers any refactoring we do here.
- last update
about 1 year ago 29,908 pass - 🇳🇱Netherlands Lendude Amsterdam
Bleh, left something staged to test if we could remove the cloning from ViewsExecutable, but we can't (and would be out of scope here anyway)
So the patch I meant to post....
- Status changed to RTBC
about 1 year ago 8:04pm 31 July 2023 - 🇺🇸United States smustgrave
Seems like a cleanup that #23 pointed out has test coverage.
- last update
about 1 year ago 29,912 pass - last update
about 1 year ago 29,946 pass - last update
about 1 year ago 29,953 pass - last update
about 1 year ago 29,953 pass - last update
about 1 year ago 29,958 pass - last update
about 1 year ago 29,958 pass - last update
about 1 year ago 29,958 pass - last update
about 1 year ago 29,959 pass - last update
about 1 year ago 29,977 pass - last update
about 1 year ago 30,049 pass - last update
about 1 year ago 30,056 pass - last update
about 1 year ago 30,056 pass - Assigned to quietone
- 🇳🇿New Zealand quietone New Zealand
I'm triaging RTBC issues → .
I read the IS, comments and patch. All questions answered and I agree with the code changes. Assigning to myself to commit after a break.
-
quietone →
committed 857aadc1 on 11.x
Issue #1977276 by Lendude, tim.plunkett, jofitz, dawehner, catch,...
-
quietone →
committed 857aadc1 on 11.x
- Status changed to Fixed
about 1 year ago 4:00am 25 August 2023 - 🇳🇿New Zealand quietone New Zealand
Automatically closed - issue fixed for 2 weeks with no activity.
- Issue was unassigned.
- Status changed to Fixed
12 months ago 8:10am 17 September 2023