Shane Curcuru created WHIMSY-425:
------------------------------------
Summary: member-files.rb throws error for minor parsing issues
Key: WHIMSY-425
URL: https://issues.apache.org/jira/browse/WHIMSY-425
Project: Whimsy
Issue Type: Bug
Reporter: Shane Curcuru
For manually added nominations, there are two current failure cases causing
issues:
* When a Member name is misspelled or different than public_name,
check_boardnoms.cgi shows ?? as their highlighted name. Whatever parsing is
done here should attempt to do close-enough matching, or otherwise provide a
specific hint as to how to fix the specific data file.
* When a nomination has minor formatting errors like:
** Nominated by [[email protected]|mailto:[email protected]]
* member-files.rb:99 throws the ArgumentError, thus breaking the rest of the
output of the script. For scripts like check_boardnoms.cgi, they should avoid
failing, and instead always produce as much output as possible, annotating any
data that might not be formatted exactly.
I'm going to start working on making the scripts at least not error and stop,
but rather annotate individual parts of output and continue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)