Re: [Dhis2-users] Tracker Program Stages order

2018-09-13 Thread Seleman Ally
Hi Team, If I should jump in. I have been facing the same challenge from verson 
2.26 to 2.30. In my case it happens when you change the date format from 
-mm-dd to dd-mm-. 
I think something should be done, do behave right in a good order. 
Regards
Sele

Sent from Yahoo Mail on Android 
 
  On Thu, Sep 13, 2018 at 16:44, Markus Bekken wrote:   
___
Mailing list: https://launchpad.net/~dhis2-users
Post to    : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help  : https://help.launchpad.net/ListHelp
  
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tracker Program Stages order

2018-09-13 Thread Walusiku Muyunda
If I want to restore the whole program on play, what do I need to import
apart from "Metadata Export with Dependencies"?

On Thu, Sep 13, 2018 at 4:22 PM Markus Bekken  wrote:

> From you screenshot it appears that your events is not sorted in the
> chronological order that would be expected. I am however not able to
> reproduce the issue in the 2.28 play server. Have you recently changed the
> date format settings for your server? What is your current date format
> settings?
>
> Markus
>
> 13. sep. 2018 kl. 15:56 skrev Walusiku Muyunda :
>
> 
>
> On Thu, Sep 13, 2018 at 3:42 PM Markus Bekken  wrote:
>
>> The timeline data entry (should)use the dates of the event for sorting of
>> the individual events. The tabular entry uses the order of the program
>> stages for the tabs on the left side, and internal to each program stage
>> the event date of the individual events is used for sorting. I presume that
>> your events are being generated upon enrollment - can you provide a
>> screenshot of the jumbled events in the timeline entry?
>>
>> 13. sep. 2018 kl. 15:30 skrev Walusiku Muyunda :
>>
>> Thanks Markus, here are the details about DHIS2 Install:
>> Version: 2.28, Build revision: 533e983, Build date: 2018-03-06 06:23,
>> Yes thats where am order the stages. But when I register a client and
>> open the person dashboard, the Data Entry Timeline  shows all the stages in
>> a seemingly jumbled order. I have also specified the Numver of days from
>> Enrollment for each stage but that too does not seem to be of any effect In
>> Data Entry timeline. When I remove the Data entry timeline and use the
>> Tabular Data Entry, they come in the correct order.
>>
>> *Walusiku J. Muyunda*
>>
>>
>> On Thu, Sep 13, 2018 at 10:07 AM Markus Bekken  wrote:
>>
>>> Hi there Walusiku,
>>> I presume you have ordered the program stages in the maintenance app, in
>>> the "4. Program stages" step of the Program wizard. Can you provide some
>>> details on where is the ordering appears differently than in the
>>> maintenance app? Can you also submit the deftails of the DHIS2 version you
>>> are testing on? You can get this in the "About DHIS 2" option in the
>>> profile menu.
>>>
>>> Markus
>>>
>>> 11. sep. 2018 kl. 10:03 skrev Walusiku Muyunda :
>>>
>>> *Dear All,*
>>>
>>> *I have a program with about 12 scheduled visits(stages). I have ordered
>>> them in the **sequence** they should appear but for some reason they
>>> seem to have their own order as they are appearing not according to the
>>> ordering I shuffled them to. Is there something I am missing. I used the
>>> days from start **option** as well as the stage order to determine how
>>> they appear but seem not to be working.*
>>>
>>> *Thank you.*
>>>
>>> *Walusiku J. Muyunda*
>>>
>>>
>>> *Cell: +260967006614Cell: +260971000614*
>>> *Cell: +260953063387*
>>>
>>> *"We have heaven to win and hell to shun, our lives testify better!"
>>> *
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tracker Program Stages order

2018-09-13 Thread Walusiku Muyunda
[image: image.png]

On Thu, Sep 13, 2018 at 3:42 PM Markus Bekken  wrote:

