Project

General

Profile

Bug #11986

Specify PUT method on form_for tags to

Added by Daniel Lobato Garcia almost 4 years ago. Updated about 1 year ago.

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

Description

Rails 4 will default to PATCH which we have not implemented in our routes.


Related issues

Has duplicate Foreman - Bug #7573: update PUT to PATCH in routes.rb or on form_for as PATCH is the primary HTTP verb for updates for rails 4Duplicate2014-09-22

Associated revisions

Revision 9a115cf8 (diff)
Added by Daniel Lobato Garcia almost 4 years ago

Fixes #11986 - Specify PUT method on form_for tags

Rails 4 will default to PATCH which we have not implemented in our
routes. This will cause at least one failure on taxonomies integration
tests. It's the only one our test suite catches, however I'd expect
other forms to fail on this when tested manually. We can keep this
issue number as a reference and add commits with integration tests
& fixes where needed.

History

#1 Updated by The Foreman Bot almost 4 years ago

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

#2 Updated by Dominic Cleal almost 4 years ago

  • Assignee set to Daniel Lobato Garcia
  • Legacy Backlogs Release (now unused) set to 71

#3 Updated by Daniel Lobato Garcia almost 4 years ago

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

#4 Updated by Dominic Cleal over 3 years ago

  • Has duplicate Bug #7573: update PUT to PATCH in routes.rb or on form_for as PATCH is the primary HTTP verb for updates for rails 4 added

Also available in: Atom PDF