evergreen:rel_2_2

Last commit made on 2013-06-19
Get this branch:
git clone -b rel_2_2 https://git.launchpad.net/evergreen

Branch merges

Branch information

Name:
rel_2_2
Repository:
lp:evergreen

Recent commits

46c3c7f... by Lebbeous Fogle-Weekley <email address hidden> on 2013-06-19

Add (noop) upgrade script for 2.2.10

Signed-off-by: Lebbeous Fogle-Weekley <email address hidden>
Signed-off-by: Bill Erickson <email address hidden>

1f51471... by Lebbeous Fogle-Weekley <email address hidden> on 2013-06-19

Translations import for 2.2.10

Signed-off-by: Lebbeous Fogle-Weekley <email address hidden>

00bb75a... by Bill Erickson on 2012-08-27

Repair fine generator memory leak

Calling "next" from within a "try" block results in a memory leak,
presumably because "try" is a tangled nest of subs and evals.
Replacing the "try" with a good ol' "eval" avoids the leak.

This can be reproduced with the following:

---------
use Error qw/:try/;

foreach (0..200000) {
    try {
        next;
    } catch Error with {
    };
}
---------

This particular leak in the fine generator is onerous when the fine
generator is run often (e.g. every 15 mins), which means circs that
have already been processed for the day are re-analzyed over and over,
causing the code to continue early (next) to the next loop iteration
for large numbers of circs. It also happens when a circs are skipped
because they have no fine interval, rate, or max fine.

You know this is happening because you will see something like this in
the storage stderr log:

Exiting eval via next at
/usr/local/share/perl/5.10.1/OpenILS/Application/Storage/Publisher/action.pm
line 820.

Exiting subroutine via next at
/usr/local/share/perl/5.10.1/OpenILS/Application/Storage/Publisher/action.pm
line 820.

This patch does not avoid the "exiting eval via next" warning, since
we're still next'ing out of the eval. It just avoids the memory leak
(and the "Exiting subroutine" warning). More extensive refactoring is
needed to to completely remove the second warning.

Signed-off-by: Bill Erickson <email address hidden>
Signed-off-by: Mike Rylander <email address hidden>

30783ad... by Thomas Berezansky on 2012-07-26

Make Force/Recall holds always return as nearest

Without even running the hold rules.

Signed-off-by: Thomas Berezansky <email address hidden>
Signed-off-by: Mike Rylander <email address hidden>

68cfd6d... by Ben Shum on 2013-03-02

TPAC - set autofocus to user input when placing holds in staff client

When placing holds in TPAC via the staff client, the focus had been on the
basic search field above. Change this to have autofocus on the input field
for the hold user by default.

This can potentially save staff from having to perform an extra click to
select the input field. Now they can immediately begin entering the barcode
of the user they plan to create a hold on behalf of.

Signed-off-by: Ben Shum <email address hidden>

Conflicts:
 Open-ILS/src/templates/opac/parts/place_hold.tt2

Signed-off-by: Mike Rylander <email address hidden>

b5f110f... by Simon Mai on 2013-06-03

LP#1053074: Editimg MARC Fixed Fields jumps cursor to marc record

Put the cursor back to the current fixed field after reload
the MARC record table.

Signed-off-by: Simon Hieu Mai <email address hidden>
Signed-off-by: Dan Wells <email address hidden>

d74561f... by Ben Shum on 2013-05-23

LP1081576 - fix utf8 characters in searches using portal page

Replace escape() with encodeURIComponent() on the portal page to allow utf8
characters to be passed more appropriately to the subsequent search in catalog.

Thanks Dan Scott for pointing this out.

Signed-off-by: Ben Shum <email address hidden>
Signed-off-by: Pasi Kallinen <email address hidden>

Conflicts:
 Open-ILS/xul/staff_client/server/index.xhtml

7275e20... by Lebbeous Fogle-Weekley <email address hidden> on 2013-05-16

Database upgrade script for 2.2.9

Signed-off-by: Lebbeous Fogle-Weekley <email address hidden>
Signed-off-by: Bill Erickson <email address hidden>

5a63b7f... by Lebbeous Fogle-Weekley <email address hidden> on 2013-05-16

Translations import / newpot for 2.2.9

Signed-off-by: Lebbeous Fogle-Weekley <email address hidden>

bc46b75... by Mike Rylander on 2013-04-19

Correct subfield format for authority lookup

The Authority Control Set code expects the format of subfields
that it will be used to build a MARC.Field object to be of the
form: [[code,value],...] This commit makes that true.

Additionally, dojo.filter over a list of lists can cause the
nested array set to be flattened. So, instead, we loop directly.

Signed-off-by: Mike Rylander <email address hidden>
Signed-off-by: Lebbeous Fogle-Weekley <email address hidden>