> The timeline data entry (should)use the dates of the event for sorting of
> the individual events. The tabular entry uses the order of the program
> stages for the tabs on the left side, and internal to each program stage
> the event date of the individual events is used for sorting. I presume that
> your events are being generated upon enrollment - can you provide a
> screenshot of the jumbled events in the timeline entry?
>
> 13. sep. 2018 kl. 15:30 skrev Walusiku Muyunda :
>
> Thanks Markus, here are the details about DHIS2 Install:
> Version: 2.28, Build revision: 533e983, Build date: 2018-03-06 06:23,
> Yes thats where am order the stages. But when I register a client and open
> the person dashboard, the Data Entry Timeline  shows all the stages in a
> seemingly jumbled order. I have also specified the Numver of days from
> Enrollment for each stage but that too does not seem to be of any effect In
> Data Entry timeline. When I remove the Data entry timeline and use the
> Tabular Data Entry, they come in the correct order.
>
> *Walusiku J. Muyunda*
>
>
> On Thu, Sep 13, 2018 at 10:07 AM Markus Bekken  wrote:
>
>> Hi there Walusiku,
>> I presume you have ordered the program stages in the maintenance app, in
>> the "4. Program stages" step of the Program wizard. Can you provide some
>> details on where is the ordering appears differently than in the
>> maintenance app? Can you also submit the deftails of the DHIS2 version you
>> are testing on? You can get this in the "About DHIS 2" option in the
>> profile menu.
>>
>> Markus
>>
>> 11. sep. 2018 kl. 10:03 skrev Walusiku Muyunda :
>>
>> *Dear All,*
>>
>> *I have a program with about 12 scheduled visits(stages). I have ordered
>> them in the **sequence** they should appear but for some reason they
>> seem to have their own order as they are appearing not according to the
>> ordering I shuffled them to. Is there something I am missing. I used the
>> days from start **option** as well as the stage order to determine how
>> they appear but seem not to be working.*
>>
>> *Thank you.*
>>
>> *Walusiku J. Muyunda*
>>
>>
>> *Cell: +260967006614Cell: +260971000614*
>> *Cell: +260953063387*
>>
>> *"We have heaven to win and hell to shun, our lives testify better!"
>> *
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tracker Program Stages order

2018-09-13 Thread Markus Bekken
From you screenshot it appears that your events is not sorted in the 
chronological order that would be expected. I am however not able to reproduce 
the issue in the 2.28 play server. Have you recently changed the date format 
settings for your server? What is your current date format settings?

Markus

> 13. sep. 2018 kl. 15:56 skrev Walusiku Muyunda :
> 
> 
> 
> On Thu, Sep 13, 2018 at 3:42 PM Markus Bekken  > wrote:
> The timeline data entry (should)use the dates of the event for sorting of the 
> individual events. The tabular entry uses the order of the program stages for 
> the tabs on the left side, and internal to each program stage the event date 
> of the individual events is used for sorting. I presume that your events are 
> being generated upon enrollment - can you provide a screenshot of the jumbled 
> events in the timeline entry?
> 
>> 13. sep. 2018 kl. 15:30 skrev Walusiku Muyunda > >:
>> 
>> Thanks Markus, here are the details about DHIS2 Install:
>> Version: 2.28, Build revision: 533e983, Build date: 2018-03-06 06:23, 
>> 
>> Yes thats where am order the stages. But when I register a client and open 
>> the person dashboard, the Data Entry Timeline  shows all the stages in a 
>> seemingly jumbled order. I have also specified the Numver of days from 
>> Enrollment for each stage but that too does not seem to be of any effect In 
>> Data Entry timeline. When I remove the Data entry timeline and use the 
>> Tabular Data Entry, they come in the correct order.
>>  
>> Walusiku J. Muyunda
>> 
>> 
>> On Thu, Sep 13, 2018 at 10:07 AM Markus Bekken > > wrote:
>> Hi there Walusiku, 
>> I presume you have ordered the program stages in the maintenance app, in the 
>> "4. Program stages" step of the Program wizard. Can you provide some details 
>> on where is the ordering appears differently than in the maintenance app? 
>> Can you also submit the deftails of the DHIS2 version you are testing on? 
>> You can get this in the "About DHIS 2" option in the profile menu.
>> 
>> Markus
>> 
>>> 11. sep. 2018 kl. 10:03 skrev Walusiku Muyunda >> >:
>>> 
>>> Dear All,
>>> 
>>> I have a program with about 12 scheduled visits(stages). I have ordered 
>>> them in the sequence they should appear but for some reason they seem to 
>>> have their own order as they are appearing not according to the ordering I 
>>> shuffled them to. Is there something I am missing. I used the days from 
>>> start option as well as the stage order to determine how they appear but 
>>> seem not to be working.
>>> 
>>> Thank you.
>>> 
>>> Walusiku J. Muyunda
>>> 
>>> Cell: +260967006614
>>> Cell: +260971000614
>>> Cell: +260953063387
>>> "We have heaven to win and hell to shun, our lives testify better!" 
>>> 
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users 
>>> 
>>> Post to : dhis2-users@lists.launchpad.net 
>>> 
>>> Unsubscribe : https://launchpad.net/~dhis2-users 
>>> 
>>> More help   : https://help.launchpad.net/ListHelp 
>>> 
>> 
> 

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tracker Program Stages order

