Koha/koha-tmpl/intranet-tmpl/prog/en
Marcel de Rooy 15fd90dcbc Bug 19633: Use alphanumeric error codes in upload
The error codes 1 to 7 are used in Uploader.pm or tools/upload.pl.
It would be nice to use alphanumeric codes instead.
No behavior change expected.

Test plan:
[1] Run t/db_dependent/Upload.t
[2] Verify that a regular upload with tools/upload.pl still works.
[3] Rename upload_path in your koha-conf.xml. Restart Plack, flush the cache
    and try to upload to a category. Correct error message?
[4] Upload the same file twice to the same category.
    Correct error message the second time?

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Bug 19633: (QA follow-up) Really remove these ugly numbers

See BZ comment5. We now remove the numbers also from the constant names.

Test plan:
Read the changes.
Git grep "ERRCODE_"
Run t/db_dependent/Upload.t (Note: You may see one failure here; it is fixed
on bug 20727. So depends on who reaches master first.)

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-08-10 10:10:46 +00:00
..
data Bug 20700: MARC21 add/update leader/007/008 codes 2018-06-08 09:48:12 -04:00
includes Bug 21131: Remove the TinyMCE.isDirty() check that caused unexpected behaviour 2018-08-09 11:11:22 +00:00
modules Bug 19633: Use alphanumeric error codes in upload 2018-08-10 10:10:46 +00:00
xslt Bug 20339: Unify MARC21 ISBN/ISSN handling in XSL 2018-06-22 15:26:35 +00:00
columns.def Bug 17672: Add damaged_on to items and deleteditems tables 2018-02-18 16:48:43 -03:00