Problem/Motivation

Found in #3227518: Never show a "Not supported!" version as "Recommended" which has a similar problem for unsupported releases ,
update_calculate_project_update_status() has the message for the case if the current release is unpublished :

'Your currently installed release has been revoked, and is no longer available for download. Disabling everything included in this release or upgrading is strongly recommended!'

. This message doesn’t account for the case if there isn’t an available update.

It appears this code is 10 yrs old and probably no one has ever filed an issue for this problem, so marking it as minor.

Proposed resolution

Change the message for the case if there is no update available.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3250642

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

kunal.sachdev created an issue. See original summary.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

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

ranjit1032002’s picture

Status: Active » Needs review

Created MR!3935 for the issue mentioned, please review.
Thank You.

smustgrave’s picture

Status: Needs review » Needs work
Issue tags: +Documentation, +Needs Review Queue Initiative

Language seems like someone is speaking directly to me vs announcing a description.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

@Ranjit1032002, thank you for making an MR. However, next time make sure you are changing the correct string. The string changed in the MR is for unsupported releases not revoked as is stated in the issue summary.

In my opinion, the existing testDisabling everything included in this release or upgrading is strongly recommended!' handles the case where there is no update because it says to 'disable everything'. The suggested 'upgrading' is an option only. I will ask in #bugsmash and #ux.

This is about the UI, so tagging.

@smustgrave, what documentation needs to be changed in this issue?

smustgrave’s picture

Issue tags: -Documentation

Think I used the wrong tag.

benjifisher’s picture

Issue tags: +Documentation

We discussed this issue briefly at #3377568: Drupal Usability Meeting 2023-08-04. That issue will have a link to a recording of the meeting.

For the record, the attendees at today's usability meeting were @AaronMcHale, @Emma Horrell, @benjifisher, @rkoller, @simohell, and @worldlinemine.

We decided that we did not have enough context to make an informed recommendation. How does a release get "revoked"? Does that mean unpublished, or is it specifically when the maintainer marks it as unsupported?

With that caveat, we tend to agree with #9.

Besides the question raised in this issue, the current message has some other problems. It refers to "disabling" a module, which is only possible in Drupal 7 and earlier.

benjifisher’s picture

Issue tags: -Documentation

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.