LP#1851524: fix adding a bucket when saving a new carousel
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 6 Nov 2019 16:35:58 +0000 (11:35 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 7 Nov 2019 16:33:37 +0000 (11:33 -0500)
commitf369e4c799cd55f767eb96bb64e6e688d77a76ba
tree270eab806eb9081a8cbce156b09e4a75a3365934
parent27758f7ca62d0dc9f525c20f8380bb3f356b7062
LP#1851524: fix adding a bucket when saving a new carousel

This patch fixes a regression where saving a new carousel
would not result in its bucket being created due to the
post-save callback never getting invoked.

This patch does not fix any carousels that do not have
buckets due to this bug. Because such carousels will
not function anyway, they should be deleted and
recreated by the local admin.

To test
-------
[1] Create a new carousel in local adminstration. Open it
    in the edit modal again and note that no record bucket
    is linked to it.
[2] Apply the patch and repeat step 1. This time, the
    bucket should be created.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/eg2/src/app/staff/admin/local/admin-carousel.component.html