Bug 27210

Summary: Typo in patron-attr-types.tt
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Kyle M Hall (khall) <kyle>
Severity: enhancement    
Priority: P5 - low CC: andrew, fridolin.somers, kyle, mazen.i.khallaf, sally.healey, victor
Version: MainKeywords: Academy
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
21.05.00,20.11.03,20.05.09,19.11.15
Circulation function:
Attachments: Bug 27210: Typo in patron-attr-types.tt
Bug 27210: Typo in patron-attr-types.tt
Bug 27210: Typo in patron-attr-types.tt

Description Caroline Cyr La Rose 2020-12-11 20:17:41 UTC
When adding a new patron attribute, next to the 'Editable in OPAC' field, there is this sentence:

(Requires above, does not work during self-registration if PatronSelfRegistrationVerifyByEmail **if** set.)

Which should be 

(Requires above, does not work during self-registration if PatronSelfRegistrationVerifyByEmail **is** set.)

To replicate:
1) Make sure the ExtendedPatronAttributes syspref is active
2) Go to Administration > Patron attribute types
3) Click New patron attribute type
4) Check the sentence next to the Editable in OPAC checkbox
Comment 1 Mazen Khallaf 2021-01-19 01:55:47 UTC
Created attachment 115280 [details] [review]
Bug 27210: Typo in patron-attr-types.tt

Test Plan:
1. Make sure the ExtendedPatronAttributes syspref is active
2. Go to Administration > Patron attribute types
3. Click New patron attribute type
4. Check the sentence next to the Editable in OPAC checkbox (Should say
        "Requires above, does not work during self-registration if
        PatronSelfRegistrationVerifyByEmail if set." - Notice the use of
        'if set')
5. Apply Patch
6. Repeat steps 2-4 (Should now say "Requires above, does not work
        during self-registration if PatronSelfRegistrationVerifyByEmail
        is set." - Notice the use of 'is set')
7. If it says 'is set', the patch works as expected.
Comment 2 PTFS Europe Sandboxes 2021-01-19 11:42:40 UTC
Created attachment 115308 [details] [review]
Bug 27210: Typo in patron-attr-types.tt

Test Plan:
1. Make sure the ExtendedPatronAttributes syspref is active
2. Go to Administration > Patron attribute types
3. Click New patron attribute type
4. Check the sentence next to the Editable in OPAC checkbox (Should say
        "Requires above, does not work during self-registration if
        PatronSelfRegistrationVerifyByEmail if set." - Notice the use of
        'if set')
5. Apply Patch
6. Repeat steps 2-4 (Should now say "Requires above, does not work
        during self-registration if PatronSelfRegistrationVerifyByEmail
        is set." - Notice the use of 'is set')
7. If it says 'is set', the patch works as expected.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Comment 3 Sally 2021-01-19 11:45:48 UTC
Works as described.
Comment 4 Kyle M Hall (khall) 2021-01-21 17:38:12 UTC
Created attachment 115582 [details] [review]
Bug 27210: Typo in patron-attr-types.tt

Test Plan:
1. Make sure the ExtendedPatronAttributes syspref is active
2. Go to Administration > Patron attribute types
3. Click New patron attribute type
4. Check the sentence next to the Editable in OPAC checkbox (Should say
        "Requires above, does not work during self-registration if
        PatronSelfRegistrationVerifyByEmail if set." - Notice the use of
        'if set')
5. Apply Patch
6. Repeat steps 2-4 (Should now say "Requires above, does not work
        during self-registration if PatronSelfRegistrationVerifyByEmail
        is set." - Notice the use of 'is set')
7. If it says 'is set', the patch works as expected.

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 5 Jonathan Druart 2021-01-22 13:54:22 UTC
Pushed to master for 21.05, thanks to everybody involved!
Comment 6 Fridolin Somers 2021-01-29 13:35:59 UTC
This is more a bug thant enhancement, I backport.

Pushed to 20.11.x for 20.11.03
Comment 7 Andrew Fuerste-Henry 2021-02-04 21:03:36 UTC
Pushed to 20.05.x for 20.05.09
Comment 8 Victor Grousset/tuxayo 2021-02-08 20:56:55 UTC
Backported: Pushed to 19.11.x branch for 19.11.15