You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many warnings populate error log when archives are searched for undefined parameters: $subj, $date, $from, $id.
When someone does archive searching, our log files fill up with warnings such as:
[Tue May 14 09:19:44.283239 2019] [fcgid:warn] [pid 23730] [client <ipaddress>:4878] mod_fcgid: stderr: [Tue May 14 09:19:44 2019] wwsympa.fcgi: Use of uninitialized value $subj in substitution (s///) at /usr/local/sympa/bin/Sympa/WWW/Marc/Search.pm line 307., referer: <website>/sympa
Additional information
I made some changes to /sympa/bin/Sympa/WWW/Marc/Search.pm that seems to solve the issue, but was not confident to submit a patch.
ldidry
changed the title
Spurious Marc Search warnings for undefined search parameters
Spurious MHonArc Search warnings for undefined search parameters
May 17, 2019
ldidry
added a commit
to ldidry/sympa
that referenced
this issue
May 17, 2019
@ldidry , Yes. this patch appears to work. I've never actually bothered to look at a MHonarc message file before. So I learned something new. Thank you for cleaning up and simplifying a solution.
Version
Version 6.2.42
Installation method
Installed from Source on a Debian 9 System
Expected behavior
No warnings when MHonArc archives are searched.
Actual behavior
Many warnings populate error log when archives are searched for undefined parameters: $subj, $date, $from, $id.
When someone does archive searching, our log files fill up with warnings such as:
Additional information
I made some changes to /sympa/bin/Sympa/WWW/Marc/Search.pm that seems to solve the issue, but was not confident to submit a patch.
The text was updated successfully, but these errors were encountered: