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>
Fri, 13 Dec 2019 20:16:10 +0000 (15:16 -0500)
commit9dbb2f3124facf8d25cbdd5fb64c1859b5116fad
treef5a2d52e3abd749ff3cc7b0acd132283019841c2
parent6d1149c9b732c4e36f4645ca8cd37bca66a37705
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