Project

General

Profile

Bug #7757

ApplicationHelper#link_to passes the arguments incorrectly when a block is given

Added by Imre Farkas over 4 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

It calls super(args) passing all arguments in a single array, instead of calling super with the original arguments.

Associated revisions

Revision bf5920d8 (diff)
Added by Imre Farkas over 4 years ago

Fixes #7757 - Fix link_to to call super with block

The original code calls the parent with a single argument: an array of
arguments given to the method. It should call the parent with the
original arguments.

History

#2 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.7.2
  • Pull request https://github.com/theforeman/foreman/pull/1810 added
  • Pull request deleted ()

#3 Updated by Imre Farkas over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 21

Also available in: Atom PDF