Project

General

Profile

Actions

Defect #43603

closed

Delete link is missing from the context menu when using a relative URL root

Added by Kenta Kumojima 23 days ago. Updated 21 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues list
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

After commit r23938, the Delete link is not displayed in the context menu when running in a sub-URI environment.
An exception is raised by Rails.application.routes.recognize_path.

    # app/controllers/context_menus_controller.rb
    @back = back_url # "/redmine/issues" 
    begin
      # Recognize the controller and action from the back_url to determine
      # which view triggered the context menu.
      route = Rails.application.routes.recognize_path(@back) #=> ActionController::RoutingError

Files


Related issues

Related to Redmine - Feature #35616: Remove "Delete" from the context menu for related issues and subtasksClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF