Project

General

Profile

Actions

Defect #24595

closed

Unarchive link for a subproject of a closed project does not work

Defect #24595: Unarchive link for a subproject of a closed project does not work

Added by Felix Schäfer almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Projects
Target version:
Resolution:
Fixed
Affected version:

Description

When the parent project of an archived project is closed the "unarchive" link is shown source:/branches/3.3-stable/app/views/admin/projects.html.erb@16048#L35, it won't work though as the parent project is not open source:/branches/3.3-stable/app/models/project.rb@16048#L377

Updated by Jean-Philippe Lang almost 10 years ago Actions #1

  • Subject changed from Unarchive link shown in Admin project list even if the project is not unarchivable to Unarchive link for a subproject of a closed project does not work
  • Category set to Projects
  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.3.2
  • Resolution set to Fixed

This is fixed in r16071 but I did not remove the link in this case. We are able to archive a child of a closed project, so we should be able to unarchive it. As the parent is closed, it is restored as closed.
Thanks for pointing this out.

Updated by Felix Schäfer almost 10 years ago Actions #2

That works too, thanks a lot!

Updated by Jean-Philippe Lang almost 10 years ago Actions #3

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom