Defect #39527
closedDeprecate unused ApplicationHelper#render_if_exist
0%
Description
ApplicationHelper#render_if_exist
was introduced in r19799 for #33102. After discussion in that issue and subsequent issue #36524, it was decided to remove the sidebars from the import views after all with r21390 and r21391. It looks like that with that, ApplicationHelper#render_if_exist
became unused and obsolete.
If it is indeed confirmed obsolete, it might be desirable to deprecate the method and remove it (along with its tests) in the end.
FWIW: the names of the test methods contain a typo; s/redner/render.
Files
Updated by Go MAEDA about 1 year ago
- File 39527.patch 39527.patch added
- Target version set to 6.0.0
It appears that render_if_exist is not being used as you have indicated.
The attached patch deprecates ApplicationHelper#render_if_exist.
Updated by Go MAEDA about 1 year ago
- File 39527-v2.patch 39527-v2.patch added
Updated the patch. This updated patch also includes a fix for the method names in the test code.
Updated by Go MAEDA about 1 year ago
- Subject changed from ApplicationHelper#render_if_exist seems obsolete to Deprecate unused ApplicationHelper#render_if_exist
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the patch in r22466. Thank you for pointing out this issue.