omission in the API methods behind the Invalidate functionality in the Patron Editor

Bug #1229794 reported by Jason Etheridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Low
Unassigned

Bug Description

For example, the method open-ils.actor.invalidate.other_phone is implimented in Actor.pm with sub mark_users_contact_invalid and has a parameter called "Additional note text (optional)". The Patron Editor does not use this parameter (it passes null), but if it did, the parameter would ultimately be ignored. It does not get used by the sub of the same name in BadContact.pm.

For code hygiene, we can either remove the parameter or make use of it.

Revision history for this message
Chris Sharp (chrissharp123) wrote :

Branch implementing removal of the unused parameter (which we must not need since this bug is nearly seven years old):

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/csharp/lp1229794_remove_unused_param

Changed in evergreen:
status: New → Confirmed
importance: Undecided → Low
tags: added: pullrequest
Changed in evergreen:
milestone: none → 3.7-beta
Changed in evergreen:
milestone: 3.7-beta → 3.7-beta2
Changed in evergreen:
milestone: 3.7-rc → 3.7.1
Changed in evergreen:
milestone: 3.7.1 → 3.7.2
Changed in evergreen:
milestone: 3.7.2 → 3.7.3
Revision history for this message
Bill Erickson (berick) wrote :

Bug #1752334 offers an alternate fix to this unused parameter, which I prefer since it requires fewer code changes and allows for future use of the param.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.