- First commit to issue fork.
- ๐ฏ๐ตJapan tom konda Kanagawa, Japan
Tom Konda โ made their first commit to this issueโs fork.
- Status changed to Needs work
about 1 year ago 10:08am 5 April 2024 - ๐ฏ๐ตJapan tom konda Kanagawa, Japan
I changed existing
'method' => 'replace'
to'method' => 'replaceWith'
in test modules.
Butcore/lib/Drupal/Core/Render/Element/RenderElement.php
has conflict, so need to resolve. - ๐ฎ๐ณIndia Binoli Lalani Gujarat
Binoli Lalani โ made their first commit to this issueโs fork.
- Merge request !7364Issue #3303557: Deprecate and remove the AJAX replace method โ (Closed) created by Binoli Lalani
- ๐ฎ๐ณIndia Binoli Lalani Gujarat
Binoli Lalani โ changed the visibility of the branch 3303557-deprecate-and-remove to hidden.
- Status changed to Needs review
about 1 year ago 10:41am 8 April 2024 - ๐ฎ๐ณIndia Binoli Lalani Gujarat
- Status changed to Needs work
about 1 year ago 3:00pm 8 April 2024 - ๐ฌ๐งUnited Kingdom catch
Discussed with @smustgrave in slack, we should add a deprecation in 10.3.0 - can be in a separate MR against 10.3.x since the 11.x one seems fine.
- Merge request !7388Issue #3303557: Deprecate and remove the AJAX replace method โ (Closed) created by Binoli Lalani
- Status changed to Needs review
about 1 year ago 1:35pm 9 April 2024 - ๐ฎ๐ณIndia Binoli Lalani Gujarat
Hello @catch,
Thank you for reviewing the MR. I have created another MR against 10.3.x branch and added deprecation.
Pipeline is failed due to phpstan error in system.module. I verified that it is not related to this code change. It is already there in the latest code.Please review the MR and let me know if any changes needed.
Thank you!
- ๐ฌ๐งUnited Kingdom catch
This looks fine. The 10.3.x phpstan fail is indeed in HEAD and should go away when fixed, although will need to rerun the pipeline or rebase to get a full test run.
- Status changed to RTBC
about 1 year ago 4:06pm 11 April 2024 - ๐บ๐ธUnited States smustgrave
10.3 appearing green now, deprecation looks good.
- Status changed to Fixed
about 1 year ago 7:55pm 11 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Needs work
11 months ago 3:40am 20 May 2024 - ๐บ๐ธUnited States benjifisher Boston area
This issue came up in Slack: https://drupal.slack.com/archives/C03L6441E1W/p1716058078575899 and https://drupal.slack.com/archives/C03L6441E1W/p1716060358368069. IIUC, the
pathauto
module was still using'method' => 'replace',
at least once.I think we should have a change record for this issue, so I am reopening it and adding the issue tag.
- ๐ฆ๐บAustralia pandaski
A change record will be helpful because I've identified that more modules could be affected:
search_api
panels
search_api_solr
pathauto
facets
search_api_attachments
diff
password_policy
shield - Status changed to Needs review
11 months ago 2:52am 30 May 2024 - ๐บ๐ธUnited States benjifisher Boston area
I added the draft change record (CR) https://www.drupal.org/node/3450770 โ . I am moving this issue to NR for that.
If the CR looks good, then we can publish it and return this issue to Fixed.
- Status changed to Needs work
11 months ago 3:27am 30 May 2024 The Needs Review Queue Bot โ tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- Status changed to Fixed
11 months ago 8:14am 30 May 2024 - ๐ฌ๐งUnited Kingdom catch
The change record looks good. The only comment I thought about making is that because
replaceWith
is the default method (as defined inDrupal.Ajax
) it would also be possible to just remove the command altogether from the array. But I don't think that's as clear/easy to explain in a CR as using replaceWith explicitly. - ๐บ๐ธUnited States benjifisher Boston area
Is it worth making a follow-up MR to reference the change record, not this issue, in the deprecation message?
- ๐บ๐ธUnited States benjifisher Boston area
benjifisher โ changed the visibility of the branch 3303557-reference-change-record to hidden.
- Merge request !8250Reference the change record, not the issue, in the deprecation message โ (Closed) created by benjifisher
- Status changed to Needs review
11 months ago 3:45pm 31 May 2024 - ๐บ๐ธUnited States benjifisher Boston area
Back to NR for https://git.drupalcode.org/project/drupal/-/merge_requests/8250
The deprecated code is already removed in the 11.x branch, so this follow-up is needed on the 10.3.x branch only.
- ๐บ๐ธUnited States benjifisher Boston area
benjifisher โ changed the visibility of the branch 10.3.x to hidden.
- Status changed to RTBC
11 months ago 6:51pm 31 May 2024 - ๐บ๐ธUnited States smustgrave
CR reads fine. Before/after examples are perfect.
- ๐ฌ๐งUnited Kingdom catch
Committed/pushed to 10.4.x and cherry-picked to 10.3.x, thanks!
- Status changed to Fixed
11 months ago 7:06am 1 June 2024 Automatically closed - issue fixed for 2 weeks with no activity.
- ๐ฉ๐ชGermany mxh Offenburg
So many modules... Can this change be added to the automated D11 compatibility bot?