https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43091

--- Comment #14 from Pedro Amorim (ammopt) <[email protected]> ---
Created attachment 203781
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203781&action=edit
Bug 43091: (RM follow-up) Give the OPAC self-renewal island a Pinia store

hydrate() only installs Pinia for an island when its config.stores is
non-empty. patron-self-renewal kept config: {} after islands-opac.ts
was split out, so it never got one.

http-client.js's post() calls submitting(), which needs Pinia's
useMainStore(). With none active, it throws before fetch() runs -
get() skips submitting() by default, so only the actual renewal
submission failed.

Test plan:
prove t/cypress/integration/Islands/SelfRenewal.ts

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to