EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #01863
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: To make a field multiple afterwards
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: To make a field multiple afterwards
- From: Florian Heß <hess@ub.uni-heidelberg.de>
- Date: Thu, 18 Apr 2013 14:19:59 +0200
Am 18.04.2013 12:08, schrieb Sebastien Francois:
Hi Florian, Recent versions of EPrints will do this for you as you run "epadmin update" (added in May 2011).
The version we run is 3.3.10, hm. Is it necessary to do a reload before update? But then the system wouldn't have created the new tables at all.
The automatism perhaps isn't triggered on fields that consist of subfields. Maybe you might want to make sure there is an according test case? It seems so since the command created two tables: eprint_fieldname_subfield1 and eprint_fieldname_subfield2, can think of that scenario not being considered yet.
Anyway, will have to make my hands dirty by altering it manually. Thanks, FH.
Seb. On 18/04/13 09:35, Florian Heß wrote:Hi, in order to turn a single-value field into a multiple field, I do so by adding multiple => 1 to the field definition in cfg.d/eprint_fields.pl, then I do `bin/epadmin update $repoid`. This command will create the additional tables. But how can I make EPrints transfer the data to the new place, facing the tables still empty after that command? I wouldn't enjoy much doing that manually, it's error-prone regarding the sub-fields. Kind regards, Florian Heß*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/
-- UB Heidelberg (Altstadt) Plöck 107-109, 69117 HD - Informationstechnik - WWW-Redaktion Tel. 06221 / 54 3550 http://www.ub.uni-heidelberg.de/
- References:
- [EP-tech] To make a field multiple afterwards
- From: Florian Heß <hess@ub.uni-heidelberg.de>
- [EP-tech] Re: To make a field multiple afterwards
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] To make a field multiple afterwards
- Prev by Date: [EP-tech] About the template of demoprints
- Next by Date: [EP-tech] https problem?
- Previous by thread: [EP-tech] Re: To make a field multiple afterwards
- Next by thread: [EP-tech] High Disk Utilisation in /tmp in EPrints 3.3.10
- Index(es):