]> git.aero2k.de Git - tmp/jakarta-migration.git/commit
CSPACE-2418: Services can now accept, as input to date fields in their record types...
authorAron Roberts <aron@socrates.berkeley.edu>
Wed, 18 Aug 2010 01:38:25 +0000 (01:38 +0000)
committerAron Roberts <aron@socrates.berkeley.edu>
Wed, 18 Aug 2010 01:38:25 +0000 (01:38 +0000)
commit52a532150fb117fd4f40bbb748025608d48a5650
tree3b0504d96e1dc50f9cd74f22d2862e3e4df2b6f7
parent81c86ac3e64c910ea1936aaea6143b01eda017d0
CSPACE-2418: Services can now accept, as input to date fields in their record types, dates in a variety of representation formats, specified in per-tenant configuration.  This will permit free text entry of dates in formats familiar to users in various countries, such as 'MM/dd/yyyy' (USA), 'dd/MM/yyyy' (UK), and 'dd.MM.yyyy' (one of several formats used in Denmark).  No validation is yet performed, and dates in unrecognized formats, that cannot be parsed and converted to the ISO 8601-based formats required by Nuxeo and MySQL, are silently dropped, as they were even before this check-in.  This is addressed by a new bug, CSPACE-2653.
services/common/src/main/config/services/tenant-bindings.xml
services/common/src/main/java/org/collectionspace/services/common/datetime/DateTimeFormatUtils.java
services/common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java
services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteDocumentModelHandlerImpl.java
services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteSubItemDocumentModelHandlerImpl.java
services/movement/service/src/main/java/org/collectionspace/services/movement/nuxeo/MovementValidatorHandler.java