EPrints Technical Mailing List Archive
Message: #03624
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Min Resolution on date fields
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Min Resolution on date fields
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- Date: Tue, 25 Nov 2014 13:45:46 +0000
Hmm, Doesn¹t look to be anything relating to dates here - curiousŠ Andrew On 24/11/2014 16:41, "John Salter" <J.Salter@leeds.ac.uk> wrote: >Hi Andrew, > >From GitHub, it looks like 'min_resolution' was removed from the 'master' >branch: >https://github.com/eprints/eprints/blob/master/lib/defaultcfg/cfg.d/eprint >_fields.pl >but was left as a remnant in the 3.3 branch (that your install will be >based on): >https://github.com/eprints/eprints/blob/3.3/lib/defaultcfg/cfg.d/eprint_fi >elds.pl > >Further to that commit in the master branch, the metafield workflow still >asks for a min_resolution: >https://github.com/eprints/eprints/blob/master/lib/workflows/metafield/def >ault.xml#L72 > > - so neither the 3.3 /or/ the master branch are fully 'right' :o\ > >That might explain *why* it's not working, but probably doesn't help you >achieve what you want/need to do :o\ >I would take a look at cfg.d/field_validation.pl or >cfg.d/eprint_validation.pl, and add a check in there for the date field >having at least the year and month parts set. > >Cheers, >John > > > > >-----Original Message----- >From: eprints-tech-bounces@ecs.soton.ac.uk >[mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken >Sent: 24 November 2014 10:57 >To: eprints-tech@ecs.soton.ac.uk >Subject: [EP-tech] Min Resolution on date fields > >Hello all! > >I¹m currently trying to change the min_resolution on the stock date field >to be ³month² rather than ³year². I¹ve changed this in our test >environment in the eprint_fields.pl file in cfg.d, restarted the server >but the validation is still allowing dates with only years through. Is >there something I¹m missing? > >Andrew > >The University of Lincoln, located in the heart of the city of Lincoln, >has established an international reputation based on high student >satisfaction, excellent graduate employment and world-class research. > >The information in this e-mail and any attachments may be confidential. >If you have received this email in error please notify the sender >immediately and remove it from your system. Do not disclose the contents >to another person or take copies. > >Email is not secure and may contain viruses. The University of Lincoln >makes every effort to ensure email is sent without viruses, but cannot >guarantee this and recommends recipients take appropriate precautions. > >The University may monitor email traffic data and content in accordance >with its policies and English law. Further information can be found at: >http://www.lincoln.ac.uk/legal. > >*** 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/ >*** EPrints developers Forum: http://forum.eprints.org/ > >*** 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/ >*** EPrints developers Forum: http://forum.eprints.org/
- Prev by Date: [EP-tech] Re: How can I help?
- Next by Date: [EP-tech] Re: How can I help?
- Previous by thread: [EP-tech] Different Results from Search/Advanced Search
- Next by thread: [EP-tech] inserting irstats on abstract/detail page
- Index(es):