Re: [Dhis2-devs] [Bug 1638551] Re: Category option group set should be optional for approval level

2016-11-04 Thread Jim Grace
The hibernate mapping and the object definition haven't changed since 2.24. So something else has changed, maybe the import code? Some third-party library? Hibernate? On Fri, Nov 4, 2016 at 1:45 PM, Lars Helge Øverland wrote: > I tried making the categoryOptionGroupSet property

[Dhis2-devs] [Bug 1638551] Re: Category option group set should be optional for approval level

2016-11-04 Thread Lars Helge Øverland
I tried making the categoryOptionGroupSet property not-null=true explicitly in the hbm but that had no effect. Perhaps it is recognized as not-null since its part of a "properties unique="true"" element. ** Changed in: dhis2 Importance: Undecided => Medium ** Changed in: dhis2 Assignee:

Re: [Dhis2-devs] Unable to save option set values in data entry form

2016-11-04 Thread Lars Helge Øverland
Hi Archana, this bug turned out to happen for options where the code was different from the name (which is often the case). Fixed now in 2.24 -> master. regards, Lars On Fri, Nov 4, 2016 at 1:55 PM, Archana Chillala wrote: > Hi, > > We're using DHIS version 2.25

Re: [Dhis2-devs] Approval levels are failing to save

2016-11-04 Thread Jim Grace
This has recently been noticed and reported as a new bug at https://bugs.launchpad.net/dhis2/+bug/1638551. The problem is that an approval level cannot be saved without specifying a Category option group set -- which should be optional, not required. One workaround until this is fixed is that you

Re: [Dhis2-devs] [Dhis2-users] Set data approvals with dhis 2.23

2016-11-04 Thread Jim Grace
Hi Adolphe, Thank you for your report. *1. Workflows:* As you saw, when upgrading your database to include workflows, one workflow is created for each dataset for which approvals had been enabled. If you wish to approve/unapprove multiple datasets always together, you can reassign the dataset

Re: [Dhis2-devs] Character limit on incoming SMS message

2016-11-04 Thread Jasper Timm
Hi Zubair, Yes that's right, we're running 2.22 here. Thanks in advance! - Jasper On Fri, Nov 4, 2016 at 3:41 PM, Zubair Asghar Raja wrote: > Hi Jasper, > > Yes it is doable. You are using 2.22 right ? > > > Zubair > > > > > On 04. nov. 2016 16:20, Jasper Timm wrote: > >

Re: [Dhis2-devs] Character limit on incoming SMS message

2016-11-04 Thread Zubair Asghar Raja
Hi Jasper, Yes it is doable. You are using 2.22 right ? Zubair On 04. nov. 2016 16:20, Jasper Timm wrote: Hi DHIS2 Devs, I'm encountering an error when attempting to send a long incoming SMS message to the DHIS2 (v2.22) API - /api/sms/incoming The message is 809 characters, which the

[Dhis2-devs] Character limit on incoming SMS message

2016-11-04 Thread Jasper Timm
Hi DHIS2 Devs, I'm encountering an error when attempting to send a long incoming SMS message to the DHIS2 (v2.22) API - /api/sms/incoming The message is 809 characters, which the phone, telco and SMS gateway all seem to be fine with, presumably via a concatenated SMS, but DHIS2 seems to respond

Re: [Dhis2-devs] Maintenance App: translations erased after element edition

