Bug 15665

Summary: Better wording of error messages when importing MARC frameworks
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: System AdministrationAssignee: Aleisha Amohia <aleisha>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: brendan, gmcharlt, jonathan.druart
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: String patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 15665: Better wording of error messages when importing MARC frameworks
Bug 15665: Better wording of error messages when importing MARC frameworks
[SIGNED-OFF]Bug 15665: Better wording of error messages when importing MARC frameworks
Bug 15665: Better wording of error messages when importing MARC frameworks
Bug 15665: Better wording of error messages when importing MARC frameworks
Bug 15665: Better wording of error messages when importing MARC frameworks

Description Aleisha Amohia 2016-01-26 04:32:35 UTC
"Please select an spreadsheet file" - not grammatically correct
"Please select an ods or xml file" - misses out CSV files, also they should either say 'ODS' or '.ods'.
Comment 1 Aleisha Amohia 2016-01-26 04:40:43 UTC Comment hidden (obsolete)
Comment 2 Aleisha Amohia 2016-01-26 04:46:19 UTC Comment hidden (obsolete)
Comment 3 Héctor Eduardo Castro Avalos 2016-01-26 15:06:06 UTC Comment hidden (obsolete)
Comment 4 Jonathan Druart 2016-01-27 14:36:47 UTC
Aleisha, should not we use the same wording for the 2 alerts?
Comment 5 Aleisha Amohia 2016-01-27 22:08:41 UTC Comment hidden (obsolete)
Comment 6 Mirko Tietgen 2016-01-28 12:55:37 UTC Comment hidden (obsolete)
Comment 7 Jonathan Druart 2016-01-29 11:44:41 UTC
Created attachment 47458 [details] [review]
Bug 15665: Better wording of error messages when importing MARC frameworks

UPDATE: Making error messages the same

To test:
1) Go to Admin -> MARC frameworks
2) Click Import next to any framework. You won't actually be overwriting or importing anything as this is only a string fix, so it can be an existing framework
3) Click the Import button without attaching any file. Confirm it says "Please select a spreadsheet (.csv, .ods, .xml) file." and that this makes sense to you
4) Attempt to attach a file that is not a .csv, .ods or .xml file. You should instantly get an error message saying "Please select a CSV (.csv), ODS (.ods) or XML (.xml) file." Confirm this shows up and makes sense to you

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Rewording Ok. Works as described

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 8 Brendan Gallagher 2016-02-24 03:56:46 UTC
Pushed to Master - Should be in the May 2016 release.  Thanks!