Problem/Motivation

Remaining tasks

  1. The change record for this issue should include a link to recommendations page, https://www.drupal.org/node/3223395#s-telephone. (For example, the CR for removing HAL) - Wrote it here https://www.drupal.org/node/3606383
  2. Tag this issue 'Needs release note.' - Done
  3. Remove the extension ;-). - Done
  4. Update update path tests as needed. See Learn how to write an automated update test.
  5. Remove references from core/phpstan-baseline.neon. - Done
  6. Remove any spelling words specific to the extension from the dictionaries. - Done (Thanks dcam)
  7. Add the extension to the relevant removed list, either DRUPAL_CORE_REMOVED_MODULE_LIST or DRUPAL_CORE_REMOVED_THEME_LIST, in system.install. - Done
  8. Check for references in @todo. - Done

Release notes snippet

The telephone module has been removed from core, and can now be installed as a contrib module.

Issue fork drupal-3594199

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

quietone created an issue. See original summary.

smustgrave made their first commit to this issue’s fork.

smustgrave’s picture

Status: Postponed » Needs review
kieran.cott’s picture

I've tested this locally,:

  1. PHP lint passes on the new fixture and changed test files.
  2. UpdatePathTestBaseFilledTest.php and PreventDowngradeTest.php pass (3 tests, exit code 0)
  3. PHPCS passes on the changed files.
  4. No stale references to core/modules/telephone, telephone/, or Drupal\telephone references outside ignored runtime/vendor areas. Any remaining “telephone” mentions are the generic tel form element/tests and the intended update fixture/tests.

+1 for RTBC.

dcam’s picture

Issue summary: View changes
Status: Needs review » Needs work
Issue tags: +Needs change record

This cannot be RTBC yet. There is a list of tasks to be completed in the issue summary and they have not been finished.

I edited the release note which wasn't finished.

I verified that there are no words in the CSpell dictionaries that are exclusive to the telephone module.

Tagging for a change record. The module was not added to the DRUPAL_CORE_REMOVED_MODULE_LIST constant in core/modules/system/src/Install/Requirements/SystemRequirements.php. I'm setting the status to Needs Work for these two items to be completed.

smustgrave’s picture

Assigned: Unassigned » smustgrave

Thanks! Will take care of

smustgrave’s picture

Issue summary: View changes
Status: Needs work » Needs review
Issue tags: -Needs change record +Needs release note

Added change record.

Struck through items completed.

"Update update path tests as needed" - didn't strike this out as not sure what I did with uninstall-telephone counts.

nicxvan’s picture

Should the CR title be more like the telephone module has been moved to contrib.

dcam’s picture

I think the test logic changes are appropriate. As I understand it, the objective is to make sure all update path tests continue to pass without the telephone module. But upon re-review I thought about the additional fixture. We made these kinds of fixtures for other module removals a few months ago because we had several removals to do and it would have required us to regenerate the fixture several times, not to mention regenerating it with every one that was committed. But this is the last module being removed before D12, right? Maybe we should generate a new fixture. Otherwise every update path test is going to have to include this extra fixture just like we were doing with those other fixtures earlier this year. Something else to consider: won't MRs with update paths start failing without the fixture being included? We might want to avoid having that happen again.

Alternatively, we need a follow-up to regenerate the fixture. It should probably be marked as critical to try to avoid as much issue queue chaos as possible.

Please tell me if I'm wrong.

smustgrave’s picture

I copied the history one but happy to update.

settings_tray, search, shortcut, olivero, and toolbar are still planned for removal

nicxvan’s picture

But this is the last module being removed before D12, right?

It was the last one to be decided to be removed, but it ended being one of the first ones to be ready. #3488826: [meta] Remove deprecated extensions from Drupal 12

dcam’s picture

Got it. Thank you for keeping me updated, guys.

dcam’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -Needs release note

Yeah, all the CR titles say "The {NAME} module has been removed". I don't know if it was a conscious decision to not mention the contrib move in the title.

This one looks good to me. Thank you.

catch’s picture

Status: Reviewed & tested by the community » Needs review

Rather than the fixture to remove telephone prior to update, could we instead apply that change to the database dumps themselves and then re-export? The problem with the fixture is as we add more and more update path tests they'll all need to account for it.

smustgrave’s picture

But we are going to have and do this 4-5 times then. Would it be better to just do it once at the end (before D12)

smustgrave’s picture

settings_tray, search, shortcut, olivero, and toolbar are still in the pipeline so making the assumption they'll have the same issue.