Re: [Dhis2-users] [Dhis2-devs] dhis 2.16 upgrade notes

2014-09-10 Thread Morten Olav Hansen
Can you open the web inspector with F12, and give use any output there? -- Morten On Thu, Sep 11, 2014 at 1:47 PM, sumudu weerasinghe wrote: > Thanks Jason and Ngoc Thanh! > > I followed you instruction > >- remove old war file and its contents from webapps directory >- upgrade with ne

Re: [Dhis2-users] [Dhis2-devs] dhis 2.16 upgrade notes

2014-09-10 Thread sumudu weerasinghe
Thanks Jason and Ngoc Thanh! I followed you instruction - remove old war file and its contents from webapps directory - upgrade with new war file (build revision 16414) But it is still unable to open a data entry form, in this time log file does not show any error massage . Here is my lo

Re: [Dhis2-users] Dataset report not showing proper breakdown.

2014-09-10 Thread Kiran Prakash
Hello, I did a little debugging and figure that this might be because the analytics query is failing with following error. StatementCallback; bad SQL grammar [select "de","weekly","uidlevel3","a99ecb2c5c3", sum(value) as value from analytics_2014 where "de" in ('a0ea1b1d113') and "weekly" in ('20

[Dhis2-users] XML ou CSV Importation de métadonnées

2014-09-10 Thread Assetta BARA
Salut chers tous, l'importation des métadonnées n'est pas stable j'ai installé dhis2 en local (2.16) et importé mes métadonnées de ma base en ligne (2.16 aussi) avec succès. Mais à chaque fois, que je me déconnecte de ma base en local et me reconnecte, pas de métadonnées!!! Existe t-il une m

Re: [Dhis2-users] [Dhis2-devs] dhis 2.16 upgrade notes

2014-09-10 Thread Jason Pickering
Hi Sumudu, I looked through your log, and it looks like you are using an older build of 2.16 which is subject to a potentially very serious security flaw. This issue was disclosed on the DHIS2 developer and user list last week out last week and a fix has been committed by the developers. You woul

Re: [Dhis2-users] [Dhis2-devs] dhis 2.16 upgrade notes

2014-09-10 Thread Ngoc Thanh Nguyen
Hi DHIS2 is not exhaustively tested in mysql so don't be discouraged. I often see this error. Try the following: - mvn clean - check your hibernate configuration file - try with a fresh new db to see if that error occurs Thanh On Thu, Sep 11, 2014 at 8:55 AM, sumudu weerasinghe wrote: > Hi L

Re: [Dhis2-users] QGIS...

2014-09-10 Thread rin.channara
some time you installed wrong QGIS x32/86 or x64 to support your computer? channara From: Jerome Shaguy Sent: ‎Thursday‎, ‎September‎ ‎11‎, ‎2014 ‎5‎:‎56‎ ‎Morning To: DHIS 2 Users list Hi Friends, I am having trouble running my QGIS, it installs okay but does not give me a start up

[Dhis2-users] QGIS...

2014-09-10 Thread Jerome Shaguy
Hi Friends, I am having trouble running my QGIS, it installs okay but does not give me a start up icon on the desktop and does not give me any interface. Has anyone else experienced this? Appreciate some advice. Cheers ___ Mailing list: https://launchpa

Re: [Dhis2-users] [Dhis2-devs] Limit characters in Comment

2014-09-10 Thread Olav Poppe
Hi, in MySQL and 2.15 the type seems to be longtext (see below). In any case, the patch suggested below is to 1) manually change the column type 2) change the history.vm and history.js. Is that supposed to enough, or are further changes required? Olav ++-

Re: [Dhis2-users] [Dhis2-devs] DHIS2 - Indicator calculation over dimensions