2016-11-04 Thread Mark Polak
Hey Victor, It should be resolved now. Sorry for it taking a while and any translations you might have lost :( On Tue, Oct 25, 2016 at 3:09 PM, Victor Garcia wrote: > Hi all, > > we have detected a buggy behavior in Maintenance App regarding > translations. Let's suppose

[Dhis2-devs] DHIS2 Metadata Sync error

2016-11-04 Thread Francesco Palazzini
Hello DHIS team, we are trying the metadata sync feature but unfortunately it does not seem to work. Note: on our setup instance2 is going to sync from instance1 What we tried so far: Case 1: - manually import metdata from a json file to instance1 - upgrade instance1 running v2.22 to v2.24,

Re: [Dhis2-devs] Legend Set - Issue with start and end values

2016-11-04 Thread Lars Helge Øverland
Hi again, if you are referring to the "start value" and "end value" fields above the "create legend items" button - those are used only to generate the legends, which are shown in the table below. They are not part of the legend set itself, rather used to generate legends. So this is expected.

Re: [Dhis2-devs] Legend Set - Issue with start and end values

2016-11-04 Thread Lars Helge Øverland
Hi Archana, I was testing this on the demo instance and it seems to work well there. Are you able to reproduce this on the demo? regards, Lars On Fri, Nov 4, 2016 at 1:40 PM, Archana Chillala wrote: > Hi, > > We are using DHIS 2.25. We have created a legend set and

Re: [Dhis2-devs] Unable to create resource of type "File"

2016-11-04 Thread Lars Helge Øverland
Hi Archana, I just tested this on the demo instance for 2.25 and it works there. Can you please provide the tomcat log? regards, Lars On Fri, Nov 4, 2016 at 1:44 PM, Archana Chillala wrote: > Hi, > > We are using DHIS version 2.25. In the Reports module, we

[Dhis2-devs] Embedding a chart on an HTML page

2016-11-04 Thread Pooben Dass
-- Forwarded message -- From: Pooben Dass Date: Fri, Nov 4, 2016 at 9:52 AM Subject: Embedding a chart on an HTML page To: dhis2-devs@lists.launchpad.net Hi Devs I'm trying to embed a chart with category options on to an HTML page. What is the correct format

Re: [Dhis2-devs] Issue with Syncing Standard Reports after modifying it

2016-11-04 Thread Lars Helge Øverland
Hi Archana, this seems to be an issue with missing statements in the Reports.mergeWith method. I have made a fix in master and 2.25 now. regards, Lars On Fri, Nov 4, 2016 at 12:51 PM, Archana Chillala wrote: > Hi, > > We are using the latest version of DHIS 2.25

[Dhis2-devs] Unable to save option set values in data entry form

2016-11-04 Thread Archana Chillala
Hi, We're using DHIS version 2.25 (build - 8feec9a). We have created an option set with some options and assigned it to a data element. In the data entry form, for this data element, we get a drop down of all the options. But we are *not able to select any of them. *This wasn't there in the

[Dhis2-devs] Unable to create resource of type "File"

2016-11-04 Thread Archana Chillala
Hi, We are using DHIS version 2.25. In the Reports module, we have *Resources *of types "File" and "URL". We are able to create a resource of type 'URL'. But when we try to create one with type - 'File', the application throws an exception. This used to get saved in 2.24 and earlier versions. But

[Dhis2-devs] Unable to create a favourites on GIS module

2016-11-04 Thread Archana Chillala
Hi, We are using the latest version of DHIS 2.25 (build - 5e16867). We are trying to create a favourite on GIS module, but it does not get created. Following is the exception it throws in the logs. * INFO 2016-11-03 11:43:07,115 'admin' create org.hisp.dhis.mapping.Map, name: amsterdam

[Dhis2-devs] Translations and Sharing Settings not syncing

2016-11-04 Thread Archana Chillala
Hi, We are using the latest version of DHIS 2.25 (build - 5e16867). We have a couple of issues with version 2.25 - sync of metadata. *1) Translations* are not getting synced. In previous versions, translations used to sync. But, looks like that's not the case with 2.25. It affects all

Re: [Dhis2-devs] [Dhis2-users] Compulsory data element not seems to be working

2016-11-04 Thread Lars Helge Øverland
Hi Jasper, okay. Compulsory data elements are not meant to block data entry form submission. Yes you could try using a validation rule. E.g. if this is numeric and is supposed to be a positive value, you can create a validation rule saying #{data element a} > 0 and then select "never skip" in

[Dhis2-devs] [Issue] Failing to Import Charts and Report Tables

2016-11-04 Thread Archana Chillala
Hi, We are using the latest version of DHIS 2.25 (build - 5e16867). We have created charts and report tables on data visualiser and pivot table apps respectively. However, metadata import fails for these two objects when we try to sync them from one DHIS instance to another. Please find the logs

Re: [Dhis2-devs] Are indicators working in 2.25?

2016-11-04 Thread Lars Helge Øverland
For the record, the problem here turned out to be use of the default option combo explicitly in the indicator numerator, while the data being collected for non-default option combos. In indicators, if you want the total value for a data element, one should use this syntax: #{deuid} and not

Re: [Dhis2-devs] Setting to make attribute confidential

2016-11-04 Thread Elmarie Claasen
Thanks a lot for the information Abyot and Lars – much appreciated as I was scanning the different manuals but just didn’t know exactly where to find it. We managed to successfully change the config file to allow this setting. J Regards, *Elmarie Claasen* [image: Hisp logo] Project Manager

Re: [Dhis2-devs] [Dhis2-users] API: dataSets.dataElements

2016-11-04 Thread Lars Helge Øverland
Hi Uwe, like you have observed, the Web API versioning applies to query parameters, responses and most things, but not the metadata model entirely. This because we currently do not have a "data transfer object" layer between the DHIS 2 metadata model and what we render in the API. As a

[Dhis2-devs] [Bug 1495868] Re: (Tracker) Non-repeating program stages vs. "ask user to create new event"

2016-11-04 Thread Lars Helge Øverland
** Changed in: dhis2 Milestone: None => 2.25 ** Changed in: dhis2 Importance: Undecided => Medium ** Changed in: dhis2 Status: Fix Committed => Confirmed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS.

Re: [Dhis2-devs] Setting to make attribute confidential

2016-11-04 Thread Lars Helge Øverland
Hi, I have added this Q under the *dhis2* tag at stack overflow. http://webmasters.stackexchange.com/questions/100836/encryption-is-not-configured-how-do-you-enable-it regards, Lars On Thu, Nov 3, 2016 at 10:26 AM, Abyot Asalefew Gizaw wrote: > Hi Elmarie, > > See here

