Bug 39047

Summary: CollapseFieldsPatronAddForm - If 'Patron messaging preferences' option selected, shows with "Loading new messaging defaults"
Product: Koha Reporter: David Nind <david>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, kyle.m.hall, phil
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description David Nind 2025-02-05 20:09:53 UTC
If you select the "Patron messaging preferences" option for the CollapseFieldsPatronAddForm system preference, when adding or editing patrons the collapsed section displays a progress spinner and "Loading new messaging defaults".

To replicate:
1. For the CollapseFieldsPatronAddForm system preference, select and save with the "Patron messaging preferences" option.
2. Create or edit an existing patron.
3. Scroll to the bottom of the page and note that:
   - The patron messaging preferences section is collapsed
   - It displays a progress spinner with a "Loading new messaging defaults" message
4. If you click the header: the message disappears, and it is still collapsed. If you uncollapse and collapse again, it displays as expected.
5. Refresh the page and repeat step 3 - the message is displayed again.
Comment 1 Phil Ringnalda 2025-02-06 01:34:37 UTC
I remember thinking this sounded like it should be easy to fix, but it wasn't.

*** This bug has been marked as a duplicate of bug 38045 ***
Comment 2 David Nind 2025-02-07 22:00:38 UTC
Thank Phil for identifying it as a duplicate!