2014-09-10 Thread Jason Pickering
Hi Robin, It has been a discussed, and certainly not a bug. See a related thread here (https://lists.launchpad.net/dhis2-devs/msg27571.html) for a similar discussion on validation rules. It is essentially the same as indicators. What you will have to do is to create seperate indicator for each and

[Dhis2-users] DHIS2 - Indicator calculation over dimensions

2014-09-10 Thread Robin Martens
Dear all, I've been testing the indicator calculation algorithm and noticed something particular of which I'm not sure if it's a bug or a deliberate development choice. Indicators are not explicitly defined per category such as data elements but the reporting tools allow a disaggregated indica

Re: [Dhis2-users] Data Entry Screen Fails to Load Data Set

2014-09-10 Thread Lars Helge Øverland
This problem with linebreaks has been fixed in the latest 2.16 version. regards, Lars On Wed, Sep 10, 2014 at 3:30 AM, Morina Matasi wrote: > That did the trick!! Thank YOU!!! > > On Wed, Sep 10, 2014 at 9:18 AM, Morten Olav Hansen > wrote: > >> >> On Wed, Sep 10, 2014 at 2:17 PM, Morina Ma

Re: [Dhis2-users] [Dhis2-devs] Limit characters in Comment

2014-09-10 Thread Lars Helge Øverland
Hi Olav, the datavalue.value column is of type varchar and not text. This might be unfortunate but there is an overhead in using text vs varchar. The long text vs text is more a UI setting to indicate whether to display an input field or text area. I am not sure how huge the difference is between

Re: [Dhis2-users] [Dhis2-devs] Limit characters in Comment

2014-09-10 Thread Olav Poppe
Hi, I’m trying to apply the below patch to allow comments longer than 360 characters. Changing the .js and .vm file works fine and the text field allows long comments, BUT the system still refuses to store the data values with long comments - 409 conflict is returned from the server. The comment

Re: [Dhis2-users] Enforcing Max/Min Value on Data entry Form

2014-09-10 Thread Alex Tumwesigye
Morina, For your case, this should be the valid script. Do not use .closest("form") because there is no form name "form" $("#entryfield").validate({ rules: { entryfield: { max: 5 } } }); The above script will set all maximum values to the whole form as 5, For specific input,

Re: [Dhis2-users] Enforcing Max/Min Value on Data entry Form

2014-09-10 Thread Morina Matasi
$("#dgGQFkvROzb-pp5KtxJWaZA-val").closest("form").validate({ rules: { dgGQFkvROzb-pp5KtxJWaZA-val: { max: 5 } } }); On Wed, Sep 10, 2014 at 1:22 PM, Alex Tumwesigye wrote: > Dear Morina, > > Can you share your code? > One thing I know when you are applying JQuery to a given

Re: [Dhis2-users] Enforcing Max/Min Value on Data entry Form

2014-09-10 Thread Alex Tumwesigye
Dear Morina, Can you share your code? One thing I know when you are applying JQuery to a given field/input in DHIS2, you may need to do something like this: $(.entryfield).closest(blah blah) This will apply the rule to all inputs or $(#qTuxHtIBhkU-mt3cAOIDf32-val).closest(blah blah)-

Re: [Dhis2-users] Enforcing Max/Min Value on Data entry Form

2014-09-10 Thread Morina Matasi
I have just tried it. Since there is no Form Object in the customs forms, I used jQuery's .closest('form') function but still, it does not work. The data entry form then goes into a loop trying to open. I have also noted that if you double click on the text box of a form at run-time, it give a win

Re: [Dhis2-users] Enforcing Max/Min Value on Data entry Form

2014-09-10 Thread Alex Tumwesigye
Morina, It should work if the browser is supported. May be you could look at JQuery as an option since DHIS2 preloads with JQuery already added for you. See example http://jqueryvalidation.org/max-method/ Just write you JQuery script below and it should work. AT On Wed, Sep 10, 2014 at 1:09 PM,

Re: [Dhis2-users] Enforcing Max/Min Value on Data entry Form

2014-09-10 Thread Morina Matasi
Thanks. Actually it was not overriding, but just re-arranging the attributes. My apologies. I am actually using custom form. BUT, with the attributes there, it does not work stil. It doesn't obey the range. On Wed, Sep 10, 2014 at 11:51 AM, Alex Tumwesigye wrote: > Dear Morina, > > The HTML 5 at

Re: [Dhis2-users] Enforcing Max/Min Value on Data entry Form

2014-09-10 Thread Alex Tumwesigye
Dear Morina, The HTML 5 attributes will help if the form is a custom form, that way you can persist the code. Thanks. On Wed, Sep 10, 2014 at 12:48 PM, Morina Matasi wrote: > > > This doesnt work. Those attributes disappear when I save the form. > > > On Wed, Sep 10, 2014 at 11:36 AM, Moses M

Re: [Dhis2-users] Enforcing Max/Min Value on Data entry Form

2014-09-10 Thread Morina Matasi
This doesnt work. Those attributes disappear when I save the form. On Wed, Sep 10, 2014 at 11:36 AM, Moses Marimo wrote: > I am sure HTML 5 attributes should help. Just go to the source of the data > entry form and add min and max attributes > > > On Wed, Sep 10, 2014 at 11:25 AM, Morina Mat

Re: [Dhis2-users] Enforcing Max/Min Value on Data entry Form

2014-09-10 Thread Moses Marimo
I am sure HTML 5 attributes should help. Just go to the source of the data entry form and add min and max attributes On Wed, Sep 10, 2014 at 11:25 AM, Morina Matasi wrote: > Can I enforce Max/Min values on a data entry form. Validation is not > giving me much flexibility. I want the data entry

[Dhis2-users] Enforcing Max/Min Value on Data entry Form

2014-09-10 Thread Morina Matasi
Can I enforce Max/Min values on a data entry form. Validation is not giving me much flexibility. I want the data entry form not to save when a value entered is outside a range (Min-Max). How do I do that? ___ Mailing list: https://launchpad.net/~dhis2-use

[Dhis2-users] "future" period as denominator data

2014-09-10 Thread Johan Ivar Sæbø
Hi, we have some population-based indicators, and have population-data for 2014 in the database. However, when we look at indicators for any month in 2014, it appears that the denominator is picked from the last finished period, i.e. 2013. When we look at 2014 as total by selecting "this year

Re: [Dhis2-users] Data Entry Screen Fails to Load Data Set

2014-09-10 Thread Morina Matasi
That did the trick!! Thank YOU!!! On Wed, Sep 10, 2014 at 9:18 AM, Morten Olav Hansen wrote: > > On Wed, Sep 10, 2014 at 2:17 PM, Morina Matasi > wrote: > >> "WNTP3yWBo9b": >> "(((#{REsnB7QOitO.pp5KtxJWaZA}+#{YHCsjYeBMU7.pp5KtxJWaZA}+#{LCWdeMZ4Zb4.pp5KtxJWaZA}+#{vYbeCKa2zlj.pp5KtxJWaZA}+#{AzLw0

Re: [Dhis2-users] Data Entry Screen Fails to Load Data Set

2014-09-10 Thread Morten Olav Hansen
Can you check and see if you have any extra newlines in the indicator numerator or denominator ? that can cause issues, especially with older version of DHIS. -- Morten On Wed, Sep 10, 2014 at 2:01 PM, Morina Matasi wrote: > Thanks Morten. I have done that and I get the following error: > > Par

Re: [Dhis2-users] Data Entry Screen Fails to Load Data Set

2014-09-10 Thread Morina Matasi
Thanks Morten. I have done that and I get the following error: Parse error on line 2637: ... "WNTP3yWBo9b": "(((#{REsnB7QOitO.pp ---^ Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[' However, The indicator in question (WNTP3yWBo9b) looks fine. On Wed, Se