Bug 12257

Summary: Suggestions management displays all librarians as "Unknown"
Product: Koha Reporter: Kyle M Hall (khall) <kyle>
Component: AcquisitionsAssignee: Kyle M Hall (khall) <kyle>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: efosaimagbe, paola.rossi, pasi.kallinen
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10519
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12384
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 12257 - Suggestions management displays all librarians as "Unknown"
Bug 12257 - Tidy GetCriteriumDesc

Description Kyle M Hall (khall) 2014-05-14 15:26:07 UTC
If you inspect the filter pulldowns for suggested, accepted, or managed by, all the users are listed as "Unknown" instead of his or her name.
Comment 1 Kyle M Hall (khall) 2014-05-14 15:36:29 UTC
Created attachment 28262 [details] [review]
Bug 12257 - Suggestions management displays all librarians as "Unknown"

If you inspect the filter pulldowns for suggested, accepted, or managed
by, all the users are listed as "Unknown" instead of his or her name.

Test Plan:
1) Browse to suggestions/suggestion.pl
2) Check the Suggested by, Managed by, and/or Accepted by pulldowns
3) Note the names are all listed as "Unknown"
4) Apply this patch
5) Reload the page
6) Note the names now appear
Comment 2 Kyle M Hall (khall) 2014-05-14 15:36:39 UTC
Created attachment 28263 [details] [review]
Bug 12257 - Tidy GetCriteriumDesc
Comment 3 paxed 2014-05-15 04:22:29 UTC
just a heads up: The "Unknown" is untranslatable ...
Comment 4 Paola Rossi 2014-05-30 16:24:45 UTC
I apply the patches against 3.17.00.007.

Now in the dropdown lists for the "Suggested by", "Accepted by", or "Managed by" filters in the left box named "Suggestion information", the known users are listed with their names: OK.

Moreover, the patches have fixed another pre-existent fault too: now the names of the users are seen correctly in the tabs of the answered "Suggestions management", thanks. 

About the comment 3, I changed "AnonSuggestions" pref to "Allow" value, and I kept "AnonymousPatron" pref to "0" value (non-existent patron). On OPAC I create an anonymous suggestion: an "Unknown" user name should appear in the users's dropdown lists of the 3 filters, but it misses.

So I pass the patch to "Failed QA" status.

-----------------------------------------------------------------------
Note 1. Answering to the following selection:
Organized by:
- Library
- Item type

the "Unknown" still appears in the tabs of the answered "Suggestions management" table, instead of the Library's or the item types' right names.
-----
Note 2. If I select "Organized by" Library, koha imposes the current library in the last "Acquisition information" left box.
So, if I select "Organized by" Library, I can't select neither "Any" value nor a library saving the current library.
-----
So I invite you to create another bug about these two next faults, please.
-----------------------------------------------------------------------
Comment 5 ejanla 2014-06-10 03:01:55 UTC
I use a version 3.14 and is still showing UNKNOWN after using the patch placed here, can anyone please help me out I really need this. Thanks
Comment 6 ejanla 2014-06-10 03:02:46 UTC
I use a version 3.14 and is still showing UNKNOWN after using the patch placed here, can anyone please help me out I really need this. Thanks
Comment 7 Katrin Fischer 2014-08-10 16:06:25 UTC
I think this has been fixed by the patches for bug 10519.

*** This bug has been marked as a duplicate of bug 10519 ***