Private:Bugs

From eCrystals Federation Project

(Difference between revisions)
Jump to: navigation, search
m
m
Line 117: Line 117:
|- style="background:#f0f0f0; color:black"
|- style="background:#f0f0f0; color:black"
|}
|}
 +
 +
==== Quick Fixes ====
 +
 +
'''Hard-coded Strings''' - Replace quoted strings like /opt/eprints3 with:
 +
 +
  use EPrints::SystemSettings;
 +
  $EPrints::SystemSettings::conf->{'base_path'}; # evaluates to "/opt/eprints3"

Revision as of 16:10, 8 December 2008

Contents

eCrystals alpha Bugs Tracker

Severity

  • Very High - critical failure of eCrystals or EPrints platform resulting in critical loss of data
  • High - major loss of data though a repeatable process (i.e. incorrect code)
  • Medium - minor loss of data (i.e. cryptic code)
  • Low - misleading (or no) user feedback (EPrints notice, warning and error messages), cosmetic issues, CSS and HTML formatting
  • Very Low - spelling and grammar errors

Tracker

Bugs Tracker
# Filename Severity Description Submission Date
1. /opt/eprints3/perl_lib/EPrints/Plugin/InputForm/Component/Upload.pm Low No user feedback for InChI and CheckCIF methods 05/12/2008
2. /opt/eprints3/perl_lib/EPrints/Plugin/Import/XML.pm High Unable to upload new eCrystal from XML file (found "eprint" element, expecting "eprints" collection element) 05/12/2008
3. /bin/ecrystals/checkcif.pl Very High No command line arguments validation 08/12/2008
4. /bin/ecrystals/checkcif.pl Medium Cryptic-code, use of $file_path and $file_in variables 08/12/2008
5. /bin/ecrystals/checkcif.pl Very High Calls to length() are NOT safe for UNICODE/UTF-8 files 08/12/2008
6. /bin/ecrystals/checkcif.pl Very High No error handling for call to wget 08/12/2008
7. /bin/ecrystals/checkcif.pl Low Explain TCP message boundaries in comments 08/12/2008
8. /bin/ecrystals/cronrun(.sh) Very High Script uses absolute paths (re-write as ../../bin/command or ~eprints/bin/command 08/12/2008
9. /bin/ecrystals/doi(.php) Medium Re-write as Perl 08/12/2008
10. /bin/ecrystals/embargo_bot.pl Medium Cryptic code (requires comments and descriptions) 08/12/2008
11. /bin/ecrystals/InChI.pl Very High No command line arguments validation 08/12/2008
12. /bin/ecrystals/InChI.pl Very High No error checking for call to InChI executable 08/12/2008
13. /bin/ecrystals/InChI.pl Medium Script output is not documented. (i.e. script prints InChI identifier for supplied file.) 08/12/2008
14. /bin/ecrystals/make_keywords.pm Very High This class is NOT a module. Rename to .pl 08/12/2008
15. /bin/ecrystals/make_keywords.pm Very High No command line arguments validation 08/12/2008
16. /bin/ecrystals/make_keywords.pm Medium Cryptic code for looping over letters #65 to #90 08/12/2008
17. /bin/ecrystals/make_keywords.pm Medium Cryptic code for writing HTML keyword files 08/12/2008

Quick Fixes

Hard-coded Strings - Replace quoted strings like /opt/eprints3 with:

 use EPrints::SystemSettings;
 $EPrints::SystemSettings::conf->{'base_path'}; # evaluates to "/opt/eprints3"
Personal tools