Bug 24962

Summary: Don't show floating toolbar when duplicate patron record was detected
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: PatronsAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: 1joynelson, gmcharlt, jonathan.druart, kyle.m.hall, oleonard, sally.healey
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
20.05.00
Attachments: Bug 24962: Do not display the toolbar when editing a patron and dup is found
Bug 24962: Do not display the toolbar when editing a patron and dup is found
Bug 24962: Do not display the toolbar when editing a patron and dup is found

Description Katrin Fischer 2020-03-24 07:56:52 UTC
When you create a new patron with the same information than an existing patron, you will get a duplicate message (the name matching will be usually enough). If the duplicate message appears, the floating toolbar gets pushed further to the top and the buttons cannot be clicked.
Comment 1 Jonathan Druart 2020-03-24 08:43:00 UTC
Created attachment 101508 [details] [review]
Bug 24962: Do not display the toolbar when editing a patron and dup is found

Whe a duplicate patron is found, the toolbar to save is display without
the button.
We must hide it completely, user has to use the 2 buttons from the dup
message "Editing existing" or "Save as new".
Comment 2 Katrin Fischer 2020-03-24 08:43:54 UTC
You caught me - I was missing the point :)
Comment 3 PTFS Europe Sandboxes 2020-03-24 10:07:32 UTC
Created attachment 101530 [details] [review]
Bug 24962: Do not display the toolbar when editing a patron and dup is found

Whe a duplicate patron is found, the toolbar to save is display without
the button.
We must hide it completely, user has to use the 2 buttons from the dup
message "Editing existing" or "Save as new".

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Comment 4 Katrin Fischer 2020-03-24 10:13:28 UTC
Created attachment 101531 [details] [review]
Bug 24962: Do not display the toolbar when editing a patron and dup is found

Whe a duplicate patron is found, the toolbar to save is display without
the button.
We must hide it completely, user has to use the 2 buttons from the dup
message "Editing existing" or "Save as new".

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 5 Katrin Fischer 2020-03-24 10:27:40 UTC
(In reply to Katrin Fischer from comment #4)
> Created attachment 101531 [details] [review] [review]
> Bug 24962: Do not display the toolbar when editing a patron and dup is found
> 
> Whe a duplicate patron is found, the toolbar to save is display without
> the button.
> We must hide it completely, user has to use the 2 buttons from the dup
> message "Editing existing" or "Save as new".
> 
> Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
> 
> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Thx for the quick test Sally!
Comment 6 Martin Renvoize 2020-03-24 11:34:12 UTC
Nice work everyone!

Pushed to master for 20.05
Comment 7 Joy Nelson 2020-04-03 21:58:36 UTC
does not apply to 19.11.x branch please rebase if needed.