#580: errorlib: migrate old ERR logging style to exception logging
-----------------------+----------------------
Reporter: simko | Owner: rajimene
Type: defect | Status: in_merge
Priority: major | Milestone:
Component: MiscUtil | Version:
Resolution: | Keywords:
-----------------------+----------------------
Comment (by Raquel Jimenez Encinar <raquel.jimenez.encinar@…>):
In [9353645f38f40a95c22655251a8ca2bcf3c4edc8]:
{{{
#!CommitTicketReference repository=""
revision="9353645f38f40a95c22655251a8ca2bcf3c4edc8"
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.
}}}
--
Ticket URL: </ticket/580#comment:8>
Invenio <http://invenio-software.org>