[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Re: Min Resolution on date fields
>From GitHub, it looks like 'min_resolution' was removed from the 'master' branch:
but was left as a remnant in the 3.3 branch (that your install will be based on):
Further to that commit in the master branch, the metafield workflow still asks for a min_resolution:
- 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.
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 24 November 2014 10:57
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Min Resolution on date fields
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?
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/