Homec4science

WebSubmit: migrate to exception logging

Description

WebSubmit: migrate to exception logging

  • Migrates error logging to new exception-based technique. (addresses #580)
  • Creates class 'InvenioWebSubmitWarning' for general warnings.
  • Removes errors and warnings vars whenever it is needed.
  • Deletes CFG_WEBSUBMITADMIN_WARNING_MESSAGES var.
  • Changes the type of result returned (integer) whenever it is needed because of the result returned is a 'WRN_'.
  • Updates the comments of functions.
  • Adds calls to 'gettext_set_language' to translate the exceptions messages.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jun 29 2011, 18:39
Parents
R3600:7e175834282c: WebBasket: migrate to exception logging
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:9353645f38f4: WebSubmit: migrate to exception logging (authored by Raquel Jimenez Encinar <raquel.jimenez.encinar@cern.ch>).Jun 29 2011, 18:39