Hi Joaquin,

What is the value for your "xforms.dateTimeSubmitFormat" global property?
Is it something like? yyyy-MM-dd'T'HH:mm:ssZ



On Wed, Aug 31, 2011 at 2:16 AM, Blaya, Joaquin Andres <
[email protected]> wrote:

> Sorry, I didn't include the images before. Here they are.
>
> ___________________________________________________________________
> Chief Technology Officer, eHealth Systems Chile
> Research Fellow, Harvard Medical School/Partners In Health
> Moderator, GHDOnline.org
> -----Original Message-----
> From: Blaya, Joaquin Andres
> Sent: Tuesday, August 30, 2011 20:06
> To: '[email protected]'
> Subject: Xforms not placing time in datetime concept
>
> Hi,
>
> I've created a form with a datetime concept, however, when I fill in the
> form I get the error below. When I looked at the form designer, I noticed
> that even when I filled in both date and time (see the first image) when I
> hit submit, it only sends the date.  See the second image. I have Version:
> 1.8.2 Build 21762 and Xforms 4.0.6.
>
>
>
> Thanks,
>
> Joaquin
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ValidationException: Invalid dateTime value. Too short
>
>            at
> net.sf.saxon.value.StringValue.convertStringToBuiltInType(StringValue.java:230)
>
>            at
> net.sf.saxon.value.StringValue.convertPrimitive(StringValue.java:95)
>
>            at
> net.sf.saxon.value.UntypedAtomicValue.convertPrimitive(UntypedAtomicValue.java:68)
>
>            at net.sf.saxon.value.AtomicValue.convert(AtomicValue.java:137)
>
>            at
> net.sf.saxon.expr.UntypedAtomicConverter.map(UntypedAtomicConverter.java:124)
>
>            at
> net.sf.saxon.expr.MappingIterator.next(MappingIterator.java:61)
>
>            at
> net.sf.saxon.expr.MappingIterator.next(MappingIterator.java:58)
>
>            at
> net.sf.saxon.expr.CardinalityChecker.evaluateItem(CardinalityChecker.java:205)
>
>            at
> net.sf.saxon.functions.Component.evaluateItem(Component.java:40)
>
>            at net.sf.saxon.functions.Concat.evaluateItem(Concat.java:38)
>
>            at
> net.sf.saxon.instruct.SimpleContentConstructor.evaluateItem(SimpleContentConstructor.java:177)
>
>            at
> net.sf.saxon.instruct.ValueOf.processLeavingTail(ValueOf.java:163)
>
>            at
> net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:305)
>
>            at
> net.sf.saxon.instruct.Block.processLeavingTail(Block.java:332)
>
>            at net.sf.saxon.instruct.Template.expand(Template.java:98)
>
>            at
> net.sf.saxon.instruct.CallTemplate.process(CallTemplate.java:189)
>
>            at
> net.sf.saxon.instruct.CallTemplate.processLeavingTail(CallTemplate.java:214)
>
>            at
> net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:305)
>
>            at
> net.sf.saxon.instruct.Block.processLeavingTail(Block.java:332)
>
>            at net.sf.saxon.instruct.Template.expand(Template.java:98)
>
>            at
> net.sf.saxon.instruct.CallTemplate.process(CallTemplate.java:189)
>
>            at
> net.sf.saxon.instruct.CallTemplate.processLeavingTail(CallTemplate.java:214)
>
>            at
> net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:305)
>
>            at
> net.sf.saxon.instruct.Instruction.process(Instruction.java:91)
>
>            at
> net.sf.saxon.instruct.ForEach.processLeavingTail(ForEach.java:222)
>
>            at
> net.sf.saxon.instruct.Block.processLeavingTail(Block.java:332)
>
>            at
> net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:328)
>
>            at
> net.sf.saxon.instruct.Block.processLeavingTail(Block.java:332)
>
>            at
> net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:328)
>
>            at
> net.sf.saxon.instruct.Block.processLeavingTail(Block.java:332)
>
>            at net.sf.saxon.instruct.Template.expand(Template.java:98)
>
>            at
> net.sf.saxon.instruct.Template.processLeavingTail(Template.java:82)
>
>            at
> net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:297)
>
>            at
> net.sf.saxon.instruct.ApplyTemplates$ApplyTemplatesPackage.processLeavingTail(ApplyTemplates.java:429)
>
>            at
> net.sf.saxon.Controller.transformDocument(Controller.java:1518)
>
>            at net.sf.saxon.Controller.transform(Controller.java:1346)
>
>            at
> org.openmrs.module.xforms.formentry.FormEntryQueueProcessor.transformFormEntryQueue(FormEntryQueueProcessor.java:135)
>
>            at
> org.openmrs.module.xforms.XformsQueueProcessor.processDoc(XformsQueueProcessor.java:313)
>
>            at
> org.openmrs.module.xforms.XformsQueueProcessor.submitXForm(XformsQueueProcessor.java:289)
>
>            at
> org.openmrs.module.xforms.XformsQueueProcessor.processXForm(XformsQueueProcessor.java:177)
>
>            at
> org.openmrs.module.xforms.download.XformDataUploadManager.queueForm(XformDataUploadManager.java:227)
>
>            at
> org.openmrs.module.xforms.download.XformDataUploadManager.processXform(XformDataUploadManager.java:90)
>
>            at
> org.openmrs.module.xforms.web.controller.XformDataUploadController.onSubmit(XformDataUploadController.java:98)
>
>            at
> org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:272)
>
>            at
> org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:268)
>
>            at
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
>
>            at
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
>
>            at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
>
>            at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
>
>            at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
>
>            at
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
>
>            at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>
>            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>            at
> org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:65)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>            at
> org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:76)
>
>            at
> org.openmrs.module.xforms.web.XformsFilter.doFilter(XformsFilter.java:53)
>
>            at
> org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:74)
>
>            at
> org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:58)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>            at
> org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:112)
>
>            at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>            at
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
>
>            at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>            at
> org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>            at
> org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>            at
> org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>            at
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
>
>            at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
>            at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>            at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>
>            at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>
>            at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>
>            at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>
>            at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>
>            at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>
>            at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
>
>            at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>
>            at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>
>            at java.lang.Thread.run(Thread.java:662)
>
>
>
>
>
> ___________________________________________________________________
>
> Chief Technology Officer, eHealth Systems Chile
>
> Research Fellow, Harvard Medical School/Partners In Health
>
> Moderator, GHDOnline.org <http://www.GHDOnline.org>
>
>
>
>
> _________________________________________
>
> To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to
> [email protected] with "SIGNOFF openmrs-implement-l" in the
>  body (not the subject) of your e-mail.
>
> [mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]
>



-- 
If we keep uppermost in our minds the unkind and unjust acts of others, we
shall find it impossible to love them as Christ has loved us; but if our
thoughts dwell upon the wondrous love and pity of Christ for us, the same
spirit will flow out to others.

_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to