]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1373690 egPcrud auto(), promises, authoritative repair
authorBill Erickson <berickxx@gmail.com>
Wed, 8 Mar 2017 17:47:55 +0000 (12:47 -0500)
committerBill Erickson <berickxx@gmail.com>
Wed, 8 Mar 2017 22:10:41 +0000 (17:10 -0500)
commit64b85f4e9f3d1d406313cc76b4270f73929762b8
tree5c2a19c384df762ce8b92b6d927bd9e42347944e
parent52a2f8d5840783cd083b039000227ebe2177d72c
LP1373690 egPcrud auto(), promises, authoritative repair

1. Fix the broken egPcrud.apply() function, which was named 'auto'
internally, by syncronizing on egPcrud.auto().  I chose .auto() over
apply, since Prototype.apply() is already a JS function -- best not
clobber it.

2. Propagate failed request promise rejections for CUD/auto calls all
the way back to the caller, so rejected promises can be properly handled
in the UI.

3. Finish implementing the paritally implemented 'authoritative' egPcrud
request option, which forces retrieve/search queries to run inside a
transaction.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/staff/admin/acq/t_edi_attr_set.tt2 [new file with mode: 0644]
Open-ILS/web/js/ui/default/staff/services/pcrud.js