fix/debugging aid for a type of duplicate payments collab/phasefx/duplicate_payments
authorJason Etheridge <jason@esilibrary.com>
Mon, 8 Aug 2011 21:15:00 +0000 (17:15 -0400)
committerJason Etheridge <jason@esilibrary.com>
Mon, 8 Aug 2011 21:15:00 +0000 (17:15 -0400)
commita1ad5f8f635495f4bce55d58294db5e3d91a23c5
tree405939a3fe77b0e91e911255284ca3af3bfc0855
parentff7ea322f7d9010643760f01f201a6329209763c
fix/debugging aid for a type of duplicate payments

I haven't been able to reproduce this but I've seen logs where a given
transaction id and payment amount was listed more than once for a given
payment request (open-ils.circ.money.payment).  I can imagine this
happening if util.list is lying to us when we call .dump_retrieve_ids
against the bill list.  This changeset catches that, but since it is
more of a workaround than a true fix, we also warn the user and attempt
to gather more information that may help us pin this down.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/server/patron/bill2.js