Project

General

Profile

Actions

Bug #26386

open

Deprecation methods should not use default version parameter

Added by Avi Sharvit about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
JavaScript stack
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

https://github.com/theforeman/foreman/blob/1.21.0/webpack/assets/javascripts/foreman_tools.js#L135
https://github.com/theforeman/foreman/blob/1.21.0/webpack/assets/javascripts/foreman_tools.js#L70

They should not use default version parameter since you always need to think about when it'll be deprecated. We deprecate over 2 releases so that means after the next version is released you'd need to update all invocations anyway if you want to update the default.

No data to display

Actions

Also available in: Atom PDF