Bug 28162

Summary: Self registration fails if patron extended attributes are editable
Product: Koha Reporter: Lucas Gass <lucas>
Component: OPACAssignee: Lucas Gass <lucas>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: fridolin.somers
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:
21.05.00
Bug Depends on: 28031    
Bug Blocks:    
Attachments: Bug 28162: fix doubled scalar sigil
Bug 28162: fix doubled scalar sigil
Bug 28162: fix doubled scalar sigil

Description Lucas Gass 2021-04-16 19:40:28 UTC
To recreate:

-Set up some patron extended attributes 
-Make sure you check 'Display in OPAC' and 'Editable in OPAC'
-Go to self registration and attempt to register
-you get an error ( Not a SCALAR reference at /kohadevbox/koha/opac/opac-memberentry.pl line 110 )


Probably Bug 28031 is to blame.
Comment 1 Lucas Gass 2021-04-16 19:48:28 UTC
Actually, it looks like this is a just a typo and the scalar sigil is doubled.
Comment 2 Lucas Gass 2021-04-16 19:50:58 UTC
Created attachment 119782 [details] [review]
Bug 28162: fix doubled scalar sigil
Comment 3 Lucas Gass 2021-04-16 19:52:58 UTC
Created attachment 119783 [details] [review]
Bug 28162: fix doubled scalar sigil

TEST PLAN:

1 Set up some patron extended attributes
2 Make sure you check 'Display in OPAC' and 'Editable in OPAC'
3 Go to self registration and attempt to register
4 you get an error ( Not a SCALAR reference at /kohadevbox/koha/opac/opac-memberentry.pl line 110 )
5 Apply patch
6 repeat steps 1-3, ther should be no error now
Comment 4 Katrin Fischer 2021-04-17 23:16:19 UTC
Created attachment 119803 [details] [review]
Bug 28162: fix doubled scalar sigil

TEST PLAN:

1 Set up some patron extended attributes
2 Make sure you check 'Display in OPAC' and 'Editable in OPAC'
3 Go to self registration and attempt to register
4 you get an error ( Not a SCALAR reference at /kohadevbox/koha/opac/opac-memberentry.pl line 110 )
5 Apply patch
6 repeat steps 1-3, ther should be no error now

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 5 Katrin Fischer 2021-04-17 23:17:02 UTC
A small change - risking to go directly to PQA here.
Comment 6 Jonathan Druart 2021-04-21 08:47:18 UTC
Pushed to master for 21.05, thanks to everybody involved!
Comment 7 Fridolin Somers 2021-04-29 11:48:15 UTC
Depends on Bug 28031 not in 20.11.x