2018-09-13 Thread Markus Bekken
The timeline data entry (should)use the dates of the event for sorting of the 
individual events. The tabular entry uses the order of the program stages for 
the tabs on the left side, and internal to each program stage the event date of 
the individual events is used for sorting. I presume that your events are being 
generated upon enrollment - can you provide a screenshot of the jumbled events 
in the timeline entry?

> 13. sep. 2018 kl. 15:30 skrev Walusiku Muyunda :
> 
> Thanks Markus, here are the details about DHIS2 Install:
> Version: 2.28, Build revision: 533e983, Build date: 2018-03-06 06:23, 
> 
> Yes thats where am order the stages. But when I register a client and open 
> the person dashboard, the Data Entry Timeline  shows all the stages in a 
> seemingly jumbled order. I have also specified the Numver of days from 
> Enrollment for each stage but that too does not seem to be of any effect In 
> Data Entry timeline. When I remove the Data entry timeline and use the 
> Tabular Data Entry, they come in the correct order.
>  
> Walusiku J. Muyunda
> 
> 
> On Thu, Sep 13, 2018 at 10:07 AM Markus Bekken  > wrote:
> Hi there Walusiku, 
> I presume you have ordered the program stages in the maintenance app, in the 
> "4. Program stages" step of the Program wizard. Can you provide some details 
> on where is the ordering appears differently than in the maintenance app? Can 
> you also submit the deftails of the DHIS2 version you are testing on? You can 
> get this in the "About DHIS 2" option in the profile menu.
> 
> Markus
> 
>> 11. sep. 2018 kl. 10:03 skrev Walusiku Muyunda > >:
>> 
>> Dear All,
>> 
>> I have a program with about 12 scheduled visits(stages). I have ordered them 
>> in the sequence they should appear but for some reason they seem to have 
>> their own order as they are appearing not according to the ordering I 
>> shuffled them to. Is there something I am missing. I used the days from 
>> start option as well as the stage order to determine how they appear but 
>> seem not to be working.
>> 
>> Thank you.
>> 
>> Walusiku J. Muyunda
>> 
>> Cell: +260967006614
>> Cell: +260971000614
>> Cell: +260953063387
>> "We have heaven to win and hell to shun, our lives testify better!" 
>> 
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users 
>> 
>> Post to : dhis2-users@lists.launchpad.net 
>> 
>> Unsubscribe : https://launchpad.net/~dhis2-users 
>> 
>> More help   : https://help.launchpad.net/ListHelp 
>> 
> 

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tracker Program Stages order

2018-09-13 Thread Walusiku Muyunda
Thanks Markus, here are the details about DHIS2 Install:
Version: 2.28, Build revision: 533e983, Build date: 2018-03-06 06:23,
Yes thats where am order the stages. But when I register a client and open
the person dashboard, the Data Entry Timeline  shows all the stages in a
seemingly jumbled order. I have also specified the Numver of days from
Enrollment for each stage but that too does not seem to be of any effect In
Data Entry timeline. When I remove the Data entry timeline and use the
Tabular Data Entry, they come in the correct order.

*Walusiku J. Muyunda*


On Thu, Sep 13, 2018 at 10:07 AM Markus Bekken  wrote:

> Hi there Walusiku,
> I presume you have ordered the program stages in the maintenance app, in
> the "4. Program stages" step of the Program wizard. Can you provide some
> details on where is the ordering appears differently than in the
> maintenance app? Can you also submit the deftails of the DHIS2 version you
> are testing on? You can get this in the "About DHIS 2" option in the
> profile menu.
>
> Markus
>
> 11. sep. 2018 kl. 10:03 skrev Walusiku Muyunda :
>
> *Dear All,*
>
> *I have a program with about 12 scheduled visits(stages). I have ordered
> them in the **sequence** they should appear but for some reason they seem
> to have their own order as they are appearing not according to the ordering
> I shuffled them to. Is there something I am missing. I used the days from
> start **option** as well as the stage order to determine how they appear
> but seem not to be working.*
>
> *Thank you.*
>
> *Walusiku J. Muyunda*
>
>
> *Cell: +260967006614Cell: +260971000614*
> *Cell: +260953063387*
>
> *"We have heaven to win and hell to shun, our lives testify better!"
> *
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] new build dhis2 2.29 start error.