Re: [Dhis2-devs] Are indicators working in 2.25?

2016-11-04 Thread Lars Helge Øverland
Hi Jose, I can have a look but need some more info. Could you please provide privately: - a dhis login to the server. - a link to the indicator in the maintenance app or API. - a link to a pivot table which illustrates the problem (0 output value). best regards, Lars On Thu, Nov 3, 2016

Re: [Dhis2-devs] [issue] Metadata Import fails when modifying a tracker program and tracker program stage

2016-11-04 Thread Markus Bekken
Hi Archana! I'll let Morten or someone else comment on possible fixes, but recently had the same problem as you describe in "with registration" below. I didn't dig to the bottom of it but found a workaround: You can manually clean out the program_attribute rows connected to the program(s) being

[Dhis2-devs] Set data approvals with dhis 2.23

2016-11-04 Thread Kamugunga Adolphe
Hi We had HMIS system with 6 Org levels (National, Province, District, Sub district, Sector, facilities) running the version 2.20. The approval was working fine, users at province level could approve/ unapprove data from facilities of respective provinces. The constraints in this version was

Re: [Dhis2-devs] Org. unit tree is not open with org. units selected (datasets, orgunit groups, etc.)

2016-11-04 Thread Lars Helge Øverland
Hi Jose, thanks, yup we are working on this and I understand the inconvenience. Many of the devs are out this week, and so I cannot promise this in the next days, but will keep you posted. best regards, Lars On Thu, Nov 3, 2016 at 12:07 PM, Jose Garcia Muñoz wrote: > >

Re: [Dhis2-devs] [Dhis2-users] API: dataSets.dataElements

2016-11-04 Thread Uwe Wahser
Hi Bob, overriding categoryCombos sounds interesting - I will look at that later. Not sure what that means in terms of transparency of the data later on, though ... As an implementor/3rd party developer I'd expect of course that even if the api has changed in the current version, that it will

[Dhis2-devs] [issue] Metadata Import fails when modifying a tracker program and tracker program stage

2016-11-04 Thread Archana Chillala
Hi, We are using the latest version of DHIS 2.25 (build - 5e16867). We have two instances of DHIS and are trying to sync metadata from one instance to the other. Sync is failing for the following cases. *Modifying a Tracker program (i.e. program “with registration”) * * INFO 2016-11-02

[Dhis2-devs] Sharing on metadata import

2016-11-04 Thread Olav Poppe
Hi devs, I’m trying to import a new indicator (v2.24) with public access = none ("") and user group access limited to one group. However, the indicator gets imported with full public read/write access, and without the user group sharing. I also tried to export an indicator, modify

Re: [Dhis2-devs] Active Program in tracker capture

2016-11-04 Thread Abyot Asalefew Gizaw
Hi Channara, Do you have any log from your browser console? Also, how are you accessing the tracked entity instance? One possibility this might happen is if you are accessing the tracked entity instance from another org unit where you don't have access to view enrollments and events. -- Abyot

Re: [Dhis2-devs] update tracker profile form

2016-11-04 Thread Abyot Asalefew Gizaw
Seems attribute uniqueness per program scope is defined but program is not passed. This is a known problem. The solution is to use system / orgunit scope than program scope. -- Abyot A. Gizaw. Senior Engineer, DHIS2 University of Oslo http://www.dhis2.org On Fri, Nov 4, 2016 at 9:39 AM, Lars

Re: [Dhis2-devs] update tracker profile form

2016-11-04 Thread Markus Bekken
Maybe you are being hit bu this? Unique in program does not work properly and was therefore removed as an option in the uniqueness scope for tracked entity attributes. Probably this was not backported all the way to 2.21. Try a different uniqueness scope for your attributes, and see if that

Re: [Dhis2-devs] update tracker profile form

2016-11-04 Thread Lars Helge Øverland
This seems to be the relevant part of the tomcat log. Abyot can you see what the problem is? --- 04-Nov-2016 10:57:08.013 SEVERE [http-nio-8080-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [webapi] in context with path [/2.21-raw] threw exception

Re: [Dhis2-devs] update tracker profile form

2016-11-04 Thread Lars Helge Øverland
Hi Channara, are you able to share the relevant part of the Tomcat log as well? regards, Lars On Fri, Nov 4, 2016 at 5:03 AM, channara rin wrote: > dear all, > when i want to update some information of tracker profile. i got this > below error... > [image: Inline

[Dhis2-devs] Embedding a chart on an HTML page

2016-11-04 Thread Pooben Dass
Hi Devs I'm trying to embed a chart with category options on to an HTML page. What is the correct format to map the co & de dimension? This is the example for the de only? DHIS.getChart({ url : base, el : 'chart1', type : 'pie', columns : [ {dimension : 'de',items : [ {id : 'DE_UID' }] } ],