Fixes empty name bug in the select script in the rae module

Hoskin, Christopher (2007) Fixes empty name bug in the select script in the rae module.

[img] patch file - ["document_typename_ascii" not defined]
Available under License Creative Commons GNU GPL (Software).

814B (114 downloads)

Official URL: http://www.history.ox.ac.uk

Item Type: Patch
EPrints Version: EPrints 3
License: GPL
EPrints Version: EPrints 3
Date: 4 May 2007
Creators Name: Hoskin, Christopher
Department: Faculty of History
Institution: University of Oxford
Date Deposited: 25 May 2007 01:14
Last Modified: 14 May 2010 12:18
Date Deposited: 25 May 2007 01:14

Abstract

Although the (human) name of a user is a required field, it is possible to create users without a name, either through the web interface or the epadmin command. If a nameless user visits the rae/select page, the select script fails in rae_default_selection_search and no page is returned. This patch fixes this problem by only searching on family name if a name is defined

Requirements

Tested on eprints-rae-gold-b1 with EPrints 3

Installation

Extract the eprints-rae-gold-b1 tar ball and run patch -p6 < rae-empty-name-bug.patch

Copyright

Christopher Hoskin, Faculty of History, University of Oxford


Repository Staff Only: edit this item