2018-09-13 Thread 林晓东
hi,all
  I got from github, ver 2.29,  build and deploy to tomcat:
 Got this error: what's wrong? 
 ---
  Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'hibernateConfigurationProvider': Invocation of init 
method failed;
 nested exception is org.hibernate.boot.InvalidMappingException: Could not 
parse mapping document: 
D:\tool\apache-tomcat-8.5.24\webapps\dhis\WEB-INF\lib\dhis-service
-core-2.29.jar (JAR)
at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor
.java:137)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactor
y.java:409)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 77 more
Caused by: org.hibernate.boot.InvalidMappingException: Could not parse mapping 
document: 
D:\tool\apache-tomcat-8.5.24\webapps\dhis\WEB-INF\lib\dhis-service-core-2.29
.jar (JAR)
at 
org.hibernate.boot.jaxb.internal.InputStreamXmlSource.doBind(InputStreamXmlSource.java:46)
at 
org.hibernate.boot.jaxb.internal.JarFileEntryXmlSource.doBind(JarFileEntryXmlSource.java:54)
at org.hibernate.boot.MetadataSources.addJar(MetadataSources.java:434)
at org.hibernate.cfg.Configuration.addJar(Configuration.java:555)
at 
org.hisp.dhis.hibernate.DefaultHibernateConfigurationProvider.init(DefaultHibernateConfigurationProvider.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:36
6)
at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProce
ssor.java:311)
at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor
.java:134)
... 86 more
Caused by: org.hibernate.boot.MappingException: Unable to perform unmarshalling 
at line number 21 and column 5. Message: cvc-datatype-valid.1.2.1: 'fasle' is 
not a v
alid value for 'boolean'. : 
origin(D:\tool\apache-tomcat-8.5.24\webapps\dhis\WEB-INF\lib\dhis-service-core-2.29.jar)
at 
org.hibernate.boot.jaxb.internal.AbstractBinder.jaxb(AbstractBinder.java:177)
at 
org.hibernate.boot.jaxb.internal.MappingBinder.doBind(MappingBinder.java:61)
at 
org.hibernate.boot.jaxb.internal.AbstractBinder.doBind(AbstractBinder.java:102)
at 
org.hibernate.boot.jaxb.internal.AbstractBinder.bind(AbstractBinder.java:57)
at 
org.hibernate.boot.jaxb.internal.InputStreamXmlSource.doBind(InputStreamXmlSource.java:43)
... 97 more
Caused by: javax.xml.bind.UnmarshalException
 - with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 5; 
cvc-datatype-valid.1.2.1: 'fasle' is not a valid value for 'boolean'.]
at 
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:468)
at 
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:448)
at 
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:420)
at 
org.hibernate.boot.jaxb.internal.AbstractBinder.jaxb(AbstractBinder.java:171)
... 101 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 5; 
cvc-datatype-valid.1.2

Re: [Dhis2-users] Tracker Program Stages order

2018-09-13 Thread Markus Bekken
Hi there Walusiku, 
I presume you have ordered the program stages in the maintenance app, in the 
"4. Program stages" step of the Program wizard. Can you provide some details on 
where is the ordering appears differently than in the maintenance app? Can you 
also submit the deftails of the DHIS2 version you are testing on? You can get 
this in the "About DHIS 2" option in the profile menu.

Markus

> 11. sep. 2018 kl. 10:03 skrev Walusiku Muyunda  >:
> 
> Dear All,
> 
> I have a program with about 12 scheduled visits(stages). I have ordered them 
> in the sequence they should appear but for some reason they seem to have 
> their own order as they are appearing not according to the ordering I 
> shuffled them to. Is there something I am missing. I used the days from start 
> option as well as the stage order to determine how they appear but seem not 
> to be working.
> 
> Thank you.
> 
> Walusiku J. Muyunda
> 
> Cell: +260967006614
> Cell: +260971000614
> Cell: +260953063387
> "We have heaven to win and hell to shun, our lives testify better!" 
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-users 
> 
> Post to : dhis2-users@lists.launchpad.net 
> 
> Unsubscribe : https://launchpad.net/~dhis2-users 
> 
> More help   : https://help.launchpad.net/ListHelp 
> 

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp