Problem/Motivation

Some projects, like drush were initially managed via drupal.org but then moved their issue queues to an external platform.
The problem is, that if you untick "Enable issue tracker", then the whole view of past issues disappears, which shouldn't.

Steps to reproduce

Disable issue tracker in a project with issues, then go to the issue listing page for that project, you get a 404 page.

Proposed resolution

To still show the issues, but also display a message warning users that the issue tracker is no longer in use, and make sure that there are no links to add new issues within the views.

Update: the second part of the suggested resolution is done by the "project_issue" module in this issue #1857390: User can add issues to projects that doesn't have issue tracking enabled.

Remaining tasks

Create a MR with the changes.

Issue fork drupalorg-3314448

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

fjgarlin created an issue. See original summary.

fjgarlin’s picture

Title: Show list of issues if issue tracker is disabled, with a warning » Show list of issues for a project even if issue tracker is disabled
Issue summary: View changes

fjgarlin’s picture

Assigned: fjgarlin » Unassigned
Status: Active » Needs review

Changed the validator so the issue listing still shows.

Improvements in other issues like #3314430: Render link to issues only if issue tracker is enabled, #1857390: User can add issues to projects that doesn't have issue tracking enabled. and a few other will also add warning messages, remove links when the tracker is disabled, etc.

fjgarlin’s picture

Issue summary: View changes
fjgarlin’s picture

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

  • drumm committed 992c083 on 7.x-3.x authored by fjgarlin
    Issue #3314448 by drumm: Show list of issues for a project even if issue...
drumm’s picture

Status: Needs review » Fixed

Looks good, merged.

jonathan1055’s picture

Thanks for working on this. Just for my info, you have committed this to 7.x-3.x but we need to wait for the next tagged release to be availbale and in use on drupal.org? Or is it live already?

fjgarlin’s picture

You might have already found out, it's live. ie: https://www.drupal.org/project/issues/devel

jonathan1055’s picture

Thanks fjgarlin, yes it was Devel that I was interested in. That's great. So we can add a link manually to the existing issue queue from the project page, but no new issues can be created. Interesting that there has been around 10 new Devel issues created on druopal.org since Moshe migrated the issue queue and disabled it in May 2020. Good to have this bug fixed. Thank you to you and drumm.

fjgarlin’s picture

Yeah, there were some related issues (ie: #1857390: User can add issues to projects that doesn't have issue tracking enabled.) where you could also move issues to projects where issues were disabled. This should be fixed too already.

jonathan1055’s picture

Yes it is fixed. I was following those too.

drumm’s picture

Right, I had mentioned specifically that the disabling issue queue functionality was broken, but we didn’t get much help in improving it. We’ll be using this to migrate issues to git.drupalcode.org, which is why it got done now.

For now, issues will always be on for every project on git.drupalcode.org, once we’ve migrated them. The option to disable them is intermingled with other project-level settings in GitLab, and there isn’t functionality to expose just that option.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.