Re: [Dhis2-devs] issue with /api/eventReports for fetching data

2016-05-11 Thread Archana Chillala
Hi Lars,

We have a use-case for fetching event reports for a custom app that we're
building. We are planning to extend the API to fetch data for event
reports. The potential approach we would follow is similar to the way that
pivot tables api are built i.e. /api/eventReports//data  should fetch
us appropriate data. The metadata configuration can be fetched using the
eventReport UID and data can be fetched by using EventAnalyticsService.

Could you please let us know the complexities or the repercussions you
foresee that go along with extending the API. Any thoughts on this would be
valuable.

*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, May 10, 2016 at 3:00 AM, Lars Helge Øverland  wrote:

> Hi Srikanth,
>
> this specific feature is one we want to implement, but I cannot promise a
> delivery date - sorry. This area is quite complex and the event reports is
> still gaining new features, so this is a moving target and hard to know
> exactly when we will get time to implement the server version.
>
> regards,
>
> Lars
>
>
> On Fri, May 6, 2016 at 8:17 AM, Srikanth Katta 
> wrote:
>
>> Hi Lars,
>>
>> Could you please let us know if there is any plan of extending the *event
>> reports api* for fetching data for 2.24 release. Please let us know your
>> roadmap to support this functionality.
>>
>> Thanks,
>> Srikanth
>>
>> On Mon, May 2, 2016 at 6:19 PM, Srikanth Katta > > wrote:
>>
>>> Thank you, Lars
>>>
>>> On Mon, May 2, 2016 at 6:10 PM, Lars Helge Øverland 
>>> wrote:
>>>
>>>> Hi Srikanth,
>>>>
>>>> unfortunately we do not support this at the moment.
>>>>
>>>> You will have to use the aggregate event analytics API for now and
>>>> construct the table yourself.
>>>>
>>>> /api/analytics/events/aggregate
>>>>
>>>> regards,
>>>>
>>>> Lars
>>>>
>>>>
>>>>
>>>>
>>>> On Mon, May 2, 2016 at 1:28 PM, Srikanth Katta <
>>>> srika...@thoughtworks.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> We are using latest version of DHIS 2.21
>>>>> We have configured reports on Event Reports module and trying to fetch
>>>>> data through the API - *.../api/eventReports//data,*  but we get
>>>>> no response. We have looked up the documentation on developer manual  for
>>>>> web api in *Viewing analytical resource representations*, but looks
>>>>> like no resource is provided for the same.
>>>>>
>>>>> Any help on this would be appreciated.
>>>>>
>>>>> Thanks,
>>>>> Srikanth
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to : dhis2-devs@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Lars Helge Øverland
>>>> Lead developer, DHIS 2
>>>> University of Oslo
>>>> Skype: larshelgeoverland
>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>
>>>>
>>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Issue with Aprrovals

2016-05-16 Thread Archana Chillala
Hi Jim,

As you mentioned in the mail, that several data sets can be approved
together by approving a workflow. How can that be done on the UI?
Currently, on the demo server, we have to select a data set and reporting
period to get the data for approval. And for different data sets, we have
to make several selections. There is no select by workflow as of now. Any
thoughts?

Thanks,

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, May 16, 2016 at 12:22 PM, Archana Chillala <
archa...@thoughtworks.com> wrote:

> Hi Jim,
>
> Thanks for all the information. It was very valuable. We will get back to
> you with inputs on how we would like data synchronisation and approvals to
> work together.
>
>
> *Cheers*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Fri, May 13, 2016 at 11:41 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> ​Hi Theo,
>>
>> While running a spike on Data Approvals on DHIS, we came across several
>> functionalities that could suit our requirements. However, As Jim mentioned
>> in the previous mail, there is no interaction between approvals and data
>> synchronisation currently. They do have future possibilities of including
>> it and they are welcome to take our input as to how we would like approvals
>> and data synchronisation to work together.
>>
>> So, let's us have a discussion around this once you are back from pilot
>> and let's include Marta from OCBA as well. Thoughts on this?
>>
>> *Cheers*
>>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Issue with Aprrovals

2016-05-16 Thread Archana Chillala
Thank you, Jim. That answers.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, May 16, 2016 at 4:58 PM, Jim Grace  wrote:

> See earlier in this thread:
>
> Note that the data approval report asks you to select a dataset, as it has
>> in the past. But starting with version 2.22 what is approved by this report
>> is actually the workflow associated with that dataset -- so it also
>> approves data for any other datasets that may be attached to that same
>> workflow. At some point we will likely be updating the data approval
>> report so you select a workflow instead of a dataset. We are also in the
>> process of updating all the user interface to the new app format -- we
>> might do these two at the same time.
>
>
> If you approve any one of the datasets in a workflow through the UI, it
> approves all of the datasets in the workflow. We will fix this in the
> future so that you select the workflow instead of the dataset.
>
> Cheers,
> Jim
>
>
> On Mon, May 16, 2016 at 9:30 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi Jim,
>>
>> As you mentioned in the mail, that several data sets can be approved
>> together by approving a workflow. How can that be done on the UI?
>> Currently, on the demo server, we have to select a data set and reporting
>> period to get the data for approval. And for different data sets, we have
>> to make several selections. There is no select by workflow as of now. Any
>> thoughts?
>>
>> Thanks,
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Mon, May 16, 2016 at 12:22 PM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi Jim,
>>>
>>> Thanks for all the information. It was very valuable. We will get back
>>> to you with inputs on how we would like data synchronisation and approvals
>>> to work together.
>>>
>>>
>>> *Cheers*
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> On Fri, May 13, 2016 at 11:41 AM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> ​Hi Theo,
>>>>
>>>> While running a spike on Data Approvals on DHIS, we came across several
>>>> functionalities that could suit our requirements. However, As Jim mentioned
>>>> in the previous mail, there is no interaction between approvals and data
>>>> synchronisation currently. They do have future possibilities of including
>>>> it and they are welcome to take our input as to how we would like approvals
>>>> and data synchronisation to work together.
>>>>
>>>> So, let's us have a discussion around this once you are back from pilot
>>>> and let's include Marta from OCBA as well. Thoughts on this?
>>>>
>>>> *Cheers*
>>>>
>>>
>>>
>>
>
>
> --
> Jim Grace
> Core developer, DHIS 2
> HISP US Inc.
> http://www.dhis2.org <https://www.dhis2.org/>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Issues with custom attributes

2016-06-24 Thread Archana Chillala
Thank you, Lars.

I am able to reproduce the issues on the dev instance as well. 'Yes Only'
(and most other value types are rendered as blank fields)


[image: Inline image 1]

Also, based on the '*value type*' of the Attribute, some attributes show up
in the new Data Sets module (in maintenance app) while some others show up
in the older Data Sets app on DHIS.


Cheers,

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Jun 24, 2016 at 2:58 PM, Lars Helge Øverland  wrote:

> Hi Archana,
>
> thanks for the feedback.
>
> Did you test against
>
> On Fri, Jun 24, 2016 at 10:01 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi,
>>
>> We have created an attribute with a value type - "Yes Only" and assigned
>> it to data set. In the maintenance app, when we look at the data set,
>> instead of a 'check box', a blank text field is shown (when the value type
>> is 'Yes Only'). We tested with other value types, and looks like except for
>> option sets (which are rendered as a drop down list), all other value types
>> are shown as a text field.
>>
>> Here's the screenshot attached. "*Is this a report template?*" is our
>> attribute name of value type "Yes Only"- rendered as text field. "*test
>> attr"* is an attribute of type - option sets - rendered as drop down.
>>
>>
>>
>> Also, if the attribute has value type "Yes Only" and some new ones added
>> (like coordinate, file etc), when assigned to data set, we are able to see
>> them in the new Data Sets module of maintenance app, but not in the older
>> Data Sets app.
>>
>>
> This issue I cannot reproduce on /demo or /dev
> <https://play.dhis2.org/dev/dhis-web-maintenance/#>. Perhaps you tested
> on a bad revision. Could you please try to reproduce on dev?
>
>
>
>
>
>>
>> *Issue - attribute with option sets:*
>>
>> The Value type of option sets is not made mandatory. So, if we create an
>> option set without assigning a value type, and add that option set to an
>> attribute, we will not be able to create the attribute as the value type of
>> custom attribute is missing. (Basically, the value type of option set is
>> considered the value type of custom attribute. But when there is no value
>> type given, it takes "No Value" and attribute does not get created. Also,
>> looks like updating the value type of option set is not possible.
>>
>
>
> You are right - we need to make value type of option set not-null.
>
> Fixed now in trunk:
>
> https://github.com/dhis2/maintenance-app/issues/189
>
>
> regards,
>
> Lars
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [DHIS] Program gets unassigned to a user role during metadata export-import

2016-06-25 Thread Archana Chillala
Thanks, Lars!

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Jun 24, 2016 at 4:48 PM, Lars Helge Øverland  wrote:

> For the record, this was fixed.
>
> Lars
>
> On Mon, Mar 14, 2016 at 8:57 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Currently using DHIS version 2.23 on both instances.
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Mon, Mar 14, 2016 at 1:26 PM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi Morten,
>>>
>>> We have two instances of DHIS one of which has been setup with sample
>>> metadata which is imported into the other instance through export-import.
>>>
>>> On the first instance, we have created a program and assigned it to a
>>> user role. Then, metadata is exported from that instance and imported into
>>> the other. The program gets imported into the second instance, but comes
>>> unassigned to any user role (even if that has been configured on the first
>>> instance). Is this a known issue?
>>>
>>> Any help here would be appreciated.
>>>
>>>
>>>
>>> *Thanks*
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Documentation for d2 library

2016-06-29 Thread Archana Chillala
Hi devs,

We are looking at using *d2* library for our custom apps. Could you please
direct us to any extensive documentation available for the same. Also,
could you please share with us (repo links for) any apps built on react, so
we could understand how d2 has been used.
Thank you.


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Documentation for d2 library

2016-06-29 Thread Archana Chillala
Thank you, Nicolay.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Wed, Jun 29, 2016 at 2:43 PM, Nicolay Ramm  wrote:

> Hi Archana,
>
> unfortunately the documentation that currently exists for D2 is far from
> extensive. The limited documentation we have can be found here:
> http://d2.markionium.com
> This is generated from the source code, so you'll find the same
> documentation in the code itself.
>
> The following apps are written using D2, D2-UI, React and RxJS
> <https://github.com/Reactive-Extensions/RxJS/>:
>
>- Maintenance app <https://github.com/dhis2/maintenance-app>
>- Settings app <https://github.com/dhis2/settings-app>
>- App management app <https://github.com/dhis2/app-management-app>
>
> Hope this helps.
>
> Best regards,
>
>
> Nicolay Ramm
> Front end developer, DHIS 2
> University of Oslo
> https://www.dhis2.org
>
> On Wed, Jun 29, 2016 at 10:58 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi devs,
>>
>> We are looking at using *d2* library for our custom apps. Could you
>> please direct us to any extensive documentation available for the same.
>> Also, could you please share with us (repo links for) any apps built on
>> react, so we could understand how d2 has been used.
>> Thank you.
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Documentation for d2 library

2016-06-29 Thread Archana Chillala
Thanks a lot, Lars.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Wed, Jun 29, 2016 at 4:25 PM, Lars Helge Øverland  wrote:

> Hi Archana,
>
> we definitely plan to improve the docs and provide a consistent set of
> documentation / guides - we just hadn't had the time yet but its high on
> our list after 2.24.
>
> regards,
>
> Lars
>
>
> On Wed, Jun 29, 2016 at 12:44 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Thank you, Nicolay.
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Wed, Jun 29, 2016 at 2:43 PM, Nicolay Ramm  wrote:
>>
>>> Hi Archana,
>>>
>>> unfortunately the documentation that currently exists for D2 is far from
>>> extensive. The limited documentation we have can be found here:
>>> http://d2.markionium.com
>>> This is generated from the source code, so you'll find the same
>>> documentation in the code itself.
>>>
>>> The following apps are written using D2, D2-UI, React and RxJS
>>> <https://github.com/Reactive-Extensions/RxJS/>:
>>>
>>>- Maintenance app <https://github.com/dhis2/maintenance-app>
>>>- Settings app <https://github.com/dhis2/settings-app>
>>>- App management app <https://github.com/dhis2/app-management-app>
>>>
>>> Hope this helps.
>>>
>>> Best regards,
>>>
>>>
>>> Nicolay Ramm
>>> Front end developer, DHIS 2
>>> University of Oslo
>>> https://www.dhis2.org
>>>
>>> On Wed, Jun 29, 2016 at 10:58 AM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Hi devs,
>>>>
>>>> We are looking at using *d2* library for our custom apps. Could you
>>>> please direct us to any extensive documentation available for the same.
>>>> Also, could you please share with us (repo links for) any apps built on
>>>> react, so we could understand how d2 has been used.
>>>> Thank you.
>>>>
>>>>
>>>> *Cheers,*
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Documentation for d2 library

2016-06-29 Thread Archana Chillala
Hi Mark,

Thank you. Could you share a link to the skeleton app you mentioned.


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Wed, Jun 29, 2016 at 5:43 PM, Mark Polak  wrote:

> Hey Archana,
>
> If you're still starting to use the tools before that feel free to ask
> questions on the list or through github issues on the specific repositories
> and we'll try to help you as best as we can.
>
> In the mean time you could take a look at our skeleton app. It has a very
> basic setup of the libraries Nicolay mentioned and a few comments on what
> is happening ;)
>
> Regards,
>
> Mark
>
> On Wed, Jun 29, 2016 at 1:22 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Thanks a lot, Lars.
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Wed, Jun 29, 2016 at 4:25 PM, Lars Helge Øverland 
>> wrote:
>>
>>> Hi Archana,
>>>
>>> we definitely plan to improve the docs and provide a consistent set of
>>> documentation / guides - we just hadn't had the time yet but its high on
>>> our list after 2.24.
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>> On Wed, Jun 29, 2016 at 12:44 PM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Thank you, Nicolay.
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> On Wed, Jun 29, 2016 at 2:43 PM, Nicolay Ramm 
>>>> wrote:
>>>>
>>>>> Hi Archana,
>>>>>
>>>>> unfortunately the documentation that currently exists for D2 is far
>>>>> from extensive. The limited documentation we have can be found here:
>>>>> http://d2.markionium.com
>>>>> This is generated from the source code, so you'll find the same
>>>>> documentation in the code itself.
>>>>>
>>>>> The following apps are written using D2, D2-UI, React and RxJS
>>>>> <https://github.com/Reactive-Extensions/RxJS/>:
>>>>>
>>>>>- Maintenance app <https://github.com/dhis2/maintenance-app>
>>>>>- Settings app <https://github.com/dhis2/settings-app>
>>>>>- App management app <https://github.com/dhis2/app-management-app>
>>>>>
>>>>> Hope this helps.
>>>>>
>>>>> Best regards,
>>>>>
>>>>>
>>>>> Nicolay Ramm
>>>>> Front end developer, DHIS 2
>>>>> University of Oslo
>>>>> https://www.dhis2.org
>>>>>
>>>>> On Wed, Jun 29, 2016 at 10:58 AM, Archana Chillala <
>>>>> archa...@thoughtworks.com> wrote:
>>>>>
>>>>>> Hi devs,
>>>>>>
>>>>>> We are looking at using *d2* library for our custom apps. Could you
>>>>>> please direct us to any extensive documentation available for the same.
>>>>>> Also, could you please share with us (repo links for) any apps built on
>>>>>> react, so we could understand how d2 has been used.
>>>>>> Thank you.
>>>>>>
>>>>>>
>>>>>> *Cheers,*
>>>>>>
>>>>>> Archana Chillala
>>>>>> Application Developer
>>>>>> Email archa...@thoughtworks.com
>>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>>> [image: ThoughtWorks]
>>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>>
>>>>>> _

Re: [Dhis2-devs] Documentation for d2 library

2016-06-30 Thread Archana Chillala
Hi Mark,

We want to retrieve data in a format specified as shown below.

http://localhost:8080/api/dataSets.json?fields=name,id,sections[name,dataElements[id,name,valueType]]

which renders this:


   - dataSets:
   [
  -
  {
 - name: "data set",
 - id: "m0rnaeivV6W",
 - sections:
 [
-
{
   - name: "Section1",
   - dataElements:
   [
  -
  {
 - name: "new data element",
 - id: "JyjMOr3En81",
 - valueType: "NUMBER"
 }
  ]
   }
]
 }
  ]


Is there any d2 alternative to replicate the same? Or do we have to first
get all dataElements and then after getting a dataSet filter from
dataElements?

Thank you.


*Cheers,*


Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Wed, Jun 29, 2016 at 7:20 PM, Mark Polak  wrote:

> Sorry silly me, forgot to include the link ;)
>
> https://github.com/dhis2/app-skeleton
>
> On Wed, Jun 29, 2016 at 3:28 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi Mark,
>>
>> Thank you. Could you share a link to the skeleton app you mentioned.
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Wed, Jun 29, 2016 at 5:43 PM, Mark Polak  wrote:
>>
>>> Hey Archana,
>>>
>>> If you're still starting to use the tools before that feel free to ask
>>> questions on the list or through github issues on the specific repositories
>>> and we'll try to help you as best as we can.
>>>
>>> In the mean time you could take a look at our skeleton app. It has a
>>> very basic setup of the libraries Nicolay mentioned and a few comments on
>>> what is happening ;)
>>>
>>> Regards,
>>>
>>> Mark
>>>
>>> On Wed, Jun 29, 2016 at 1:22 PM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Thanks a lot, Lars.
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> On Wed, Jun 29, 2016 at 4:25 PM, Lars Helge Øverland 
>>>> wrote:
>>>>
>>>>> Hi Archana,
>>>>>
>>>>> we definitely plan to improve the docs and provide a consistent set of
>>>>> documentation / guides - we just hadn't had the time yet but its high on
>>>>> our list after 2.24.
>>>>>
>>>>> regards,
>>>>>
>>>>> Lars
>>>>>
>>>>>
>>>>> On Wed, Jun 29, 2016 at 12:44 PM, Archana Chillala <
>>>>> archa...@thoughtworks.com> wrote:
>>>>>
>>>>>> Thank you, Nicolay.
>>>>>>
>>>>>> Archana Chillala
>>>>>> Application Developer
>>>>>> Email archa...@thoughtworks.com
>>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>>> [image: ThoughtWorks]
>>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>>
>>>>>> On Wed, Jun 29, 2016 at 2:43 PM, Nicolay Ramm 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Archana,
>>>>>>>
>>>>>>> unfortunately the documentation that currently exists for D2 is far
>>>>>>> from extensive. The limited documentation we have can be found here:
>>>>>>> http://d2.markionium.com
>>>>>>> This

Re: [Dhis2-devs] Documentation for d2 library

2016-06-30 Thread Archana Chillala
Also, could you please share some examples on how to use *filters.*



Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Thu, Jun 30, 2016 at 4:49 PM, Archana Chillala  wrote:

> Hi Mark,
>
> We want to retrieve data in a format specified as shown below.
>
>
> http://localhost:8080/api/dataSets.json?fields=name,id,sections[name,dataElements[id,name,valueType]]
>
> which renders this:
>
>
>- dataSets:
>[
>   -
>   {
>  - name: "data set",
>  - id: "m0rnaeivV6W",
>  - sections:
>  [
> -
> {
>- name: "Section1",
>- dataElements:
>[
>   -
>   {
>  - name: "new data element",
>  - id: "JyjMOr3En81",
>  - valueType: "NUMBER"
>  }
>   ]
>}
> ]
>  }
>   ]
>
>
> Is there any d2 alternative to replicate the same? Or do we have to first
> get all dataElements and then after getting a dataSet filter from
> dataElements?
>
> Thank you.
>
>
> *Cheers,*
>
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Wed, Jun 29, 2016 at 7:20 PM, Mark Polak  wrote:
>
>> Sorry silly me, forgot to include the link ;)
>>
>> https://github.com/dhis2/app-skeleton
>>
>> On Wed, Jun 29, 2016 at 3:28 PM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi Mark,
>>>
>>> Thank you. Could you share a link to the skeleton app you mentioned.
>>>
>>>
>>> *Cheers,*
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> On Wed, Jun 29, 2016 at 5:43 PM, Mark Polak  wrote:
>>>
>>>> Hey Archana,
>>>>
>>>> If you're still starting to use the tools before that feel free to ask
>>>> questions on the list or through github issues on the specific repositories
>>>> and we'll try to help you as best as we can.
>>>>
>>>> In the mean time you could take a look at our skeleton app. It has a
>>>> very basic setup of the libraries Nicolay mentioned and a few comments on
>>>> what is happening ;)
>>>>
>>>> Regards,
>>>>
>>>> Mark
>>>>
>>>> On Wed, Jun 29, 2016 at 1:22 PM, Archana Chillala <
>>>> archa...@thoughtworks.com> wrote:
>>>>
>>>>> Thanks a lot, Lars.
>>>>>
>>>>> Archana Chillala
>>>>> Application Developer
>>>>> Email archa...@thoughtworks.com
>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>> [image: ThoughtWorks]
>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>
>>>>> On Wed, Jun 29, 2016 at 4:25 PM, Lars Helge Øverland 
>>>>> wrote:
>>>>>
>>>>>> Hi Archana,
>>>>>>
>>>>>> we definitely plan to improve the docs and provide a consistent set
>>>>>> of documentation / guides - we just hadn't had the time yet but its high 
>>>>>> on
>>>>>> our list after 2.24.
>>>>>>
>>>>>> regards,
>>>>>>
>>>>>> Lars
>>>>>>
>>>>>>
>>>>>> On Wed, Jun 29, 2016 at 12:44 PM, Archana Chillala <
>>>>>> archa...@thoughtworks.com> wrote:
>>>>>>
>>>>>>> Thank you, Nic

Re: [Dhis2-devs] Documentation for d2 library

2016-06-30 Thread Archana Chillala
Hi,

We also came across,* d2-analysis* library (
https://github.com/dhis2/d2-analysis). Is there any documentation about it
and how to use it? Can it be used for all the analytics objects (e.g.
charts, pivot tables, event charts, event reports)

Regarding the d2 library, could you please let us know its roadmap and what
are the features that will be incorporated.

Thank you.


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Thu, Jun 30, 2016 at 5:58 PM, Archana Chillala  wrote:

> Also, could you please share some examples on how to use *filters.*
>
>
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Thu, Jun 30, 2016 at 4:49 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi Mark,
>>
>> We want to retrieve data in a format specified as shown below.
>>
>>
>> http://localhost:8080/api/dataSets.json?fields=name,id,sections[name,dataElements[id,name,valueType]]
>>
>> which renders this:
>>
>>
>>- dataSets:
>>[
>>   -
>>   {
>>  - name: "data set",
>>  - id: "m0rnaeivV6W",
>>  - sections:
>>  [
>> -
>> {
>>- name: "Section1",
>>- dataElements:
>>[
>>   -
>>   {
>>  - name: "new data element",
>>  - id: "JyjMOr3En81",
>>  - valueType: "NUMBER"
>>      }
>>   ]
>>}
>> ]
>>  }
>>   ]
>>
>>
>> Is there any d2 alternative to replicate the same? Or do we have to first
>> get all dataElements and then after getting a dataSet filter from
>> dataElements?
>>
>> Thank you.
>>
>>
>> *Cheers,*
>>
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Wed, Jun 29, 2016 at 7:20 PM, Mark Polak  wrote:
>>
>>> Sorry silly me, forgot to include the link ;)
>>>
>>> https://github.com/dhis2/app-skeleton
>>>
>>> On Wed, Jun 29, 2016 at 3:28 PM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Hi Mark,
>>>>
>>>> Thank you. Could you share a link to the skeleton app you mentioned.
>>>>
>>>>
>>>> *Cheers,*
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> On Wed, Jun 29, 2016 at 5:43 PM, Mark Polak  wrote:
>>>>
>>>>> Hey Archana,
>>>>>
>>>>> If you're still starting to use the tools before that feel free to ask
>>>>> questions on the list or through github issues on the specific 
>>>>> repositories
>>>>> and we'll try to help you as best as we can.
>>>>>
>>>>> In the mean time you could take a look at our skeleton app. It has a
>>>>> very basic setup of the libraries Nicolay mentioned and a few comments on
>>>>> what is happening ;)
>>>>>
>>>>> Regards,
>>>>>
>>>>> Mark
>>>>>
>>>>> On Wed, Jun 29, 2016 at 1:22 PM, Archana Chillala <
>>>>> archa...@thoughtworks.com> wrote:
>>>>>
>>>>>> Thanks a lot, Lars.
>>>>>>
>>>>>> Archana Chillala
>

Re: [Dhis2-devs] Documentation for d2 library

2016-07-04 Thread Archana Chillala
Hi,

Could you please provide any information on the above-mentioned queries.



*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Thu, Jun 30, 2016 at 6:47 PM, Archana Chillala  wrote:

> Hi,
>
> We also came across,* d2-analysis* library (
> https://github.com/dhis2/d2-analysis). Is there any documentation about
> it and how to use it? Can it be used for all the analytics objects (e.g.
> charts, pivot tables, event charts, event reports)
>
> Regarding the d2 library, could you please let us know its roadmap and
> what are the features that will be incorporated.
>
> Thank you.
>
>
> *Cheers,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Thu, Jun 30, 2016 at 5:58 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Also, could you please share some examples on how to use *filters.*
>>
>>
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Thu, Jun 30, 2016 at 4:49 PM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi Mark,
>>>
>>> We want to retrieve data in a format specified as shown below.
>>>
>>>
>>> http://localhost:8080/api/dataSets.json?fields=name,id,sections[name,dataElements[id,name,valueType]]
>>>
>>> which renders this:
>>>
>>>
>>>- dataSets:
>>>[
>>>   -
>>>   {
>>>  - name: "data set",
>>>  - id: "m0rnaeivV6W",
>>>  - sections:
>>>  [
>>> -
>>> {
>>>- name: "Section1",
>>>- dataElements:
>>>[
>>>   -
>>>   {
>>>  - name: "new data element",
>>>  - id: "JyjMOr3En81",
>>>  - valueType: "NUMBER"
>>>      }
>>>   ]
>>>}
>>> ]
>>>  }
>>>   ]
>>>
>>>
>>> Is there any d2 alternative to replicate the same? Or do we have to
>>> first get all dataElements and then after getting a dataSet filter from
>>> dataElements?
>>>
>>> Thank you.
>>>
>>>
>>> *Cheers,*
>>>
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> On Wed, Jun 29, 2016 at 7:20 PM, Mark Polak  wrote:
>>>
>>>> Sorry silly me, forgot to include the link ;)
>>>>
>>>> https://github.com/dhis2/app-skeleton
>>>>
>>>> On Wed, Jun 29, 2016 at 3:28 PM, Archana Chillala <
>>>> archa...@thoughtworks.com> wrote:
>>>>
>>>>> Hi Mark,
>>>>>
>>>>> Thank you. Could you share a link to the skeleton app you mentioned.
>>>>>
>>>>>
>>>>> *Cheers,*
>>>>>
>>>>> Archana Chillala
>>>>> Application Developer
>>>>> Email archa...@thoughtworks.com
>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>> [image: ThoughtWorks]
>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>
>>>>> On Wed, Jun 29, 2016 at 5:43 PM, Mark Polak  wrote:
>>>>>
>>>&g

Re: [Dhis2-devs] Documentation for d2 library

2016-07-04 Thread Archana Chillala
Hi Mark,

Sure. Thanks a lot. From the existing apps that are leveraging d2, we have
figured out how to use filters and also to retrieve multiple fields and
their inner objects as well.

But we have an issue. We have our custom apps written in angularJS and want
to use d2 library with it.
As mentioned in the documentation (http://d2.markionium.com), we tried the
following.

If you want to use d2 as just a global variable on the window object you
can include one of the following scripts in your page d2/lib/d2-browser.js
 or d2/lib/d2-browser.min.js

But, we are not able to access d2. Is there something we are missing?
Any help here is appreciated.


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Jul 4, 2016 at 2:19 PM, Mark Polak  wrote:

> Hey Archana,
>
> I'm working on after finishing a few things for the 2.24 release. Should
> get you an answer today with some examples. :)
>
> Regards,
>
> Mark
>
> On Mon, Jul 4, 2016 at 9:08 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi,
>>
>> Could you please provide any information on the above-mentioned queries.
>>
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Thu, Jun 30, 2016 at 6:47 PM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi,
>>>
>>> We also came across,* d2-analysis* library (
>>> https://github.com/dhis2/d2-analysis). Is there any documentation about
>>> it and how to use it? Can it be used for all the analytics objects (e.g.
>>> charts, pivot tables, event charts, event reports)
>>>
>>> Regarding the d2 library, could you please let us know its roadmap and
>>> what are the features that will be incorporated.
>>>
>>> Thank you.
>>>
>>>
>>> *Cheers,*
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> On Thu, Jun 30, 2016 at 5:58 PM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Also, could you please share some examples on how to use *filters.*
>>>>
>>>>
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> On Thu, Jun 30, 2016 at 4:49 PM, Archana Chillala <
>>>> archa...@thoughtworks.com> wrote:
>>>>
>>>>> Hi Mark,
>>>>>
>>>>> We want to retrieve data in a format specified as shown below.
>>>>>
>>>>>
>>>>> http://localhost:8080/api/dataSets.json?fields=name,id,sections[name,dataElements[id,name,valueType]]
>>>>>
>>>>> which renders this:
>>>>>
>>>>>
>>>>>- dataSets:
>>>>>[
>>>>>   -
>>>>>   {
>>>>>  - name: "data set",
>>>>>  - id: "m0rnaeivV6W",
>>>>>  - sections:
>>>>>  [
>>>>> -
>>>>> {
>>>>>- name: "Section1",
>>>>>- dataElements:
>>>>>[
>>>>>   -
>>>>>   {
>>>>>  - name: "new data element",
>>>>>  - id: "JyjMOr3En81",
>>>>>  - valueType: 

Re: [Dhis2-devs] Documentation for d2 library

2016-07-04 Thread Archana Chillala
Yes, we'll be using webpack.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Jul 4, 2016 at 5:14 PM, Mark Polak  wrote:

> That might be a bit outdated :)
>
> Are you using any tools like webpack or babel?
>
> On Mon, Jul 4, 2016 at 1:06 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi Mark,
>>
>> Sure. Thanks a lot. From the existing apps that are leveraging d2, we
>> have figured out how to use filters and also to retrieve multiple fields
>> and their inner objects as well.
>>
>> But we have an issue. We have our custom apps written in angularJS and
>> want to use d2 library with it.
>> As mentioned in the documentation (http://d2.markionium.com), we tried
>> the following.
>>
>> If you want to use d2 as just a global variable on the window object you
>> can include one of the following scripts in your page
>> d2/lib/d2-browser.js or d2/lib/d2-browser.min.js
>>
>> But, we are not able to access d2. Is there something we are missing?
>> Any help here is appreciated.
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Mon, Jul 4, 2016 at 2:19 PM, Mark Polak  wrote:
>>
>>> Hey Archana,
>>>
>>> I'm working on after finishing a few things for the 2.24 release. Should
>>> get you an answer today with some examples. :)
>>>
>>> Regards,
>>>
>>> Mark
>>>
>>> On Mon, Jul 4, 2016 at 9:08 AM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Could you please provide any information on the above-mentioned queries.
>>>>
>>>>
>>>>
>>>> *Cheers,*
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> On Thu, Jun 30, 2016 at 6:47 PM, Archana Chillala <
>>>> archa...@thoughtworks.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> We also came across,* d2-analysis* library (
>>>>> https://github.com/dhis2/d2-analysis). Is there any documentation
>>>>> about it and how to use it? Can it be used for all the analytics objects
>>>>> (e.g. charts, pivot tables, event charts, event reports)
>>>>>
>>>>> Regarding the d2 library, could you please let us know its roadmap and
>>>>> what are the features that will be incorporated.
>>>>>
>>>>> Thank you.
>>>>>
>>>>>
>>>>> *Cheers,*
>>>>>
>>>>> Archana Chillala
>>>>> Application Developer
>>>>> Email archa...@thoughtworks.com
>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>> [image: ThoughtWorks]
>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>
>>>>> On Thu, Jun 30, 2016 at 5:58 PM, Archana Chillala <
>>>>> archa...@thoughtworks.com> wrote:
>>>>>
>>>>>> Also, could you please share some examples on how to use *filters.*
>>>>>>
>>>>>>
>>>>>>
>>>>>> Archana Chillala
>>>>>> Application Developer
>>>>>> Email archa...@thoughtworks.com
>>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>>> [image: ThoughtWorks]
>>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>>
>>>>&

Re: [Dhis2-devs] Documentation for d2 library

2016-07-04 Thread Archana Chillala
Thank you for the detailed response. Could you elaborate on "Reworking the
translation support".

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Jul 4, 2016 at 5:53 PM, Mark Polak  wrote:

> To come back to your earlier questions, which you've said you've mostly
> found the answers too ;)
>
> *Loading multiple layers of objects example*
>
> https://github.com/Markionium/d2-examples/blob/master/src/deeperModels/index.js
>
> *Filtering:*
>
> https://github.com/Markionium/d2-examples/blob/master/src/filtering/index.js
>
> *Roadmap:*
> The roadmap for this stuff basically depends on what we need for the stuff
> we're currently working on.
> What is on the list currently that are major things:
> + fixing PATCH for updates when it is supported in the api.
> + Reworking the translation support
> + Reducing the footprint of the /api/schemas endpoint that gets loaded
> + Batch updates/saves
> + Getting rid of the jQuery dependency
>
> If you find yourself missing something though, you could always contribute
> or open an issue and we can judge if it is worth adding. :)
>
> Further long term, we would like to merge d2 and d2-analysis and implement
> offline support to a certain degree (to meet the tracker use cases) but
> both of these are likely not any time soon.
>
> I don't know much about the d2-analysis and what it supports (there is no
> documentation yet as far as i'm aware). It can be used with the all the
> things like charts and maps as thats what we use it for, to power GIS,
> pivot and friends. Those apps on github must have code that sort of
> explains how to use it ;)
>
> Good to know you're using webpack, that should make it easier ;) Stay tuned
>
> On Mon, Jul 4, 2016 at 2:19 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Yes, we'll be using webpack.
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Mon, Jul 4, 2016 at 5:14 PM, Mark Polak  wrote:
>>
>>> That might be a bit outdated :)
>>>
>>> Are you using any tools like webpack or babel?
>>>
>>> On Mon, Jul 4, 2016 at 1:06 PM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Hi Mark,
>>>>
>>>> Sure. Thanks a lot. From the existing apps that are leveraging d2, we
>>>> have figured out how to use filters and also to retrieve multiple fields
>>>> and their inner objects as well.
>>>>
>>>> But we have an issue. We have our custom apps written in angularJS and
>>>> want to use d2 library with it.
>>>> As mentioned in the documentation (http://d2.markionium.com), we tried
>>>> the following.
>>>>
>>>> If you want to use d2 as just a global variable on the window object
>>>> you can include one of the following scripts in your page
>>>> d2/lib/d2-browser.js or d2/lib/d2-browser.min.js
>>>>
>>>> But, we are not able to access d2. Is there something we are missing?
>>>> Any help here is appreciated.
>>>>
>>>>
>>>> *Cheers,*
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> On Mon, Jul 4, 2016 at 2:19 PM, Mark Polak  wrote:
>>>>
>>>>> Hey Archana,
>>>>>
>>>>> I'm working on after finishing a few things for the 2.24 release.
>>>>> Should get you an answer today with some examples. :)
>>>>>
>>>>> Regards,
>>>>>
>>>>> Mark
>>>>>
>>>>> On Mon, Jul 4, 2016 at 9:08 AM, Archana Chillala <
>>>>> archa...@thoughtworks.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>

Re: [Dhis2-devs] Documentation for d2 library

2016-07-05 Thread Archana Chillala
Hi Mark,

Thanks for your response. Really appreciate it. We would like to understand
d2 a little deeper. Could you please answer the following queries:


   - What is it that d2 offers?  What are the benefits over making plain
   API calls.


   - When d2 library is upgraded or if the API endpoints are changed, how
   does it affect the d2 models and the apps that use models. Say, we have
   custom apps, built using d2 version 24 and DHIS2 version 2.24, when we move
   to DHIS2 version 2.25, how compatible is d2 v24 with the new version of
   DHIS2? And what are the repercussions that come with it.


   - We see a lot of frequent releases on github. Since the model is
   dynamically built using DHIS schema, what is it that is being added to each
   release?


   - What is the release cycle of d2 library. If d2 version 25 is
released, would
   it be after DHIS2 release of version 25? How are d2 and DHIS2 releases
   associated? And how is the relevant d2 library affected.




   - Is it possible to load the models from some other sources (like
   Indexed DB)


   - How flexible is D2 library in handling huge data models? Currently,
   when we make a call, we get the complete model object. If there is a huge
   data model, then it might cause performance issues. Is there any way to
   “not” get the complete model?


   - Do you back-port bug fixes to previous versions of d2? If so, till how
   many versions backwards?




   - What is the bug cycle like? When issues are raised, how soon are the
   bugs going to be fixed??


   - If we go ahead with using d2 library, what is the stable version you
   might want to suggest?


*Thanks,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, Jul 5, 2016 at 12:57 PM, Mark Polak  wrote:

> To speak in favour of it, it is the "future" way of doing stuff, as it's
> basically follows the new standard way of javascript modules (Not webpack
> obviously, but the ES2016/ES2017 specs).
>
> Anyways, since 2.24 is out i should have some time to look into this.
> Might take a few days though, so until then you'll wait. Since we have not
> maintained that stand alone build for a while, i can not estimate how long
> it will take me to get it back into shape.
>
> On Tue, Jul 5, 2016 at 7:43 AM, Sultanahamar Mohammad <
> sult...@thoughtworks.com> wrote:
>
>> Hi Mark,
>>
>> Can we have d2 library without having to depend on webpack, babel and
>> stuff around. A plane js file upon including it, exposes its method on
>> window object may be with a namespace d2. That should make it very easy to
>> people who want to try d2. Right now, people should start understanding
>> webpack, exports and stuff around it.
>> I think dhis has put effort in doing
>> so with d2-browser.js but its not working as expected. If you can just fix
>> that, it should be very helpful for the community.
>>
>> Regards,
>> Sultan Ahamar.
>>
>> On Mon, Jul 4, 2016 at 6:41 PM, Mark Polak  wrote:
>>
>>> The idea is so simplify the workflow for translators, which means that
>>> we're changing the way the translations are implemented and will likely
>>> move from a `key` based system to a getText style of workflow.
>>>
>>> So translations as they currently work are working fine (you can see
>>> examples in the other apps too) But in the future we'll move away from
>>> parsing the client side .properties files (yes i know it's kind of weird
>>> ... :)). To be more concrete the idea is to have something more like
>>> `d2.i18n.getTranslation('This is my title')` which renders the english text
>>> if no translation is available or the language should be english instead of
>>> `d2.i18n.getTranslation('this_is_my_title')` where we need to map the key
>>> to English. (There is a long story behind which is not really important,
>>> but if you're interested it is explained in detail in a google doc [1])
>>>
>>> For your AngularJS implementation i created a simple example on how such
>>> a thing could be achieved. Obviously you would probably not inject d2 into
>>> the controller like i've done in the example and make it look somewhat
>>> cleaner with factories/services that provide the controllers with the data
>>> but the idea behind it should be clear ;)
>>>
>>> Hope this helps:
>>> https://github.com/Markionium/d2-angular-webpack
>&

Re: [Dhis2-devs] Documentation for d2 library

2016-07-07 Thread Archana Chillala
Hi Mark,

Thanks a lot for the detailed response. That was really helpful.


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Thu, Jul 7, 2016 at 6:26 PM, Mark Polak  wrote:

> Hey Archana,
>
> Please see the answers to your questions below.
>
>
>- What is it that d2 offers?  What are the benefits over making plain
>API calls.
>
>*Currently i would say the biggest benefit is readability of your
>source code and some small abstractions that we do in library over the api.
>It makes a few things easier, dealing with the currentUser, checking
>authorities etc. You can always do plain api calls if you think thats
>easier ;) We are constantly improving d2, therefore the more work we'll do
>the better the benefits get.*
>
>
>- When d2 library is upgraded or if the API endpoints are changed, how
>does it affect the d2 models and the apps that use models. Say, we have
>custom apps, built using d2 version 24 and DHIS2 version 2.24, when we move
>to DHIS2 version 2.25, how compatible is d2 v24 with the new version of
>DHIS2? And what are the repercussions that come with it.
>
>*What we're aiming for is to have d2 v24 always be compatible with
>/api/24. Therefore when upgrading to dhis 2.25 you have two choices. Update
>your d2 to v25 (which will be released at the same time as with dhis 2.25,
>but you can start using it before the release, as we're developing it
>incrementally. Your second option would be have your app still use v24
>against /api/24 which should still work in dhis 2.25 and likely 2.26.
>Somewhere by that time you'll have to have upgraded. (as i think the
>support schedule for old api versions is 2 versions.)*
>
>
>- We see a lot of frequent releases on github. Since the model is
>dynamically built using DHIS schema, what is it that is being added to each
>release?
>
>*Generally what is added is fixes to the current way of working,
>improvements and bug fixes. Other fixes for pieces of the api, generally
>for things that works a bit different than can be determined from the
>schema. (think, compulsoryDataElementOperands). And obviously new features,
>like supporting dataStore/userDataStore (which is expected shortly)*
>
>
>- What is the release cycle of d2 library. If d2 version 25 is
>released, would it be after DHIS2 release of version 25? How are d2
>and DHIS2 releases associated? And how is the relevant d2 library affected.
>
>*Like i mentioned above. d2 v25 will be compatible with dhis2 2.25.
>v24 with dhis 2.24. (or /api/24, in dhis2 2.25, 2.26) They will be
>available with/before, their matching dhis2 version.*
>
>
>
>
>- Is it possible to load the models from some other sources (like
>Indexed DB)
>
>*Not currently from within the library. (There might be in the future,
>when we're tying to make the visualisation and tracker/event apps
>integrated with d2 too) Do you have a use case for this, if so we can
>discuss how to support this.*
>
>
>- How flexible is D2 library in handling huge data models? Currently,
>when we make a call, we get the complete model object. If there is a huge
>data model, then it might cause performance issues. Is there any way to
>“not” get the complete model?
>
>*Field filtering is supported, which would only create models with
>those values, currently there is a limitation that when loading models only
>partially (using field filtering) calling save() on those models might
>result in the loss of values for the not loaded properties. (This should be
>solved when we can implement partial updates using PATCH for all
>properties, which i think is on the roadmap for 2.25)*
>
>
>- Do you back-port bug fixes to previous versions of d2? If so, till
>how many versions backwards?
>
>*Like Morten suggested, we'll likely support the last 3 versions. So
>yes we'll back-port bug fixes. *
>
>
>
>
>- What is the bug cycle like? When issues are raised, how soon are the
>bugs going to be fixed??
>
>*This depends on the severity of the bug :) We use d2 in our own
>applications for the core product, so you can expect it to be well
>supported.*
>
>
>- If we go ahead with using d2 library, what is the stable version you
>might want to suggest?
>
>*Like i mentioned 

Re: [Dhis2-devs] [Dhis2-users] create organisation units in version 2.23

2016-07-20 Thread Archana Chillala
Hi Sokhna,

We can store the coordinates of an organisation unit using the "longitude"
and "latitude" fields. See the screenshot below. You can try on the Demo
instance of DHIS -  https://play.dhis2.org/demo/


[image: Inline image 1]

Cheers,

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Jul 18, 2016 at 6:07 PM, papa alioune Sokhna 
wrote:

> Hello guys,
> When i want to create an organisation unit in dhis2, i don't see the field
> for store the coordinates of the organisation unit.
> Thanks for you help.
>
> --
> Papa Alioune SOKHNA
> *Informaticien *
> Spécialité: développement d'application web, mobile et logiciels surs
> Tel: +221 77 442 16 22
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] CODE field for Data Set Sections

2016-07-26 Thread Archana Chillala
Hi,

For Data Set sections, there is no '*CODE*' field as of now. Also, custom*
attributes* cannot be assigned to data set section. Is there any scope of
incorporating these in the future, as we need an additional field to store
some kind of code for data set sections.



*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Issues with custom attributes

2016-07-26 Thread Archana Chillala
Hi Lars,

Could you please provide any update on this issue? It would be really
helpful if it's fixed as soon as possible as we have a use-case depending
on this, and it's been blocking the work.


*Thanks,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Jun 24, 2016 at 4:08 PM, Lars Helge Øverland  wrote:

>
>
> On Fri, Jun 24, 2016 at 12:10 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Thank you, Lars.
>>
>> I am able to reproduce the issues on the dev instance as well. 'Yes Only'
>> (and most other value types are rendered as blank fields)
>>
>>
>> [image: Inline image 1]
>>
>> Also, based on the '*value type*' of the Attribute, some attributes show
>> up in the new Data Sets module (in maintenance app) while some others show
>> up in the older Data Sets app on DHIS.
>>
>>
>>
>
> Right, sorry I confused it with Yes/No. Issue reported here:
>
> https://github.com/dhis2/maintenance-app/issues/190
>
> regards,
>
> Lars
>
>
>
>> Cheers,
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Fri, Jun 24, 2016 at 2:58 PM, Lars Helge Øverland 
>> wrote:
>>
>>> Hi Archana,
>>>
>>> thanks for the feedback.
>>>
>>> Did you test against
>>>
>>> On Fri, Jun 24, 2016 at 10:01 AM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> We have created an attribute with a value type - "Yes Only" and
>>>> assigned it to data set. In the maintenance app, when we look at the data
>>>> set, instead of a 'check box', a blank text field is shown (when the value
>>>> type is 'Yes Only'). We tested with other value types, and looks like
>>>> except for option sets (which are rendered as a drop down list), all other
>>>> value types are shown as a text field.
>>>>
>>>> Here's the screenshot attached. "*Is this a report template?*" is our
>>>> attribute name of value type "Yes Only"- rendered as text field. "*test
>>>> attr"* is an attribute of type - option sets - rendered as drop down.
>>>>
>>>>
>>>>
>>>> Also, if the attribute has value type "Yes Only" and some new ones
>>>> added (like coordinate, file etc), when assigned to data set, we are able
>>>> to see them in the new Data Sets module of maintenance app, but not in the
>>>> older Data Sets app.
>>>>
>>>>
>>> This issue I cannot reproduce on /demo or /dev
>>> <https://play.dhis2.org/dev/dhis-web-maintenance/#>. Perhaps you tested
>>> on a bad revision. Could you please try to reproduce on dev?
>>>
>>>
>>>
>>>
>>>
>>>>
>>>> *Issue - attribute with option sets:*
>>>>
>>>> The Value type of option sets is not made mandatory. So, if we create
>>>> an option set without assigning a value type, and add that option set to an
>>>> attribute, we will not be able to create the attribute as the value type of
>>>> custom attribute is missing. (Basically, the value type of option set is
>>>> considered the value type of custom attribute. But when there is no value
>>>> type given, it takes "No Value" and attribute does not get created. Also,
>>>> looks like updating the value type of option set is not possible.
>>>>
>>>
>>>
>>> You are right - we need to make value type of option set not-null.
>>>
>>> Fixed now in trunk:
>>>
>>> https://github.com/dhis2/maintenance-app/issues/189
>>>
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Issues with custom attributes

2016-07-26 Thread Archana Chillala
Thanks for the update, Mark.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, Jul 26, 2016 at 6:16 PM, Mark Polak  wrote:

> Hey Archana,
>
> The Yes Only attributes should now correctly render as checkboxes for both
> 2.24 and trunk.
>
> The other issue mentioned is a bit larger of a change and i have no
> estimate on that yet.
>
> On Tue, Jul 26, 2016 at 11:35 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi Lars,
>>
>> Could you please provide any update on this issue? It would be really
>> helpful if it's fixed as soon as possible as we have a use-case depending
>> on this, and it's been blocking the work.
>>
>>
>> *Thanks,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Fri, Jun 24, 2016 at 4:08 PM, Lars Helge Øverland 
>> wrote:
>>
>>>
>>>
>>> On Fri, Jun 24, 2016 at 12:10 PM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Thank you, Lars.
>>>>
>>>> I am able to reproduce the issues on the dev instance as well. 'Yes
>>>> Only' (and most other value types are rendered as blank fields)
>>>>
>>>>
>>>> [image: Inline image 1]
>>>>
>>>> Also, based on the '*value type*' of the Attribute, some attributes
>>>> show up in the new Data Sets module (in maintenance app) while some others
>>>> show up in the older Data Sets app on DHIS.
>>>>
>>>>
>>>>
>>>
>>> Right, sorry I confused it with Yes/No. Issue reported here:
>>>
>>> https://github.com/dhis2/maintenance-app/issues/190
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>>
>>>> Cheers,
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> On Fri, Jun 24, 2016 at 2:58 PM, Lars Helge Øverland 
>>>> wrote:
>>>>
>>>>> Hi Archana,
>>>>>
>>>>> thanks for the feedback.
>>>>>
>>>>> Did you test against
>>>>>
>>>>> On Fri, Jun 24, 2016 at 10:01 AM, Archana Chillala <
>>>>> archa...@thoughtworks.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> We have created an attribute with a value type - "Yes Only" and
>>>>>> assigned it to data set. In the maintenance app, when we look at the data
>>>>>> set, instead of a 'check box', a blank text field is shown (when the 
>>>>>> value
>>>>>> type is 'Yes Only'). We tested with other value types, and looks like
>>>>>> except for option sets (which are rendered as a drop down list), all 
>>>>>> other
>>>>>> value types are shown as a text field.
>>>>>>
>>>>>> Here's the screenshot attached. "*Is this a report template?*" is
>>>>>> our attribute name of value type "Yes Only"- rendered as text field. 
>>>>>> "*test
>>>>>> attr"* is an attribute of type - option sets - rendered as drop down.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Also, if the attribute has value type "Yes Only" and some new ones
>>>>>> added (like coordinate, file etc), when assigned to data set, we are able
>>>>>> to see them in the new Data Sets module of maintenance app, but not in 
>>>>>> the
>>>>>> older Data Sets app.
>>>>>>
>>>>>>
>>>>> This issue I

[Dhis2-devs] Issue while importing Charts/Tables

2016-08-16 Thread Archana Chillala
Hi,

We are working on DHIS 2.24 branch (revision - 23565). We have created a
chart on one DHIS instance and imported it into another DHIS instance. All
the other metadata entities sync well, except for charts. The same happens
with Pivot Tables, Event reports and Event Charts and maps as well. The
importer throws an error and fails at importing these Analytics objects.

Here's the log trace for the exception -

* INFO  2016-08-16 18:04:12,673 Skipping unknown property 'date'.
(DefaultRenderService.java [taskScheduler-2])
* INFO  2016-08-16 18:04:12,674 (system-process) Import:Start
(DefaultMetadataImportService.java [taskScheduler-2])
* INFO  2016-08-16 18:04:12,693 (system-process) Import:Preheat[REFERENCE]
took 0.02 seconds (DefaultPreheatService.java [taskScheduler-2])
* INFO  2016-08-16 18:04:12,694 (system-process) Import:Validation took
0.00 seconds (DefaultObjectBundleValidationService.java [taskScheduler-2])
** INFO  2016-08-16 18:04:12,694 (system-process) Creating 1 object(s) of
type Chart (DefaultObjectBundleService.java [taskScheduler-2])*
** ERROR 2016-08-16 18:04:12,697 Exception occurred while trying to import
the metadata. object references an unsaved transient instance - save the
transient instance before flushing: org.hisp.dhis.dataelement.DataElement
(MetadataSyncImportHandler.java [taskScheduler-2])*
*org.hibernate.TransientObjectException: object references an unsaved
transient instance - save the transient instance before flushing:
org.hisp.dhis.dataelement.DataElement*
at org.hibernate.engine.internal.ForeignKeys.getEntityIdentifierIfNotUnsave
d(ForeignKeys.java:279)
at org.hibernate.type.EntityType.getIdentifier(EntityType.java:455)
at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:281)
at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:291)
at org.hibernate.type.TypeHelper.findDirty(TypeHelper.java:296)
at org.hibernate.persister.entity.AbstractEntityPersister.findDirty(
AbstractEntityPersister.java:4126)
at org.hibernate.event.internal.DefaultFlushEntityEventListener.dirtyCheck(
DefaultFlushEntityEventListener.java:528)
at org.hibernate.event.internal.DefaultFlushEntityEventListene
r.isUpdateNecessary(DefaultFlushEntityEventListener.java:215)
at org.hibernate.event.internal.DefaultFlushEntityEventListene
r.onFlushEntity(DefaultFlushEntityEventListener.java:142)
at org.hibernate.event.internal.AbstractFlushingEventListener.flushEntities(
AbstractFlushingEventListener.java:216)
at org.hibernate.event.internal.AbstractFlushingEventListener.
flushEverythingToExecutions(AbstractFlushingEventListener.java:85)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(
DefaultFlushEventListener.java:38)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1295)
at org.hisp.dhis.dxf2.metadata2.objectbundle.DefaultObjectBundleService.
commit(DefaultObjectBundleService.java:155)
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.aop.support.AopUtils.invokeJoinpointUsingReflection
(AopUtils.java:302)
at org.springframework.aop.framework.ReflectiveMethodInvocation.
invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:157)


This issue was reported earlier, but looks like it has not been fixed.
Could you please help fix this.



*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Restricting Data Set assignment through User Role doesn't work for a user with 'ALL' authority

2016-08-16 Thread Archana Chillala
Hi,

We are working on DHIS version 2.24 (revision - 23565). We are testing the
behaviour of restricting data Sets through User Roles. We have created a
user role with all the authorities, except 'ALL' authority. And did not
assign any data Sets to this user role. Then we assigned the role to a
user. So, when the user is logged in, and opens data entry app, and goes to
the right organisation unit where that particular data set is assigned to,
the user cannot find any data sets. This is the expected behaviour.
However, we modified the user role, by giving only the 'ALL' authority now
(no other authorities are given). And tested the same again. Now, the user
is able to see the data set in the data entry app, even if the data set is
not assigned to the user role. Is this expected of the user who has "ALL"
authority? Or a bug?

Any help here would be appreciated.


Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Browsers supported by DHIS

2016-08-19 Thread Archana Chillala
Hi Team,

We'd like to know, what are the standard set of browsers that are currently
supported by DHIS?

Thank you.


*Cheers,*
Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Issue with modifying Data Elements that have Option set - Value type gets nullified

2016-08-19 Thread Archana Chillala
Hi,

We are working on DHIS version 2.24 (revision 23565). We have created data
elements with option sets. When we try to modify them, and save, a message
pops, saying 'Value Type is undefined'. But we cannot edit the Value Type -
as the field is disabled. So, we unassign the option set for the data
element, then set a Value Type for it (it's enabled now as we unassigned
the option set), and then re-assign the option set back. Then the data
element gets saved. Looks like the Value Type property gets nullified after
saving the data Element each time. This happens even if we create the data
element initially with a value type and also, the option set assigned to it
also has the same value type.

However, data elements without option sets work fine, and get saved upon
any modification.

Is this a known issue? Could you please look into it and help fix it.


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Issue with modifying Data Elements that have Option set - Value type gets nullified

2016-08-19 Thread Archana Chillala
Thanks, Mark.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Aug 19, 2016 at 3:37 PM, Mark Polak  wrote:

> Hey Archana,
>
> Yes this is a known issue. https://github.com/
> dhis2/maintenance-app/issues/210
>
> We're trying to get this done as soon as possible, as you're not the only
> one who experiences the problem.
>
> On Fri, Aug 19, 2016 at 9:30 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi,
>>
>> We are working on DHIS version 2.24 (revision 23565). We have created
>> data elements with option sets. When we try to modify them, and save, a
>> message pops, saying 'Value Type is undefined'. But we cannot edit the
>> Value Type - as the field is disabled. So, we unassign the option set for
>> the data element, then set a Value Type for it (it's enabled now as we
>> unassigned the option set), and then re-assign the option set back. Then
>> the data element gets saved. Looks like the Value Type property gets
>> nullified after saving the data Element each time. This happens even if we
>> create the data element initially with a value type and also, the option
>> set assigned to it also has the same value type.
>>
>> However, data elements without option sets work fine, and get saved upon
>> any modification.
>>
>> Is this a known issue? Could you please look into it and help fix it.
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Regards,
>
>
> Mark Polak
> Software developer, DHIS 2
> University of Oslo
> http://www.dhis2.org <https://www.dhis2.org/>
> m...@dhis2.org
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Browsers supported by DHIS

2016-08-19 Thread Archana Chillala
Okay. Thanks for the information, Matthieu.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Aug 19, 2016 at 1:01 PM, Matthieu Pinard  wrote:

> Hi Archana,
>
> We recommend Chrome, but dhis2 runs on any standard compliant web browser
> such as Chrome, Firefox, Opera, Safari 4 or Internet Explorer 9+.
>
> You can find more info here: https://www.dhis2.org/technology
>
> Cheers,
> Matthieu
>
> Den fredag 19. august 2016 skrev Archana Chillala <
> archa...@thoughtworks.com> følgende:
>
>> Hi Team,
>>
>> We'd like to know, what are the standard set of browsers that are
>> currently supported by DHIS?
>>
>> Thank you.
>>
>>
>> *Cheers,*
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>
>
> --
> Matthieu Pinard
> DHIS 2 Academy online | University of Oslo
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Restricting Data Set assignment through User Role doesn't work for a user with 'ALL' authority

2016-08-19 Thread Archana Chillala
Okay. Thank you, Busoye.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Wed, Aug 17, 2016 at 1:49 PM, Busoye Anifalaje 
wrote:

> Hi Archana,
>
> This is expected behaviour with the ‘ALL’ authority. You would not be able
> to restrict access to most objects created for a user with All authority in
> their user role. This is what distinguishes the default Superuser role from
> the rest.
>
> The only instance I am aware of that the All authority is restricted by
> default is with Dashboard created as private.
>
> I think the idea is that the All authority allows a sys admin to
> troubleshoot most issues without having to request access from a user that
> might either not be able to provide the access required or does not know
> how to.
>
>
> Hope that helps.
>
> Regards,
>
> - -
>
>
> *Busoye Anifalaje (PhD)*
> Director of Services (Principal), BAO Systems
> UK: +44 7901-740-757 | US: +1 682-307-0986|
>  bus...@baosystems.com | http://www.baosystems.com |
> Skype: busoye | 2900 K Street, Suite 404, Washington D.C. 20007
>
> On 17 Aug 2016, at 07:31, Archana Chillala 
> wrote:
>
> Hi,
>
> We are working on DHIS version 2.24 (revision - 23565). We are testing the
> behaviour of restricting data Sets through User Roles. We have created a
> user role with all the authorities, except 'ALL' authority. And did not
> assign any data Sets to this user role. Then we assigned the role to a
> user. So, when the user is logged in, and opens data entry app, and goes to
> the right organisation unit where that particular data set is assigned to,
> the user cannot find any data sets. This is the expected behaviour.
> However, we modified the user role, by giving only the 'ALL' authority now
> (no other authorities are given). And tested the same again. Now, the user
> is able to see the data set in the data entry app, even if the data set is
> not assigned to the user role. Is this expected of the user who has "ALL"
> authority? Or a bug?
>
> Any help here would be appreciated.
>
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Issue - attributes with Option set

2016-09-04 Thread Archana Chillala
Hi,

We are using the latest revision of DHIS 2.24. We created an an attribute
and assigned an option set to it and saved it. When we modify the attribute
by changing its options set and save it, the option set does not get
modified (the option set first assigned only remains). However, when we
edit any other property like code etc, they get modified and saved
properly. Is this the known behaviour? Or is it a bug?


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Issue - attributes with Option set

2016-09-05 Thread Archana Chillala
Thank you, Morten.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Sep 5, 2016 at 11:07 AM, Morten Olav Hansen 
wrote:

> Hi Archana
>
> You are right, I have made a fix for master and 2.24 now.
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Sun, Sep 4, 2016 at 10:49 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi,
>>
>> We are using the latest revision of DHIS 2.24. We created an an attribute
>> and assigned an option set to it and saved it. When we modify the attribute
>> by changing its options set and save it, the option set does not get
>> modified (the option set first assigned only remains). However, when we
>> edit any other property like code etc, they get modified and saved
>> properly. Is this the known behaviour? Or is it a bug?
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Documentation for d2-ui library

2016-09-08 Thread Archana Chillala
Hi,

We are building a custom app on top of DHIS2, and would like to use some of
the components from d2-ui library. Could you please direct us to any
documentation on how to include these components into our app.

Thanks in advance.


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Documentation for d2-ui library

2016-09-08 Thread Archana Chillala
Okay. Thank you, Mark.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Thu, Sep 8, 2016 at 6:38 PM, Mark Polak  wrote:

> Hey Archana,
>
> This project has not officially been released and there is currently no
> documentation available. (There are however some examples that you could
> run in the example directory)
>
> There were plans to release some documentation for 2.25 but that has been
> postponed. When this will actually with the next release has not yet been
> decided. (so don't wait for it ;))
>
> Unfortunately your best bet would be to run the examples by cloning the
> repo and run `npm install` followed by `npm start`.
>
> On Thu, Sep 8, 2016 at 2:48 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi,
>>
>> We are building a custom app on top of DHIS2, and would like to use some
>> of the components from d2-ui library. Could you please direct us to any
>> documentation on how to include these components into our app.
>>
>> Thanks in advance.
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Regards,
>
>
> Mark Polak
> Software developer, DHIS 2
> University of Oslo
> http://www.dhis2.org <https://www.dhis2.org/>
> m...@dhis2.org
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] How to add Translations for Chart names and Report Table names

2016-09-09 Thread Archana Chillala
Hi Team,

We are using DHIS version 2.24. We are looking at translation of metadata
objects and saw that only properties like 'displayName',
'displayDescription', 'displayShortName' etc can be translated into
different locales if values exist for them. It works for most of the
entities like Data Elements, Data Sets, programs, indicators etc. But, we
were not able to add any translations for charts, report tables, event
charts and event reports as there was no interface for these objects to add
translations. However, we looked at their APIs and saw that charts, tables
etc have got the 'displayName' property and therefore can be translated. We
tried adding translation for chart's displayName using APIs - PUT method,
but it gave an error

{
  "httpStatus": "Internal Server Error",
  "httpStatusCode": 500,
  "status": "ERROR",
  "message": "object references an unsaved transient instance - save the
transient instance before flushing:
org.hisp.dhis.translation.ObjectTranslation"
}


Could you please let us know how we can add translations to Chart names,
table names etc.


Also, another issue is that Report Tables and Event Reports do not have a
table title (not the table name) -- like it exists for charts and event
charts (in Options --> Chart Title). Is there a plan in the future to add
'Title' for Report table and Event Reports app ?
As of now, since we can add title to Charts and Event Charts, could you
please tell us how we could translate them?


Thanks in advance.


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Extra tick box in tracker capture for every data element

2016-09-11 Thread Archana Chillala
Hi Abyot,

What does "Allow provided elsewhere" mean? What are it's implications?


*Cheers*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Aug 26, 2016 at 1:58 PM, Abyot Asalefew Gizaw 
wrote:

> Hi Elmarie,
>
> Go to your program stage configuration and make sure the data elements
> have "Allow provided elsewhere" property not selected.
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Aug 26, 2016 at 10:24 AM, Elmarie Claasen 
> wrote:
>
>> Hi all,
>>
>>
>>
>> I have set up a tracker program but there is an extra tick box next to
>> every data element in tracker capture. (see screenshot).
>>
>> Why are these there and how does one remove it?
>>
>>
>>
>> Regards,
>>
>>
>>
>> *Elmarie Claasen*
>>
>> [image: Hisp logo]
>>
>> Project Manager
>>
>> Health Information Systems Program
>>
>> Tel:  041-367 1027
>>
>> Cell: 082 374 2209
>>
>> E-mail: elma...@hisp.org
>>
>> Skype:  elmarie.claasen52
>>
>>
>>
>>
>>
>> This message and any attachments are subject to a disclaimer published at
>> http://www.hisp.org/policies.html#comms_disclaimer .   Please read the
>> disclaimer before opening any attachment or taking any other action in
>> terms of this electronic transmission.
>> If you cannot access the disclaimer, kindly send an email to 
>> disclai...@hisp.org
>> and a copy will be provided to you. By replying to this e-mail or opening
>> any attachment you agree to be bound by the provisions of the disclaimer.
>>
>>
>>
>> *This message and any attachments are subject to a disclaimer published
>> at http://www.hisp.org/policies.html#comms_disclaimer
>> <http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the
>> disclaimer before opening any attachment or taking any other action in
>> terms of this electronic transmission.  If you cannot access the
>> disclaimer, kindly send an email to disclai...@hisp.org
>>  and a copy will be provided to you. By replying to
>> this e-mail or opening any attachment you agree to be bound by the
>> provisions of the disclaimer.*
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] How to add Translations for Chart names and Report Table names

2016-09-19 Thread Archana Chillala
​Any update on this?​

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Sep 9, 2016 at 7:14 PM, Archana Chillala 
wrote:

> Hi Team,
>
> We are using DHIS version 2.24. We are looking at translation of metadata
> objects and saw that only properties like 'displayName',
> 'displayDescription', 'displayShortName' etc can be translated into
> different locales if values exist for them. It works for most of the
> entities like Data Elements, Data Sets, programs, indicators etc. But, we
> were not able to add any translations for charts, report tables, event
> charts and event reports as there was no interface for these objects to add
> translations. However, we looked at their APIs and saw that charts, tables
> etc have got the 'displayName' property and therefore can be translated. We
> tried adding translation for chart's displayName using APIs - PUT method,
> but it gave an error
>
> {
>   "httpStatus": "Internal Server Error",
>   "httpStatusCode": 500,
>   "status": "ERROR",
>   "message": "object references an unsaved transient instance - save the
> transient instance before flushing: org.hisp.dhis.translation.
> ObjectTranslation"
> }
>
>
> Could you please let us know how we can add translations to Chart names,
> table names etc.
>
>
> Also, another issue is that Report Tables and Event Reports do not have a
> table title (not the table name) -- like it exists for charts and event
> charts (in Options --> Chart Title). Is there a plan in the future to add
> 'Title' for Report table and Event Reports app ?
> As of now, since we can add title to Charts and Event Charts, could you
> please tell us how we could translate them?
>
>
> Thanks in advance.
>
>
> *Cheers,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Unable to upload any apps through 'App Management' module

2016-09-25 Thread Archana Chillala
Hi,

We are using DHIS2 version 2.24. We have a zipped file of our custom app.
But we are not able to install the app on DHIS using 'App Management'
module. It throws an error that says *"Failed to install app: the request
was rejected because no multipart boundary was found*" and keeps loading
forever. We have faced the same issue on trunk as well. Is this a known
issue?

Could you please help fix this.

Here's a screenshot of the issue:


[image: Inline image 2]



Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Issue] Unable to create Event Reports and Event Charts

2016-10-09 Thread Archana Chillala
Hi Team,

We are using DHIS version 2.24 (revision - 704143a6). We are unable to
create Event Charts and Event Reports on their respective apps (Event
Visualiser and Event Reports). After we set the chart/table configuration
and click on 'update', the chart/table does not load at all. Events have
got data and we've exported analytics as well. The same is happening on the
play server as well. Could you please look into the issue and help resolve
it?


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Issue] Unable to create Event Reports and Event Charts

2016-10-09 Thread Archana Chillala
Also, the logs don't show any errors at all.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Oct 10, 2016 at 11:41 AM, Archana Chillala <
archa...@thoughtworks.com> wrote:

> Hi Team,
>
> We are using DHIS version 2.24 (revision - 704143a6). We are unable to
> create Event Charts and Event Reports on their respective apps (Event
> Visualiser and Event Reports). After we set the chart/table configuration
> and click on 'update', the chart/table does not load at all. Events have
> got data and we've exported analytics as well. The same is happening on the
> play server as well. Could you please look into the issue and help resolve
> it?
>
>
> *Cheers,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Issue] Unable to create Event Reports and Event Charts

2016-10-10 Thread Archana Chillala
Figured it out. It's an issue with my machine. Sorry for the trouble.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Oct 10, 2016 at 11:56 AM, Archana Chillala <
archa...@thoughtworks.com> wrote:

> Also, the logs don't show any errors at all.
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Mon, Oct 10, 2016 at 11:41 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi Team,
>>
>> We are using DHIS version 2.24 (revision - 704143a6). We are unable to
>> create Event Charts and Event Reports on their respective apps (Event
>> Visualiser and Event Reports). After we set the chart/table configuration
>> and click on 'update', the chart/table does not load at all. Events have
>> got data and we've exported analytics as well. The same is happening on the
>> play server as well. Could you please look into the issue and help resolve
>> it?
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Program translations are not working in 2.24

2016-10-10 Thread Archana Chillala
Hi Team,

Program translations are working in 2.25, but not on 2.24. Could you please
backport the fix to 2.24 as well.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Thu, Sep 29, 2016 at 6:31 PM, Anilkumar Kodi 
wrote:

>
> Hi all,
>
> Any Update on this?
>
>
> On Tue, Sep 27, 2016 at 4:42 PM, Anilkumar Kodi  > wrote:
>
>> To add to the same, We could see the translations in 'translation' table,
>> but we're guessing it should be available in objecttranslation table and
>> there should have mapping in programtranslation or programstagetranslation
>> to get translations in UI.
>>
>> On Tue, Sep 27, 2016 at 4:31 PM, Anilkumar Kodi <
>> anilk...@thoughtworks.com> wrote:
>>
>>> Hi Devs,
>>>
>>> Translations for programs, program stages and Program Stage sections are
>>> not working in DHIS 2.24 version. Even if translations exist, they're not
>>> showing up on the UI. But, the same is working in trunk.  Could you help
>>> fix it in 2.24 as well.
>>>
>>>
>>> Thanks,
>>> Anil Kumar Kodi.
>>>
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Program translations are not working in 2.24

2016-10-10 Thread Archana Chillala
Thank you, Viet.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Oct 10, 2016 at 5:23 PM, Viet Nguyen  wrote:

> Hi Archana,
>
> Sorry for late reply.
>
> I have tested and confirm this is a bug for 2.24. Will apply the fix and
> update you shortly.
>
> Regards,
>
>
>
> On Mon, Oct 10, 2016 at 4:26 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi Team,
>>
>> Program translations are working in 2.25, but not on 2.24. Could you
>> please backport the fix to 2.24 as well.
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Thu, Sep 29, 2016 at 6:31 PM, Anilkumar Kodi <
>> anilk...@thoughtworks.com> wrote:
>>
>>>
>>> Hi all,
>>>
>>> Any Update on this?
>>>
>>>
>>> On Tue, Sep 27, 2016 at 4:42 PM, Anilkumar Kodi <
>>> anilk...@thoughtworks.com> wrote:
>>>
>>>> To add to the same, We could see the translations in 'translation'
>>>> table, but we're guessing it should be available in objecttranslation table
>>>> and there should have mapping in programtranslation or
>>>> programstagetranslation to get translations in UI.
>>>>
>>>> On Tue, Sep 27, 2016 at 4:31 PM, Anilkumar Kodi <
>>>> anilk...@thoughtworks.com> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> Translations for programs, program stages and Program Stage sections
>>>>> are not working in DHIS 2.24 version. Even if translations exist, they're
>>>>> not showing up on the UI. But, the same is working in trunk.  Could you
>>>>> help fix it in 2.24 as well.
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Anil Kumar Kodi.
>>>>>
>>>>
>>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
>
> Viet Nguyen
> Software Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS2 Roadmap for time periods

2016-10-10 Thread Archana Chillala
Hi,

We are using DHIS2 and understand that currently data collected weekly
(always Mon-Sun period shown) is aggregated into months based on whichever
month the Monday of the week is in. We heard that, on the roadmap, is to
change this to whichever month >=4 days of the week are in - that is how we
currently aggregated our weekly data. Is it correct that there is nothing
else related to week -> month aggregation on the roadmap? We are wondering
specifically about aggregating weekly data into calendar months using
proportional allocation of the weekly data *(*that is, if 2 days in the
week are in Feb and 5 in March, 2/7 of the totals are allocated to Feb
(likely rounded to whole numbers) and 5/7 allocated to March*)*?


Could you please let us know if on the roadmap, is proportional allocation
of weeks to months, will create calendar months? or months of 4 or 5 weeks?



*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS2 Roadmap for time periods

2016-10-19 Thread Archana Chillala
Hi team,

Any information on this would be highly appreciated.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Oct 10, 2016 at 6:04 PM, Archana Chillala  wrote:

> Hi,
>
> We are using DHIS2 and understand that currently data collected weekly
> (always Mon-Sun period shown) is aggregated into months based on whichever
> month the Monday of the week is in. We heard that, on the roadmap, is to
> change this to whichever month >=4 days of the week are in - that is how we
> currently aggregated our weekly data. Is it correct that there is nothing
> else related to week -> month aggregation on the roadmap? We are wondering
> specifically about aggregating weekly data into calendar months using
> proportional allocation of the weekly data *(*that is, if 2 days in the
> week are in Feb and 5 in March, 2/7 of the totals are allocated to Feb
> (likely rounded to whole numbers) and 5/7 allocated to March*)*?
>
>
> Could you please let us know if on the roadmap, is proportional allocation
> of weeks to months, will create calendar months? or months of 4 or 5 weeks?
>
>
>
> *Cheers,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] CODE field for Data Set Sections

2016-10-19 Thread Archana Chillala
Hi Lars,

Looks like the new version 2.25 still does not have the CODE field exposed
in the UI of Data Set Sections (as raised on issue #204). Any update on
this?


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, Jul 26, 2016 at 2:54 PM, Lars Helge Øverland  wrote:

> Hi Archana,
>
> yes we can add both code and metadata attributes. (The code field for
> section is actually there in the model so you can use it through the API as
> of now).
>
> I have written issues here:
>
> https://github.com/dhis2/maintenance-app/issues/204
>
> https://blueprints.launchpad.net/dhis2/+spec/metadata-attributes-section
>
>
> Feel free to take these on ;)
>
> regards,
>
> Lars
>
>
>
> On Tue, Jul 26, 2016 at 11:00 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi,
>>
>> For Data Set sections, there is no '*CODE*' field as of now. Also, custom*
>> attributes* cannot be assigned to data set section. Is there any scope
>> of incorporating these in the future, as we need an additional field to
>> store some kind of code for data set sections.
>>
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [DHIS] Updating Program Version

2016-10-19 Thread Archana Chillala
Hi Abyot,

Could you please provide any update on this? Program version gets
incremented by when update button is clicked, even if there are no actual
changes made to the program. Tested this on Play Server as well - 2.25.
It's still the same. Could you please help fix it.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, May 20, 2016 at 4:44 PM, Vanya Seth  wrote:

> Hi Abyot
>
> This bug still exists in the latest 2.23 version. Can you please have a
> look at this?
>
> Regards
> Vanya
>
> On Mon, Mar 28, 2016 at 5:53 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Thanks, Abyot.
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Mon, Mar 28, 2016 at 4:48 PM, Abyot Asalefew Gizaw 
>> wrote:
>>
>>> Hi,
>>>
>>> When to increase a version is really tricky - there are lots of
>>> scenarios / changes that trigger or do not trigger version increment.
>>>
>>> For now, we will fix for a program version not to increment when there
>>> is no change at all.
>>>
>>> --
>>> Abyot A. Gizaw.
>>> Senior Engineer, DHIS2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Mon, Mar 28, 2016 at 12:48 PM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Could you please provide any update on this? Program version gets
>>>> incremented by when update button is clicked, even if there are no actual
>>>> changes made to the program. Currently using DHIS version 2.23.
>>>>
>>>> Thank you.
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> On Wed, Mar 16, 2016 at 3:55 PM, Abyot Asalefew Gizaw 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I don't know how this is implemented. Yes, it doesn't make sense to
>>>>> bump the version while there is no change in the program.
>>>>>
>>>>> Otherwise, we need the program version. Even't capture updates its
>>>>> cache of programs based on version.
>>>>>
>>>>>
>>>>>
>>>>> ---
>>>>> Thank you,
>>>>> Abyot.
>>>>>
>>>>> On Wed, Mar 16, 2016 at 10:41 AM, Morten Olav Hansen >>>> > wrote:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> When it comes to the web-api, we do not update the program version
>>>>>> for every update. I'm not sure exactly why its being done like that in 
>>>>>> the
>>>>>> program module.. but I see this comment:
>>>>>> program.increaseVersion(); //TODO make more fine-grained
>>>>>>
>>>>>> So probably they wanted to do something more with it.. Maybe Abyot
>>>>>> can shed some light on it? is this version flag in use today? I can see 
>>>>>> it
>>>>>> being used for doing offline metadata, but then again.. its not very 
>>>>>> useful
>>>>>> if the version gets updated regardless of any actual changes..
>>>>>>
>>>>>> On Wed, Mar 16, 2016 at 3:53 PM, Archana Chillala <
>>>>>> archa...@thoughtworks.com> wrote:
>>>>>>
>>>>>>> Hi Morten,
>>>>>>>
>>>>>>> I am using DHIS version 2.23. In the Program/attributes module, when
>>>>>>> we create a program, one of the properties of the program - *Version
>>>>>>> -* is automatically assigned a value 1. When we update the program,
>>>>>>> the Version value gets incremented by 1 each time. But, even if we do 
>>>>>>> not
>>>>>>> make any changes to the program and just click update button, the 
>>>>>>> program
>>>>>>> version still gets incremented by 1.
>>>>>>>
>>>>>>> Is this the expected functionality? Could you please explain.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *Thanks*
>>>>>>>
>>>>>>> Archana Chillala
>>>>>>> Application Developer
>>>>>>> Email archa...@thoughtworks.com
>>>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>>>> [image: ThoughtWorks]
>>>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Morten
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
>
> --
> With Regards
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] CODE field for Data Set Sections

2016-10-24 Thread Archana Chillala
Thanks, Nicolay!

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Oct 21, 2016 at 7:26 PM, Nicolay Ramm  wrote:

> Hi Archana,
>
> I've fixed this now for 2.25 and 2.24.
>
>
> Best regards,
>
>
> Nicolay Ramm
> Front end developer, DHIS 2
> University of Oslo
> https://www.dhis2.org
>
> On Thu, Oct 20, 2016 at 7:26 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi Lars,
>>
>> Looks like the new version 2.25 still does not have the CODE field
>> exposed in the UI of Data Set Sections (as raised on issue #204). Any
>> update on this?
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Tue, Jul 26, 2016 at 2:54 PM, Lars Helge Øverland 
>> wrote:
>>
>>> Hi Archana,
>>>
>>> yes we can add both code and metadata attributes. (The code field for
>>> section is actually there in the model so you can use it through the API as
>>> of now).
>>>
>>> I have written issues here:
>>>
>>> https://github.com/dhis2/maintenance-app/issues/204
>>>
>>> https://blueprints.launchpad.net/dhis2/+spec/metadata-attributes-section
>>>
>>>
>>> Feel free to take these on ;)
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>>
>>> On Tue, Jul 26, 2016 at 11:00 AM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> For Data Set sections, there is no '*CODE*' field as of now. Also,
>>>> custom* attributes* cannot be assigned to data set section. Is there
>>>> any scope of incorporating these in the future, as we need an additional
>>>> field to store some kind of code for data set sections.
>>>>
>>>>
>>>>
>>>> *Cheers,*
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Lars Helge Øverland
>>> Lead developer, DHIS 2
>>> University of Oslo
>>> Skype: larshelgeoverland
>>> l...@dhis2.org
>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Visualisation of Data Element of Value Type - Organisation Unit

2016-10-24 Thread Archana Chillala
Hi,

We are now using the latest 2.25 DHIS version. The new feature "*Data
Element of value type organisation unit*" proves to be extremely useful to
us. We have a use-case where we want to record the geo-locations (villages)
of each individual patient at the Heath Centre they attend. And this
feature seems a right approach for us, to be used for this purpose where
these locations will be part of the master organisation unit hierarchy and
can be selected from the list shown for the data element.

We have configured a tracker type data element of value type 'org unit',
assigned to a Program and stored some data. However, when we tried to
visualise this data collected for that data element, through Event Reports
and Event Visualiser app, it gives an error saying "No series items
selected". Also, since the value of the data element is a string (which is
the UID of the org. unit), we are not clear as to how we could visualise
this data element. Ideally, what we need is a COUNT of the number of times
a geo-location (some org. unit) selected.

We also tried to use program indicators to form an expression that can give
the desired result. But, that data element doesn't even come up in the box,
where we choose data elements and form expressions. Only number type data
elements show up here.

Is there any other way we could use aggregation and visualisation for this
new data element type?
Could you also please let us know the road map for the visualisation
capabilities of this new data element.

Any help here would be appreciated.



*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Visualisation of Data Element of Value Type - Organisation Unit

2016-10-25 Thread Archana Chillala
​Hi,

Thank you for the responses, Abyot, Jan and Jason. Could you please let us
know​ an approximate timeline around which visualisation will be supported
for this data element type.

*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, Oct 25, 2016 at 4:18 PM, Jan Henrik Øverland  wrote:

> Agree with Abyot that the half baked solution is not a good one.
>
> Will consider a backport for the analysis apps as soon as this is
> supported.
>
> Jan
>
> On 25 October 2016 at 12:16, Abyot Asalefew Gizaw  wrote:
>
>> Hi,
>>
>> Value types ORGANISATION_UNIT and COORDINATE are new additions. Handling
>> the data entry part is the first step, the next step is the analysis part
>> which is coming.
>>
>> Probably a mistake to have a half baked solutions. However, there are
>> users who export data and do visualizations using separate systems.
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Tue, Oct 25, 2016 at 7:45 AM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi,
>>>
>>> We are now using the latest 2.25 DHIS version. The new feature "*Data
>>> Element of value type organisation unit*" proves to be extremely useful
>>> to us. We have a use-case where we want to record the geo-locations
>>> (villages) of each individual patient at the Heath Centre they attend. And
>>> this feature seems a right approach for us, to be used for this purpose
>>> where these locations will be part of the master organisation unit
>>> hierarchy and can be selected from the list shown for the data element.
>>>
>>> We have configured a tracker type data element of value type 'org unit',
>>> assigned to a Program and stored some data. However, when we tried to
>>> visualise this data collected for that data element, through Event Reports
>>> and Event Visualiser app, it gives an error saying "No series items
>>> selected". Also, since the value of the data element is a string (which is
>>> the UID of the org. unit), we are not clear as to how we could visualise
>>> this data element. Ideally, what we need is a COUNT of the number of times
>>> a geo-location (some org. unit) selected.
>>>
>>> We also tried to use program indicators to form an expression that can
>>> give the desired result. But, that data element doesn't even come up in the
>>> box, where we choose data elements and form expressions. Only number type
>>> data elements show up here.
>>>
>>> Is there any other way we could use aggregation and visualisation for
>>> this new data element type?
>>> Could you also please let us know the road map for the visualisation
>>> capabilities of this new data element.
>>>
>>> Any help here would be appreciated.
>>>
>>>
>>>
>>> *Cheers,*
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jan Henrik Øverland
> Software developer, DHIS 2
> University of Oslo
> http://www.dhis2.org <https://www.dhis2.org/>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Event report tables added to dashboards are displayed 'blank' when period is selected as Start-End dates (2.25)

2016-10-26 Thread Archana Chillala
Agree. We are facing the same issue as well. Event reports are being
rendered as blank dashboard items, regardless of what configuration they
have for periods. When we click on 'explore' for that dashboard item, it
takes us merely to Event Reports App, but does not render the saved report.

Could you please help fix the issue.


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Oct 24, 2016 at 9:36 PM, Alejandro  wrote:

> Hi!
>
>
> We have noticed (tested in https://play.dhis2.org) that any event report
> table that is defined with a period type *'Start/end dates'* instead of*
> 'Fixed and relative periods' *is displayed 'blank' when added to a
> dashboard (see image below).
>
>
> [image: Inline image 1]
>
> The error generated is:
>
>
> {"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"Start
>  date or end date is invalid: 2016-07-24T00:00:00.000 - 
> 2016-10-24T00:00:00.000"}
>
>
> It seems to be related to date format, since removing the bold text in the 
> original query (see below), it works!
>
> https://play.dhis2.org/demo/api/analytics/events/query/eBAyeGv0exc.json?stage=Zj7UnCAulEk&dimension=ou:O6uvpzGd5pu&dimension=eMyVanycQSC&dimension=qrur9Dvnyt5-Yf6UHoPkdS6&dimension=tUdBD1JDxpn&dimension=sGna2pquXOO&dimension=Kswd1r4qWLh&dimension=gWxh7DiRmG7&dimension=x7PaHGvgWY2&dimension=XCMi7Wvnplm&dimension=hlPt8H4bUOQ&dimension=Thkx2BnO5Kq&dimension=Y7hKDSuqEtH&dimension=K6uUAvq500H&dimension=msodh3rEMJa&dimension=oZg33kd9taw&dimension=GieVkTxp4HH-TBxGTceyzwy&dimension=HS8QXAJtuKV&dimension=fWIAEtYVEGk&dimension=SWfdB5lX0fk&dimension=vV9UWAZohSf-OrkEzxZEH4X&startDate=2016-07-24*T00:00:00.000*&endDate=2016-10-24*T00:00:00.000*&pageSize=50&page=1&displayProperty=NAME
>
>
> Cheers!
>
> Alejandro
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug] Event Capture - rendering of Text type data element

2016-10-26 Thread Archana Chillala
Thank you, Abyot.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Wed, Oct 26, 2016 at 5:25 PM, Abyot Asalefew Gizaw 
wrote:

> Hi,
>
> Thank you for reporting this. This is fixed - just give sometime for our
> build server to update before retesting.
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Wed, Oct 26, 2016 at 1:32 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi,
>>
>> We are using the latest build of DHIS version 2.25. In Event Capture app,
>> when filling data for one event of a program, we observed that the *data
>> element of value type text* is rendered as two text fields - one below
>> the other. The text entered in one field repeats in the other
>> simultaneously.
>>
>> Please see the screenshot attached. In the image, *TrackDE3_text *is the data
>> element of value type "*Text*" that depicts the issue.
>>
>> Could you please help fix the bug.
>>
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [DHIS] Updating Program Version

2016-10-26 Thread Archana Chillala
Okay. Thanks for the information, Abyot. Could you please let us know the
timelines around it?

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Wed, Oct 26, 2016 at 12:30 PM, Abyot Gizaw  wrote:

> Hi,
>
> The program module is getting migrated to maintainance, better to fix it
> there.
>
> ---
>
> Thank you,
> Abyot.
> (sent from mobile)
>
> On Mar 16, 2016 09:53, "Archana Chillala" 
> wrote:
>
>> Hi Morten,
>>
>> I am using DHIS version 2.23. In the Program/attributes module, when we
>> create a program, one of the properties of the program - *Version -* is
>> automatically assigned a value 1. When we update the program, the Version
>> value gets incremented by 1 each time. But, even if we do not make any
>> changes to the program and just click update button, the program version
>> still gets incremented by 1.
>>
>> Is this the expected functionality? Could you please explain.
>>
>>
>>
>> *Thanks*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Event report tables added to dashboards are displayed 'blank' when period is selected as Start-End dates (2.25)

2016-11-03 Thread Archana Chillala
Thank you, Lars. It works!

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Wed, Nov 2, 2016 at 6:08 PM, Lars Helge Øverland  wrote:

> Hi there,
>
> this should be fixed now in the latest 2.25 build. Please try again and
> let us know.
>
> best regards,
>
> Lars
>
> On Mon, Oct 31, 2016 at 11:22 AM, Alejandro  wrote:
>
>> Hi!
>>
>> Mmm. In our case, 2.25, it is just related to that type of period (*Start/end
>> dates'*), Other Event Reports tables are well rendered in dashboards and
>> correctly opened in Event Report module (see below)...
>>
>> [image: Inline image 1]
>>
>> Regards!
>> Alejandro
>>
>> On Wed, Oct 26, 2016 at 10:55 AM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Agree. We are facing the same issue as well. Event reports are being
>>> rendered as blank dashboard items, regardless of what configuration they
>>> have for periods. When we click on 'explore' for that dashboard item, it
>>> takes us merely to Event Reports App, but does not render the saved report.
>>>
>>> Could you please help fix the issue.
>>>
>>>
>>> *Cheers,*
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> On Mon, Oct 24, 2016 at 9:36 PM, Alejandro  wrote:
>>>
>>>> Hi!
>>>>
>>>>
>>>> We have noticed (tested in https://play.dhis2.org) that any event
>>>> report table that is defined with a period type *'Start/end dates'*
>>>> instead of* 'Fixed and relative periods' *is displayed 'blank' when
>>>> added to a dashboard (see image below).
>>>>
>>>>
>>>> [image: Inline image 1]
>>>>
>>>> The error generated is:
>>>>
>>>>
>>>> {"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"Start
>>>>  date or end date is invalid: 2016-07-24T00:00:00.000 - 
>>>> 2016-10-24T00:00:00.000"}
>>>>
>>>>
>>>> It seems to be related to date format, since removing the bold text in the 
>>>> original query (see below), it works!
>>>>
>>>> https://play.dhis2.org/demo/api/analytics/events/query/eBAyeGv0exc.json?stage=Zj7UnCAulEk&dimension=ou:O6uvpzGd5pu&dimension=eMyVanycQSC&dimension=qrur9Dvnyt5-Yf6UHoPkdS6&dimension=tUdBD1JDxpn&dimension=sGna2pquXOO&dimension=Kswd1r4qWLh&dimension=gWxh7DiRmG7&dimension=x7PaHGvgWY2&dimension=XCMi7Wvnplm&dimension=hlPt8H4bUOQ&dimension=Thkx2BnO5Kq&dimension=Y7hKDSuqEtH&dimension=K6uUAvq500H&dimension=msodh3rEMJa&dimension=oZg33kd9taw&dimension=GieVkTxp4HH-TBxGTceyzwy&dimension=HS8QXAJtuKV&dimension=fWIAEtYVEGk&dimension=SWfdB5lX0fk&dimension=vV9UWAZohSf-OrkEzxZEH4X&startDate=2016-07-24*T00:00:00.000
>>>>  <00.000>*&endDate=2016-10-24*T00:00:00.000 
>>>> <00.000>*&pageSize=50&page=1&displayProperty=NAME
>>>>
>>>>
>>>> Cheers!
>>>>
>>>> Alejandro
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2016-11-04 Thread Archana Chillala
onQueue.java:560)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:434)
at
org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)
at
org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1295)
at
org.hisp.dhis.dxf2.metadata.objectbundle.DefaultObjectBundleService.commit(DefaultObjectBundleService.java:160)
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:498)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy186.commit(Unknown Source)


Could you please help fix the issues.


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2016-11-04 Thread Archana Chillala
 org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1295)
at
org.hisp.dhis.dxf2.metadata.objectbundle.DefaultObjectBundleService.commit(DefaultObjectBundleService.java:160)
at sun.reflect.GeneratedMethodAccessor865.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy186.commit(Unknown Source)
at
org.hisp.dhis.dxf2.metadata.DefaultMetadataImportService.importMetadata(DefaultMetadataImportService.java:116)
at sun.reflect.GeneratedMethodAccessor860.invoke(Unknown Source)


Could you please help fix these issues. They particularly have been
persisting since 2.24 onwards.


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[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 metadata objects that are
translatable.

*2)* *Sharing settings* are not getting synced unless some change is made
to the object’s properties.
If we have sharing settings configured for a metadata object, while
creating the object or modifying some property of that object, they get
synced properly. But, if a change is made only to the sharing settings of
that object (and nothing else), and try to sync, they do not get synced.
This issue has been raised with 2.22 as well. Looks like it still exists.


Could you please look into these issues and help fix them.


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[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 location, uid: c9wq3KMvvuy (AuditLogUtil.java
[http-bio-8080-exec-2])
* WARN  2016-11-03 11:43:07,131 SQL Error: 0, SQLState: 23502
(SqlExceptionHelper.java [http-bio-8080-exec-2])
* *ERROR 2016-11-03 11:43:07,133 ERROR: null value in column "uid" violates
not-null constraint*
*  Detail: Failing row contains (369, null, null, null, null, boundary,
null, f, f, f, null, null, null, null, null, null, null, null, null, null,
5, null, 1, null, null, f, f, 11px, null, normal, null, f, null, 0, null,
null, null). (SqlExceptionHelper.java [http-bio-8080-exec-2])*
* ERROR 2016-11-03 11:43:07,134 HHH000346: Error during managed flush
[could not execute statement] (SessionImpl.java [http-bio-8080-exec-2])
org.springframework.dao.DataIntegrityViolationException: could not execute
statement; SQL [n/a]; constraint [uid]; nested exception is
org.hibernate.exception.ConstraintViolationException: could not execute
statement
at
org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:164)
at
org.springframework.orm.hibernate5.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:741)
at
org.springframework.orm.hibernate5.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:589)
at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:761)
at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:730)
at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:485)
at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:291)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy130.addMap(Unknown Source)
at
org.hisp.dhis.webapi.controller.mapping.MapController.postJsonObject(MapController.java:129)
at sun.reflect.GeneratedMethodAccessor1850.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
at
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
at
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:817)
at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:731)
at
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)


Could you help fix the issue?


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[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 doesn't
work in 2.25.

See the screenshot attached.



*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[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 earlier
versions, though.

Could you please look into the issue and help fix it.


Cheers,

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2016-11-06 Thread Archana Chillala
Okay. Thanks for the information, Lars.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Nov 4, 2016 at 7:36 PM, Lars Helge Øverland  wrote:

>
> 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.
>
> regards,
>
> Lars
>
>
> On Fri, Nov 4, 2016 at 2:51 PM, Lars Helge Øverland 
> wrote:
>
>> 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 <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi,
>>>
>>> We are using DHIS 2.25. We have created a legend set and created 5
>>> legends automatically by specifying the start and end values as 20 and 120
>>> respectively. And then saved it. But when we open it again, we see that the
>>> start and end values show 0 and 100 respectively. They are always reset to
>>> 0 and 100. Is this a bug?
>>>
>>> Please see the screenshot attached with the mail.
>>>
>>>
>>>
>>> *Cheers,*
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2016-11-08 Thread Archana Chillala
Hi Morten,

Yes, tried with the latest version again. Charts and Report Tables are now
being imported.  Thanks!


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Nov 7, 2016 at 1:11 PM, Morten Olav Hansen  wrote:

> Hi
>
> I think most of these issues should have been resolved now, please try it
> again...
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Mon, Nov 7, 2016 at 8:09 AM, Morten Olav Hansen 
> wrote:
>
>> Hi Archana
>>
>> I'm sorry I've been trying to reproduce this for a while now, but I have
>> not been able to. Are you importing these into a fresh database? or does it
>> already contain some metadata?
>>
>> Are you able to share the database/payload where this is happening?
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Fri, Nov 4, 2016 at 6:13 PM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> 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 below.
>>>
>>>
>>> *Failing to Import Charts*
>>>
>>> * INFO  2016-11-03 12:15:46,836 (admin) Creating 1 object(s) of type
>>> Chart (DefaultObjectBundleService.java [http-bio-8080-exec-9])
>>> * *ERROR 2016-11-03 12:15:46,858 Exception occurred while trying to
>>> import the metadata. object references an unsaved transient instance - save
>>> the transient instance before flushing:
>>> org.hisp.dhis.dataelement.DataElement (MetadataSyncImportHandler.java
>>> [http-bio-8080-exec-9])*
>>> *org.hibernate.TransientObjectException: object references an unsaved
>>> transient instance - save the transient instance before flushing:
>>> org.hisp.dhis.dataelement.DataElement*
>>> at org.hibernate.engine.internal.ForeignKeys.getEntityIdentifie
>>> rIfNotUnsaved(ForeignKeys.java:279)
>>> at org.hibernate.type.EntityType.getIdentifier(EntityType.java:455)
>>> at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:281)
>>> at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:291)
>>> at org.hibernate.type.TypeHelper.findDirty(TypeHelper.java:296)
>>> at org.hibernate.persister.entity.AbstractEntityPersister.findD
>>> irty(AbstractEntityPersister.java:4126)
>>> at org.hibernate.event.internal.DefaultFlushEntityEventListener
>>> .dirtyCheck(DefaultFlushEntityEventListener.java:528)
>>> at org.hibernate.event.internal.DefaultFlushEntityEventListener
>>> .isUpdateNecessary(DefaultFlushEntityEventListener.java:215)
>>> at org.hibernate.event.internal.DefaultFlushEntityEventListener
>>> .onFlushEntity(DefaultFlushEntityEventListener.java:142)
>>> at org.hibernate.event.internal.AbstractFlushingEventListener.f
>>> lushEntities(AbstractFlushingEventListener.java:216)
>>> at org.hibernate.event.internal.AbstractFlushingEventListener.f
>>> lushEverythingToExecutions(AbstractFlushingEventListener.java:85)
>>> at org.hibernate.event.internal.DefaultFlushEventListener.onFlu
>>> sh(DefaultFlushEventListener.java:38)
>>> at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1295)
>>> at org.hisp.dhis.dxf2.metadata.objectbundle.DefaultObjectBundle
>>> Service.commit(DefaultObjectBundleService.java:160)
>>> at sun.reflect.GeneratedMethodAccessor865.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>>> thodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>> at org.springframework.aop.support.AopUtils.invokeJoinpointUsin
>>> gReflection(AopUtils.java:302)
>>> at org.springframework.aop.framework.ReflectiveMethodInvocation
>>> .invokeJoinpoint(ReflectiveMethodInvocation.java:190)
>>> at org.springframework.aop.framework.ReflectiveMethodInvocation
>>> .proceed(ReflectiveMethodInvocation.java:157)
>>> at org.springframework.transaction.interceptor.TransactionInter
>>&g

Re: [Dhis2-devs] [Bug] Event Capture - rendering of Text type data element

2016-11-08 Thread Archana Chillala
Hi Abyot,

We have tested it again, and looks like the issue still exists. We are
using DHIS version 2.25, build - 66c1fc0. Could you please look into the
issue.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Thu, Oct 27, 2016 at 10:26 AM, Archana Chillala <
archa...@thoughtworks.com> wrote:

> Thank you, Abyot.
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Wed, Oct 26, 2016 at 5:25 PM, Abyot Asalefew Gizaw 
> wrote:
>
>> Hi,
>>
>> Thank you for reporting this. This is fixed - just give sometime for our
>> build server to update before retesting.
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Wed, Oct 26, 2016 at 1:32 PM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi,
>>>
>>> We are using the latest build of DHIS version 2.25. In Event Capture
>>> app, when filling data for one event of a program, we observed that the 
>>> *data
>>> element of value type text* is rendered as two text fields - one below
>>> the other. The text entered in one field repeats in the other
>>> simultaneously.
>>>
>>> Please see the screenshot attached. In the image, *TrackDE3_text *is the
>>>  data element of value type "*Text*" that depicts the issue.
>>>
>>> Could you please help fix the bug.
>>>
>>>
>>>
>>> *Cheers,*
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2016-11-08 Thread Archana Chillala
Thank you, Lars. It works now!

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Nov 4, 2016 at 6:26 PM, Lars Helge Øverland  wrote:

> 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 <
> archa...@thoughtworks.com> wrote:
>
>> Hi,
>>
>> We are using the latest version of DHIS 2.25 (build - 5e16867).  We have
>> created a *Standard Report* from the Reports module on one DHIS instance
>> (HQ) and synced to another DHIS instance (Local). All the properties
>> that are set for the Standard Report have synced successfully. Next, for
>> the same report, we tried to modify the relative period selection and
>> added a few more. Then synced again. Now, on the Local instance, the UI of
>> Standard Reports does not reflect the same selection that has been made at
>> HQ...i.e modification is not synced properly for relative periods property.
>>
>> However, the payload that is imported into the Local instance for the
>> Standard Report, has exactly the same updates that have been made at HQ.
>> Only, the UI at Local does not show the same. No errors are generated in
>> logs, though.
>>
>> Please find the payload and screenshot attached.
>>
>> The screenshot is the standard report at Local instance after modifying
>> and syncing. It shows only three relative periods selected. But, at HQ, we
>> have selected 5 of them. However, in the payload that is downloaded at
>> Local instance, the same 5 relative periods have the value set to '*true*
>> '.
>>
>>
>> Could you please look into the issue.
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2016-11-08 Thread Archana Chillala
Thank you, Morten. Works now!

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Nov 7, 2016 at 7:07 AM, Morten Olav Hansen  wrote:

> This should be fixed in 2.25/master now.
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Nov 4, 2016 at 11:45 PM, Jim Grace  wrote:
>
>> 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 can create an approval level with a category option group
>> set, and then patch the approval level's categoryoptiongroupsetid field in
>> the database to NULL. (Then clear the HIbernate cache or restart Tomcat.)
>>
>> Also note that the workflow field is missing from edit/create dataset in
>> 2.25. This has been reported at https://bugs.launchpad.net/
>> dhis2/+bug/1638553. Again, as a workaround you could patch the
>> workflowid into the dataset record and then clear the HIbernate cache or
>> restart Tomcat.
>>
>> Cheers,
>> Jim
>>
>>
>> On Fri, Nov 4, 2016 at 8:47 AM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi,
>>>
>>> We're using DHIS 2.25. In settings app, we have approvals. When we try
>>> to create an Approval Level and try to save, he application throws a
>>> snack-bar message saying "*Failed to save approval level*". Approval
>>> levels used to get saved in earlier DHIS versions. Could you please look
>>> into it.
>>>
>>> Please find the screenshot attached.
>>>
>>>
>>>
>>> *Cheers,*
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Jim Grace
>> Core developer, DHIS 2
>> HISP US Inc.
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2016-11-08 Thread Archana Chillala
Hi Lars,

We have tested it again, and looks like the issue still exists. We are
using DHIS version 2.25, build - 66c1fc0. Could you please look into the
issue.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Nov 4, 2016 at 10:22 PM, Lars Helge Øverland  wrote:

> 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 <
> archa...@thoughtworks.com> wrote:
>
>> 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
>> earlier versions, though.
>>
>> Could you please look into the issue and help fix it.
>>
>>
>> Cheers,
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2016-11-08 Thread Archana Chillala
Hi Morten,

You're right, it works fine on the play server, but not on our machines.
Not sure of the reason, though.




Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Nov 7, 2016 at 7:04 AM, Morten Olav Hansen  wrote:

> Hi Archana
>
> Seems to work fine on the play/demo server, but maybe you have a certain
> config that doesn't work.
>
> Can you try and reproduce on [1] and give us the steps back?
>
> [1] https://play.dhis2.org/demo (admin/district)
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Nov 4, 2016 at 7:18 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> 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 location, uid: c9wq3KMvvuy (AuditLogUtil.java
>> [http-bio-8080-exec-2])
>> * WARN  2016-11-03 11:43:07,131 SQL Error: 0, SQLState: 23502
>> (SqlExceptionHelper.java [http-bio-8080-exec-2])
>> * *ERROR 2016-11-03 11:43:07,133 ERROR: null value in column "uid"
>> violates not-null constraint*
>> *  Detail: Failing row contains (369, null, null, null, null, boundary,
>> null, f, f, f, null, null, null, null, null, null, null, null, null, null,
>> 5, null, 1, null, null, f, f, 11px, null, normal, null, f, null, 0, null,
>> null, null). (SqlExceptionHelper.java [http-bio-8080-exec-2])*
>> * ERROR 2016-11-03 11:43:07,134 HHH000346: Error during managed flush
>> [could not execute statement] (SessionImpl.java [http-bio-8080-exec-2])
>> org.springframework.dao.DataIntegrityViolationException: could not
>> execute statement; SQL [n/a]; constraint [uid]; nested exception is
>> org.hibernate.exception.ConstraintViolationException: could not execute
>> statement
>> at org.springframework.orm.hibernate5.SessionFactoryUtils.conve
>> rtHibernateAccessException(SessionFactoryUtils.java:164)
>> at org.springframework.orm.hibernate5.HibernateTransactionManag
>> er.convertHibernateAccessException(HibernateTransactionManager.java:741)
>> at org.springframework.orm.hibernate5.HibernateTransactionManag
>> er.doCommit(HibernateTransactionManager.java:589)
>> at org.springframework.transaction.support.AbstractPlatformTran
>> sactionManager.processCommit(AbstractPlatformTransactionManager.java:761)
>> at org.springframework.transaction.support.AbstractPlatformTran
>> sactionManager.commit(AbstractPlatformTransactionManager.java:730)
>> at org.springframework.transaction.interceptor.TransactionAspec
>> tSupport.commitTransactionAfterReturning(TransactionAspectSu
>> pport.java:485)
>> at org.springframework.transaction.interceptor.TransactionAspec
>> tSupport.invokeWithinTransaction(TransactionAspectSupport.java:291)
>> at org.springframework.transaction.interceptor.TransactionInter
>> ceptor.invoke(TransactionInterceptor.java:96)
>> at org.springframework.aop.framework.ReflectiveMethodInvocation
>> .proceed(ReflectiveMethodInvocation.java:179)
>> at org.springframework.aop.interceptor.ExposeInvocationIntercep
>> tor.invoke(ExposeInvocationInterceptor.java:92)
>> at org.springframework.aop.framework.ReflectiveMethodInvocation
>> .proceed(ReflectiveMethodInvocation.java:179)
>> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
>> JdkDynamicAopProxy.java:208)
>> at com.sun.proxy.$Proxy130.addMap(Unknown Source)
>> at org.hisp.dhis.webapi.controller.mapping.MapController.postJs
>> onObject(MapController.java:129)
>> at sun.reflect.GeneratedMethodAccessor1850.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>> thodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at org.springframework.web.method.support.InvocableHandlerMetho
>> d.doInvoke(InvocableHandlerMethod.java:221)
>> at org.springframework.web.method.support.InvocableHandlerMetho
>> d.invokeForRequest(InvocableHandlerMethod.java:136)
>> at org.springframework.web.servlet.mvc.method.annotation.Servle
>> tInvocableHandlerMethod.invokeAndHandle(ServletInvocableHand
>> lerMethod.java:110)
>> at org.springframework.web.servlet.mvc.met

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

2016-11-08 Thread Archana Chillala
Hi Lars,

Yes, it works fine on the play server. But somehow, not on ours. We're
using DHIS version 2.25 build - 66c1fc0. Please have a look at the logs
attached herewith.



Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Nov 4, 2016 at 7:18 PM, Lars Helge Øverland  wrote:

> 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 <
> archa...@thoughtworks.com> wrote:
>
>> 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 doesn't work in 2.25.
>>
>> See the screenshot attached.
>>
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>


resource_type_file_logs.json
Description: application/json
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2016-11-08 Thread Archana Chillala
Okay. Got it. Will check that.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, Nov 8, 2016 at 5:41 PM, Jason Pickering  wrote:

> No, I am talking about the system user on the operating system.
>
> So, if you DHIS2 server is running as the user "dhis", then this user
> needs access to be able to write to that directory mentioned in your file.
>
> This has nothing to do with users in DHIS2, but is potentially an
> operating system issue with the permissions of the directory which the
> server needs to write to.
>
> Regards,
> Jason
>
>
> On Tue, Nov 8, 2016 at 1:09 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi Jason,
>>
>> The user has been given all the authorities that include the following:
>> Add/Update Private Document
>> Add/update Public Document
>> Delete Document
>>
>> Even though, the issue exists.
>>
>>
>>
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Tue, Nov 8, 2016 at 4:58 PM, Jason Pickering <
>> jason.p.picker...@gmail.com> wrote:
>>
>>> Are you certain that the user which is running the DHIS2 server has
>>> access to write to
>>>
>>> /home/dhis/documents/ ?
>>>
>>> Regards,
>>> Jason
>>>
>>>
>>> On Tue, Nov 8, 2016 at 12:18 PM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Hi Lars,
>>>>
>>>> Yes, it works fine on the play server. But somehow, not on ours. We're
>>>> using DHIS version 2.25 build - 66c1fc0. Please have a look at the
>>>> logs attached herewith.
>>>>
>>>>
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> On Fri, Nov 4, 2016 at 7:18 PM, Lars Helge Øverland 
>>>> wrote:
>>>>
>>>>> 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 <
>>>>> archa...@thoughtworks.com> wrote:
>>>>>
>>>>>> 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 doesn't work in 2.25.
>>>>>>
>>>>>> See the screenshot attached.
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Cheers,*
>>>>>>
>>>>>> Archana Chillala
>>>>>> Application Developer
>>>>>> Email archa...@thoughtworks.com
>>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>>> [image: ThoughtWorks]
>>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>>
>>>>>> ___
>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>> Post to : dhis2-devs@lists.launchpad.net
>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Lars Helge Øverland
>>>>> Lead developer, DHIS 2
>>>>> University of Oslo
>>>>> Skype: larshelgeoverland
>>>>> l...@dhis2.org
>>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>>
>>>>>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Jason P. Pickering
>>> email: jason.p.picker...@gmail.com
>>> tel:+46764147049
>>>
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Unsupported Value Type Percentage

2016-11-08 Thread Archana Chillala
Hi,

We have configured a tracker data element of value type percentage and
assigned it to a program. But when we try to enter some value, it throws an
error saying "*Unsupported value type: Percentage*". Is this the expected
behaviour?  What is the ideal way to use this value type?

P.S. Using DHIS version 2.25

Please see screenshot attached.



*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2016-11-08 Thread Archana Chillala
Hi Jason,

The user has been given all the authorities that include the following:
Add/Update Private Document
Add/update Public Document
Delete Document

Even though, the issue exists.




Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, Nov 8, 2016 at 4:58 PM, Jason Pickering  wrote:

> Are you certain that the user which is running the DHIS2 server has access
> to write to
>
> /home/dhis/documents/ ?
>
> Regards,
> Jason
>
>
> On Tue, Nov 8, 2016 at 12:18 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi Lars,
>>
>> Yes, it works fine on the play server. But somehow, not on ours. We're
>> using DHIS version 2.25 build - 66c1fc0. Please have a look at the logs
>> attached herewith.
>>
>>
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Fri, Nov 4, 2016 at 7:18 PM, Lars Helge Øverland 
>> wrote:
>>
>>> 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 <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> 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 doesn't work in 2.25.
>>>>
>>>> See the screenshot attached.
>>>>
>>>>
>>>>
>>>> *Cheers,*
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Lars Helge Øverland
>>> Lead developer, DHIS 2
>>> University of Oslo
>>> Skype: larshelgeoverland
>>> l...@dhis2.org
>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug] Event Capture - rendering of Text type data element

2016-11-08 Thread Archana Chillala
Thanks, Abyot. Works now.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, Nov 8, 2016 at 5:08 PM, Abyot Asalefew Gizaw 
wrote:

> Hi,
>
> It should be fine now.
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Tue, Nov 8, 2016 at 12:00 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi Abyot,
>>
>> We have tested it again, and looks like the issue still exists. We are
>> using DHIS version 2.25, build - 66c1fc0. Could you please look into the
>> issue.
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Thu, Oct 27, 2016 at 10:26 AM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Thank you, Abyot.
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> On Wed, Oct 26, 2016 at 5:25 PM, Abyot Asalefew Gizaw 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Thank you for reporting this. This is fixed - just give sometime for
>>>> our build server to update before retesting.
>>>>
>>>> --
>>>> Abyot A. Gizaw.
>>>> Senior Engineer, DHIS2
>>>> University of Oslo
>>>> http://www.dhis2.org
>>>>
>>>> On Wed, Oct 26, 2016 at 1:32 PM, Archana Chillala <
>>>> archa...@thoughtworks.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> We are using the latest build of DHIS version 2.25. In Event Capture
>>>>> app, when filling data for one event of a program, we observed that the 
>>>>> *data
>>>>> element of value type text* is rendered as two text fields - one
>>>>> below the other. The text entered in one field repeats in the other
>>>>> simultaneously.
>>>>>
>>>>> Please see the screenshot attached. In the image, *TrackDE3_text *is
>>>>> the data element of value type "*Text*" that depicts the issue.
>>>>>
>>>>> Could you please help fix the bug.
>>>>>
>>>>>
>>>>>
>>>>> *Cheers,*
>>>>>
>>>>> Archana Chillala
>>>>> Application Developer
>>>>> Email archa...@thoughtworks.com
>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>> [image: ThoughtWorks]
>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to : dhis2-devs@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2016-11-09 Thread Archana Chillala
Oh, the fix works. Thanks Lars, it was caching issue.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, Nov 8, 2016 at 4:38 PM, Archana Chillala 
wrote:

> Hi Lars,
>
> We have tested it again, and looks like the issue still exists. We are
> using DHIS version 2.25, build - 66c1fc0. Could you please look into the
> issue.
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Fri, Nov 4, 2016 at 10:22 PM, Lars Helge Øverland 
> wrote:
>
>> 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 <
>> archa...@thoughtworks.com> wrote:
>>
>>> 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
>>> earlier versions, though.
>>>
>>> Could you please look into the issue and help fix it.
>>>
>>>
>>> Cheers,
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2016-11-09 Thread Archana Chillala
Hi Morten,

Thanks for the fix. We're now able to import *Program Stage *of a Tracker
program after modifying it.

But, the issue still exists while importing a modified *Tracker program.*

Please find the log trace attached herewith.


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Wed, Nov 9, 2016 at 10:14 AM, Morten Olav Hansen 
wrote:

> This should be fixed in latest 225/master (2.24 was not affected)
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Wed, Nov 9, 2016 at 10:14 AM, Morten Olav Hansen 
> wrote:
>
>> Hi Archana
>>
>> I'm looking into this now.
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Fri, Nov 4, 2016 at 4:07 PM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> 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 16:36:27,877 (admin) Creating 1 object(s) of type
>>> ProgramTrackedEntityAttribute (DefaultObjectBundleService.java
>>> [http-bio-8080-exec-7])
>>> * *WARN  2016-11-02 16:36:27,902 SQL Error: 0, SQLState: 23505
>>> (SqlExceptionHelper.java [http-bio-8080-exec-7])*
>>> ** ERROR 2016-11-02 16:36:27,903 ERROR: duplicate key value violates
>>> unique constraint "programtrackedentityattribute_unique_key"*
>>> *  Detail: Key (programid, trackedentityattributeid)=(80, 74) already
>>> exists. (SqlExceptionHelper.java [http-bio-8080-exec-7])*
>>> ** ERROR 2016-11-02 16:36:27,916 Exception occurred while trying to
>>> import the metadata. could not execute statement
>>> (MetadataSyncImportHandler.java [http-bio-8080-exec-7])*
>>> *org.hibernate.exception.ConstraintViolationException: could not execute
>>> statement*
>>> at org.hibernate.exception.internal.SQLStateConversionDelegate.
>>> convert(SQLStateConversionDelegate.java:112)
>>> at org.hibernate.exception.internal.StandardSQLExceptionConvert
>>> er.convert(StandardSQLExceptionConverter.java:42)
>>> at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(Sql
>>> ExceptionHelper.java:111)
>>> at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(Sql
>>> ExceptionHelper.java:97)
>>> at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.execu
>>> teUpdate(ResultSetReturnImpl.java:207)
>>> at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.ad
>>> dToBatch(NonBatchingBatch.java:45)
>>> at org.hibernate.persister.entity.AbstractEntityPersister.inser
>>> t(AbstractEntityPersister.java:2921)
>>> at org.hibernate.persister.entity.AbstractEntityPersister.inser
>>> t(AbstractEntityPersister.java:3421)
>>> at org.hibernate.action.internal.EntityInsertAction.execute(Ent
>>> ityInsertAction.java:89)
>>> at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQu
>>> eue.java:560)
>>> at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQu
>>> eue.java:434)
>>> at org.hibernate.event.internal.AbstractFlushingEventListener.p
>>> erformExecutions(AbstractFlushingEventListener.java:337)
>>> at org.hibernate.event.internal.DefaultFlushEventListener.onFlu
>>> sh(DefaultFlushEventListener.java:39)
>>> at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1295)
>>> at org.hisp.dhis.dxf2.metadata.objectbundle.DefaultObjectBundle
>>> Service.commit(DefaultObjectBundleService.java:160)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key
>>> value violates unique constraint "programtrackedentityattribute
>>> _unique_key"
>>>   Detail: Key (programid, trackedentityattributeid)=(80, 74) already
>>> exists.
>>> at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorRespons
>>> e(QueryExecutorImpl.java:2284)
>>> at org.postgresql.core.v3.QueryExecutorImpl.processResults(Quer
>>> y

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

2016-11-10 Thread Archana Chillala
Hi Jason,

It works. Thanks. It's to do with permissions.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, Nov 8, 2016 at 5:44 PM, Archana Chillala 
wrote:

> Okay. Got it. Will check that.
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Tue, Nov 8, 2016 at 5:41 PM, Jason Pickering <
> jason.p.picker...@gmail.com> wrote:
>
>> No, I am talking about the system user on the operating system.
>>
>> So, if you DHIS2 server is running as the user "dhis", then this user
>> needs access to be able to write to that directory mentioned in your file.
>>
>> This has nothing to do with users in DHIS2, but is potentially an
>> operating system issue with the permissions of the directory which the
>> server needs to write to.
>>
>> Regards,
>> Jason
>>
>>
>> On Tue, Nov 8, 2016 at 1:09 PM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi Jason,
>>>
>>> The user has been given all the authorities that include the following:
>>> Add/Update Private Document
>>> Add/update Public Document
>>> Delete Document
>>>
>>> Even though, the issue exists.
>>>
>>>
>>>
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> On Tue, Nov 8, 2016 at 4:58 PM, Jason Pickering <
>>> jason.p.picker...@gmail.com> wrote:
>>>
>>>> Are you certain that the user which is running the DHIS2 server has
>>>> access to write to
>>>>
>>>> /home/dhis/documents/ ?
>>>>
>>>> Regards,
>>>> Jason
>>>>
>>>>
>>>> On Tue, Nov 8, 2016 at 12:18 PM, Archana Chillala <
>>>> archa...@thoughtworks.com> wrote:
>>>>
>>>>> Hi Lars,
>>>>>
>>>>> Yes, it works fine on the play server. But somehow, not on ours. We're
>>>>> using DHIS version 2.25 build - 66c1fc0. Please have a look at the
>>>>> logs attached herewith.
>>>>>
>>>>>
>>>>>
>>>>> Archana Chillala
>>>>> Application Developer
>>>>> Email archa...@thoughtworks.com
>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>> [image: ThoughtWorks]
>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>
>>>>> On Fri, Nov 4, 2016 at 7:18 PM, Lars Helge Øverland 
>>>>> wrote:
>>>>>
>>>>>> 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 <
>>>>>> archa...@thoughtworks.com> wrote:
>>>>>>
>>>>>>> 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 doesn't work in 2.25.
>>>&

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

2016-11-10 Thread Archana Chillala
Hi Morten,

Here are the steps to reproduce:
1) Create a program "with registration".
2) Create a program Stage within it.
3) Export and Import this metadata into another instance.
4) Import is successful
5) Now, modify some property of the Program in the first instance (e.g:
name, description etc)
6) Export and Import (i.e Sync metadata)
7) Import Fails with the error mentioned in the logs attached in previous
mail.

P.S. We're using DHIS version 2.25 build 1ce40ae.



*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Thu, Nov 10, 2016 at 11:47 AM, Morten Olav Hansen 
wrote:

> Hi Archana
>
> I'm not able to reproduce this issue. Could you provide a bit more info?
> steps to reproduce.
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Thu, Nov 10, 2016 at 12:52 PM, Morten Olav Hansen 
> wrote:
>
>> Hi Archana
>>
>> Ok, looking into it now..
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Thu, Nov 10, 2016 at 12:39 PM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi Morten,
>>>
>>> Thanks for the fix. We're now able to import *Program Stage *of a
>>> Tracker program after modifying it.
>>>
>>> But, the issue still exists while importing a modified *Tracker
>>> program.*
>>>
>>> Please find the log trace attached herewith.
>>>
>>>
>>> *Cheers,*
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> On Wed, Nov 9, 2016 at 10:14 AM, Morten Olav Hansen 
>>> wrote:
>>>
>>>> This should be fixed in latest 225/master (2.24 was not affected)
>>>>
>>>> --
>>>> Morten Olav Hansen
>>>> Senior Engineer, DHIS 2
>>>> University of Oslo
>>>> http://www.dhis2.org
>>>>
>>>> On Wed, Nov 9, 2016 at 10:14 AM, Morten Olav Hansen 
>>>> wrote:
>>>>
>>>>> Hi Archana
>>>>>
>>>>> I'm looking into this now.
>>>>>
>>>>> --
>>>>> Morten Olav Hansen
>>>>> Senior Engineer, DHIS 2
>>>>> University of Oslo
>>>>> http://www.dhis2.org
>>>>>
>>>>> On Fri, Nov 4, 2016 at 4:07 PM, Archana Chillala <
>>>>> archa...@thoughtworks.com> wrote:
>>>>>
>>>>>> 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 16:36:27,877 (admin) Creating 1 object(s) of type
>>>>>> ProgramTrackedEntityAttribute (DefaultObjectBundleService.java
>>>>>> [http-bio-8080-exec-7])
>>>>>> * *WARN  2016-11-02 16:36:27,902 SQL Error: 0, SQLState: 23505
>>>>>> (SqlExceptionHelper.java [http-bio-8080-exec-7])*
>>>>>> ** ERROR 2016-11-02 16:36:27,903 ERROR: duplicate key value violates
>>>>>> unique constraint "programtrackedentityattribute_unique_key"*
>>>>>> *  Detail: Key (programid, trackedentityattributeid)=(80, 74) already
>>>>>> exists. (SqlExceptionHelper.java [http-bio-8080-exec-7])*
>>>>>> ** ERROR 2016-11-02 16:36:27,916 Exception occurred while trying to
>>>>>> import the metadata. could not execute statement
>>>>>> (MetadataSyncImportHandler.java [http-bio-8080-exec-7])*
>>>>>> *org.hibernate.exception.ConstraintViolationException: could not
>>>>>> execute statement*
>>>>>> at org.hibernate.e

[Dhis2-devs] Thanks for the new feature "Multiple Disaggregations"

2016-11-27 Thread Archana Chillala
Hi DHIS Dev Team,

Many thanks for all the efforts that that are being put into making DHIS2 a
truly community driven and community-oriented software. We have been
working with DHIS2 since version 2.20 and it's highly commendable the way
the application has been evolving so far to suit the needs and requirements
of the community. Kudos to you all!

We are currently using DHIS2 version 2.25 and the new feature of *Multiple*
*Disaggregations* is just the thing we have been waiting for, for a long
time. We have tested it, and it works just the way we wanted.

Thank you for all the good work. ☺




*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Visualisation of Data Element of Value Type - Organisation Unit

2016-11-28 Thread Archana Chillala
Hi Jan/Abyot,

This feature of DHIS 2.25 is extremely useful for us in terms of knowing
and analyzing patients' geo-locations.

Could you please let us know​ an approximate timeline around which
visualization will be supported for data element of type Organization Unit.
Also, which version of DHIS2 will support it?



*Cheers,*


Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, Oct 25, 2016 at 4:22 PM, Archana Chillala  wrote:

> ​Hi,
>
> Thank you for the responses, Abyot, Jan and Jason. Could you please let us
> know​ an approximate timeline around which visualisation will be supported
> for this data element type.
>
> *Cheers,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Tue, Oct 25, 2016 at 4:18 PM, Jan Henrik Øverland 
> wrote:
>
>> Agree with Abyot that the half baked solution is not a good one.
>>
>> Will consider a backport for the analysis apps as soon as this is
>> supported.
>>
>> Jan
>>
>> On 25 October 2016 at 12:16, Abyot Asalefew Gizaw 
>> wrote:
>>
>>> Hi,
>>>
>>> Value types ORGANISATION_UNIT and COORDINATE are new additions. Handling
>>> the data entry part is the first step, the next step is the analysis part
>>> which is coming.
>>>
>>> Probably a mistake to have a half baked solutions. However, there are
>>> users who export data and do visualizations using separate systems.
>>>
>>> --
>>> Abyot A. Gizaw.
>>> Senior Engineer, DHIS2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Tue, Oct 25, 2016 at 7:45 AM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> We are now using the latest 2.25 DHIS version. The new feature "*Data
>>>> Element of value type organisation unit*" proves to be extremely
>>>> useful to us. We have a use-case where we want to record the geo-locations
>>>> (villages) of each individual patient at the Heath Centre they attend. And
>>>> this feature seems a right approach for us, to be used for this purpose
>>>> where these locations will be part of the master organisation unit
>>>> hierarchy and can be selected from the list shown for the data element.
>>>>
>>>> We have configured a tracker type data element of value type 'org
>>>> unit', assigned to a Program and stored some data. However, when we tried
>>>> to visualise this data collected for that data element, through Event
>>>> Reports and Event Visualiser app, it gives an error saying "No series items
>>>> selected". Also, since the value of the data element is a string (which is
>>>> the UID of the org. unit), we are not clear as to how we could visualise
>>>> this data element. Ideally, what we need is a COUNT of the number of times
>>>> a geo-location (some org. unit) selected.
>>>>
>>>> We also tried to use program indicators to form an expression that can
>>>> give the desired result. But, that data element doesn't even come up in the
>>>> box, where we choose data elements and form expressions. Only number type
>>>> data elements show up here.
>>>>
>>>> Is there any other way we could use aggregation and visualisation for
>>>> this new data element type?
>>>> Could you also please let us know the road map for the visualisation
>>>> capabilities of this new data element.
>>>>
>>>> Any help here would be appreciated.
>>>>
>>>>
>>>>
>>>> *Cheers,*
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Jan Henrik Øverland
>> Software developer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Translations and Sharing Settings not syncing

2016-11-28 Thread Archana Chillala
Hi Morten/Lars,

Any updates on this?

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, Nov 8, 2016 at 5:30 PM, Archana Chillala 
wrote:

> Hi Morten/Lars,
>
> 1) *Translations*:
> Within a DHIS instance, the translations are working. i.e. If you have
> translations for metadata objects in a particular locale and when the user
> switches to that locale, the translations provided show up in the UI.
> However, the issue is, these translations are *not getting exported*. We
> get an empty payload from the instance it is exported.
> Not sure about 2.24, but in 2.23 translations were syncing.
> By "*sync*", I meant, being able to export and import into another DHIS
> instance.
>
>
> 2) *Sharing Settings:*
> We are doing the updates through the maintenance app. It affects both
> when updating user groups or public access. Again, these changes are not
> getting exported. We get an empty payload as data when exported. However,
> we modify some core property of the object (say, the short name or code of
> a data element, and also update the sharing settings), then these changes
> are getting exported and then imported into another instance.
>
> Please find the screenshots attached.
> At HQ instance, the public access of a data element has been changed to
> "Can View". However, when exported and imported, these changes are not
> reflected. So, At Local instance, the public access is still "Can Edit" as
> set by default.
>
>
>
> *Cheers,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Mon, Nov 7, 2016 at 1:46 PM, Lars Helge Øverland 
> wrote:
>
>> Hi Archana,
>>
>> what exactly do you mean with "synced" ?
>>
>> Could this be caused by the lastUpdated property of the main object not
>> being updated when translations are updated, and hence your metadata sync
>> not being aware of the change?
>>
>> On Nov 7, 2016 2:35 AM, "Morten Olav Hansen"  wrote:
>>
>>> *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 metadata objects that are
>>>> translatable.
>>>>
>>>
>>> I assume this is the same in 2.24? have you verified that the
>>> translations are actually working, there have been some reports of issues
>>> with the update process
>>>
>>> *2)* *Sharing settings* are not getting synced unless some change is
>>>> made to the object’s properties.
>>>> If we have sharing settings configured for a metadata object, while
>>>> creating the object or modifying some property of that object, they get
>>>> synced properly. But, if a change is made only to the sharing settings of
>>>> that object (and nothing else), and try to sync, they do not get synced.
>>>> This issue has been raised with 2.22 as well. Looks like it still exists.
>>>>
>>>
>>> I assume you mean if you only update the user group? if you update
>>> public access it still syncs? Are you doing the updates through the
>>> maintenance app?
>>>
>>> --
>>> Morten
>>>
>>>
>>>>
>>>>
>>>> Could you please look into these issues and help fix them.
>>>>
>>>>
>>>> *Cheers,*
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Datasets with the same data element overwrite datavalues

2016-12-02 Thread Archana Chillala
Yes, this is expected. Please make sure that two data sets having same data
elements are not assigned to the same organization unit. Else, data value
gets over-ridden.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Thu, Dec 1, 2016 at 3:19 PM, Knut Staring  wrote:

> Normal - seems you need to create two dataelements.
>
> On Thu, Dec 1, 2016 at 4:46 PM, Murod Latifov  wrote:
>
>> Hi devs,
>>
>> I have set of data elements with YESONLY value. While two datasets are
>> assigned the same data elements, result overwrites datavalues. Checking
>> data element in one data entry form affects other from different dataset.
>> Is this a bug or a normal behaviour?
>>
>> DHIS2 version 2.25
>>
>> best regards,
>> murod
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Clarification around program rules

2016-12-26 Thread Archana Chillala
Hi,

We're using latest revision of DHIS 2.25. In Program rules, do we have the
ability to modify or delete the source field after they've been first
added? If so, could you please elaborate how we could do that? Because,
currently, we have a button to add a source field, but we don't have any UI
component to modify/delete an existing one. (See screenshot below)

[image: Inline image 1]

When we add a source field, we have to give a variable name, and in most
cases, the variable name will be same as data element name (in short). Now,
later if we modify that data element to something else, (rename or change
any of its properties or make it an option set), the data element name in
program rule also changes accordingly, but the variable name of the source
field will still remain the same old one. So, here renaming the variable
name will help identify. It would also be good if we could delete that
particular source field and add it again.
It would be valuable if that functionality is provided.

Thoughts?


*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Need clarification about some features

2016-12-26 Thread Archana Chillala
Hi,

We are using latest revision of DHIS 2.25. We find a new metadata entity
called "*Predictors*" in the 'others' module of maintenance app. We have
also gone through the documentation about Predictors and it tells what it
is and how we can configure it, explaining all its properties. But we are
not clear as to where they can be used or where could we look for its
predicted values on the UI and which particular app to look at for the
same. Could you please let us know, how and where can the predictors
functionality be leveraged?

While testing 2.25 version, we observed that, we’re able to save a category
without assigning any category options to it. We're able to save a dataset
without assigning any data elments to it. So is the case with most of the
metadata entities in maintenance app. This wasn't the behavior in earlier
versions of DHIS like 2.20, 2.21. Not sure, but probably, it's been like
this ever since maintenance app was introduced. Is this the expected
behavior? Or is it a bug?



*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Need clarification about some features

2016-12-27 Thread Archana Chillala
Thank you, Calle and Alex for the detailed response. But, I guess the
feature is still under development. Could you please let us know its
roadmap?

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Dec 26, 2016 at 7:04 PM, Calle Hedberg 
wrote:

> Archana,
>
> Alex' description is a bit short. Firstly, yes, the predictors are
> intended to be used to derive thresholds that can be compared to actual
> events. Some examples:
> - for a disease like Cholera, the threshold will normally be 1 (confirmed)
> case, so no calculated/predicted threshold is required. 1 confirmed case =
> outbreak.
> - for a disease like Typhoid Fever, the threshold will higher but
> dependent on area history. WHO generally use the previous 5 years to
> determine what is the "normal" number of cases in an area (e.g. the US will
> have 400 cases of typhoid fever reported per year). T
> hat "normal" number is what the DHIS2 predictors will provide, and you can
> then establish a validation rule saying that if actual number of reported
> cases in e.g. one week is more than the normal number per week multiplied
> with factor x, then you flag it as a possible outbreak.
> - for diseases that are commonly seasonal like Malaria, the predictor
> values vary through the year. 100 cases during summer-time is business as
> usual, 100 cases in winter-time is all alarm-bells ringing.
>
> Secondly, predictor values can be used for on-the-fly calculations and
> comparisons - where predictor values in theory might change daily due to
> new data being incorporate into the calculations - or they can be based on
> historical data only, persisted and regarded as stable for let us say one
> year. That debate is still on-going, but my guess is we will end up with
> IDSR systems generally using predictor values with some stability.
>
> Thirdly, predictor methodology will increasingly not only rely on
> historical data but also predicted environmental factors: So in the case of
> malaria, if global weather patterns indicate way above normal rains, you
> would up your predictor values accordingly. From another perspective, this
> could be regarded as a basic early warning system (note: most useful early
> warning system would require more sophisticated modeling than such
> predictor+)
>
> Fourthly, and this goes beyond disease surveillance: predictors can be
> used for short term forecasting of performance. We did stuff like that in
> Cape Town already 10-15 years ago: you predict total performance for the
> financial year by predicting (= extra-polating) from the performance during
> e.g. the first six months. The idea being that under-performing areas are
> identified early and in time for mitigating efforts to be made. As should
> be obvious, you can use the same predictor value calculations to assist
> with setting short-term and medium-term TARGETS.
>
> Fifthly, predictors might assist with making sense of historical data
> collected with diverse frequencies and methodologies: Routine data, sample
> surveys, census, household surveys, case-based data, etc. Predictor values
> can thus be a result of triangulating multiple disparate data sources.
>
> Finally, and now we are into scenario modelling: Predictors can be used as
> one component of future "what-if" scenarios, where you have a sophisticated
> 5-10-20 years model with inputs from demography, disease patterns, climate,
> human/economic development, global trade patterns, human resources, drugs,
> technology, and so forth. The DHIS is nowhere near that territory yet, but
> it is likely to become a focus area in some years.
>
> The main impediment to further development of these predictor values right
> now seems to be that few if anybody has used them to any extent (yet) -
> that will hopefully be rectified during 2017 with more widespread
> implementation of IDSR on the DHIS2 platform.
>
> Regards
> Calle
>
> On 26 December 2016 at 13:15, Alex Tumwesigye 
> wrote:
>
>> Dear Archana,
>>
>> Predictors replaced surveillance rules in data quality app. They have
>> exactly the same functionality as surveillance rules. They are still under
>> development since they are meant to be persisted and uniquely identified.
>> They are used in the idsr for threshold calculations.
>>
>> Alex
>>
>>
>> On Monday, December 26, 2016, Archana Chillala 
>> wrote:
>>
>>> Hi,
>>>
>>> We are using latest revision of DHIS 2.25. We find a 

[Dhis2-devs] Data Set Sections do not have 'Show Details'

2017-01-02 Thread Archana Chillala
Hi,

We are using DHIS version 2.25. All the entities in maintenance app, like
data elements, data sets, attributes, categories etc, have a context menu
through which details of that object can be obtained using "Show Details"
button.

However, the data set sections does not have "*Show Details*" option. (See
attached Screenshot). This becomes difficult for us to know the UID of the
data set Section and have to look for it through APIs.
Is this a bug? or is this the expected behavior.

Could you please help fix it.




*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Data Set Sections do not have 'Show Details'

2017-01-02 Thread Archana Chillala
Sure. Raised the issue on JIRA - DHIS2-449
<https://jira.dhis2.org/browse/DHIS2-449>

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Jan 2, 2017 at 2:56 PM, Lars Helge Øverland  wrote:

> Hi Archana,
>
> can you please report it in jira <https://jira.dhis2.org> and we will
> have a look.
>
> regards,
>
> Lars
>
>
> On Mon, Jan 2, 2017 at 10:20 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi,
>>
>> We are using DHIS version 2.25. All the entities in maintenance app, like
>> data elements, data sets, attributes, categories etc, have a context menu
>> through which details of that object can be obtained using "Show Details"
>> button.
>>
>> However, the data set sections does not have "*Show Details*" option.
>> (See attached Screenshot). This becomes difficult for us to know the UID of
>> the data set Section and have to look for it through APIs.
>> Is this a bug? or is this the expected behavior.
>>
>> Could you please help fix it.
>>
>>
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Data Set Sections do not have 'Show Details'

2017-01-02 Thread Archana Chillala
Thanks, Pierre.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Jan 2, 2017 at 4:06 PM, Pierre Dane  wrote:

> Hi Archana - you can also write a sql view 'select name, uid from dataset'
> (or similar) as a work around until this is fixed.
>
> pierre
> On Mon, 2 Jan 2017 at 11:55, Lars Helge Øverland  wrote:
>
>> Thanks.
>>
>> On Mon, Jan 2, 2017 at 10:52 AM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>> Sure. Raised the issue on JIRA - DHIS2-449
>> <https://jira.dhis2.org/browse/DHIS2-449>
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>>
>>
>> On Mon, Jan 2, 2017 at 2:56 PM, Lars Helge Øverland 
>> wrote:
>>
>> Hi Archana,
>>
>> can you please report it in jira <https://jira.dhis2.org> and we will
>> have a look.
>>
>> regards,
>>
>> Lars
>>
>>
>> On Mon, Jan 2, 2017 at 10:20 AM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>> Hi,
>>
>> We are using DHIS version 2.25. All the entities in maintenance app, like
>> data elements, data sets, attributes, categories etc, have a context menu
>> through which details of that object can be obtained using "Show Details"
>> button.
>>
>> However, the data set sections does not have "*Show Details*" option.
>> (See attached Screenshot). This becomes difficult for us to know the UID of
>> the data set Section and have to look for it through APIs.
>> Is this a bug? or is this the expected behavior.
>>
>> Could you please help fix it.
>>
>>
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>>
>>
>>
>>
>> ___
>>
>>
>> Mailing list: https://launchpad.net/~dhis2-devs
>>
>>
>> Post to : dhis2-devs@lists.launchpad.net
>>
>>
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>
>>
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>
>>
>>
>>
>> ___
>>
>> Mailing list: https://launchpad.net/~dhis2-devs
>>
>> Post to : dhis2-devs@lists.launchpad.net
>>
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>
>> More help   : https://help.launchpad.net/ListHelp
>>
>> --
> Pierre Dane
> Director of Technology
> Jembi Health Systems NPC
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Clarification around program rules

2017-01-30 Thread Archana Chillala
Hi,

Could you please provide any update on this ?

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Dec 26, 2016 at 2:54 PM, Archana Chillala  wrote:

> Hi,
>
> We're using latest revision of DHIS 2.25. In Program rules, do we have the
> ability to modify or delete the source field after they've been first
> added? If so, could you please elaborate how we could do that? Because,
> currently, we have a button to add a source field, but we don't have any UI
> component to modify/delete an existing one. (See screenshot below)
>
> [image: Inline image 1]
>
> When we add a source field, we have to give a variable name, and in most
> cases, the variable name will be same as data element name (in short). Now,
> later if we modify that data element to something else, (rename or change
> any of its properties or make it an option set), the data element name in
> program rule also changes accordingly, but the variable name of the source
> field will still remain the same old one. So, here renaming the variable
> name will help identify. It would also be good if we could delete that
> particular source field and add it again.
> It would be valuable if that functionality is provided.
>
> Thoughts?
>
>
> *Cheers,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Clarification around program rules

2017-01-30 Thread Archana Chillala
Thanks, Markus.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, Jan 30, 2017 at 7:00 PM, Markus Bekken  wrote:

> Hi Archana,
> sorry for the delayed response.
>
> Functionality for editing of variables is regrettably lacking in the
> program rules editor. Support for editing and renaming is coming in a later
> release, possibly at the same time as we modernize the program rules editor
> UI. Name change is currently only possible through the API and directly in
> the database. Remember that if you update a variables name you might have
> to also update expressions. When an update name function is added to the
> UI, the solution would refactor automatically - but for now you would have
> to do it manually.
>
> To update the variable RycV5uDi66i to "updatedName" through the API:
> curl -X PATCH -u admin:district -H "Content-Type: application/json" -d
> '{"name":"updatedName"}' "http://localhost:8080/api/programRuleVariables/
> RycV5uDi66i"
>
> As the configurators are free to use their own naming convention for
> variables, it is not currently possible to do a reliable automatic renaming
> of the variables. Generally it might be a good idea to have a short
> variable name that captures the data elements essential meaning, and not
> the complete data element name. If you are using different source types and
> other settings, the variable name might contain a clues to this.
>
> Markus
>
> 30. jan. 2017 kl. 13.16 skrev Archana Chillala  >:
>
> Hi,
>
> Could you please provide any update on this ?
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Mon, Dec 26, 2016 at 2:54 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi,
>>
>> We're using latest revision of DHIS 2.25. In Program rules, do we have
>> the ability to modify or delete the source field after they've been first
>> added? If so, could you please elaborate how we could do that? Because,
>> currently, we have a button to add a source field, but we don't have any UI
>> component to modify/delete an existing one. (See screenshot below)
>>
>> 
>>
>> When we add a source field, we have to give a variable name, and in most
>> cases, the variable name will be same as data element name (in short). Now,
>> later if we modify that data element to something else, (rename or change
>> any of its properties or make it an option set), the data element name in
>> program rule also changes accordingly, but the variable name of the source
>> field will still remain the same old one. So, here renaming the variable
>> name will help identify. It would also be good if we could delete that
>> particular source field and add it again.
>> It would be valuable if that functionality is provided.
>>
>> Thoughts?
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Option Set - Update an option code

2017-01-31 Thread Archana Chillala
Hi Kevin,

You could use the optionSets API as follows, with required fields:

http://localhost:8080/api/optionSets/.json?fields=id,name,displayName,options[id,name,code]



Here, for a given option Set ID, the required fields are fetched.




Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Wed, Feb 1, 2017 at 10:46 AM, Kevin Bolger 
wrote:

> Hi Folks,
>
> I'm trying to build out some scripts to help with meta-data maintenance
> and integrity between DHIS2 and a separate eLMIS system that I'm
> integrating data from, into DHIS2.
>
> A tracker dataelement I created to handle stock items uses an option set,
> each option being and product item from the eLMIS. The eLMIS items use a
> unique code and item name combination which are aligned with the option
> set's options, names and codes. A potential issue is that these item names
> and codes can be updated on the eLIMS side.
>
> Is there any API feature I could use to regularly get a list of the
> options names and codes from the option set?
> I could then compare these to the eLMIS entries via an external matching
> or translation list.if I find an update on the eLIMS side I would then
> want to update the code or name on the DHIS2 option while maintaining the
> integrity of any existing events in DHIS2 using that option.
>
> Happy to explain it further with a detailed example if required.
>
> Many thanks,
> Kevin
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Storing value type 'Age' in numeric form

2017-03-23 Thread Archana Chillala
Hi

We are using DHIS version 2.26. We are exploring the new value type "*Age*"
that has been introduced with this release. On the UI, when we enter a
date, it calculates the age in years, months and days perfectly. But we
observe that the calculated age in years is not stored in the DB. The value
of an Age type data element is stored only as a date (-MM-DD) in the
database. We would like to use the age in years in analytics on the
visualisation apps. We have tried using program indicators for the same,
but that did not work as expected.

Could you please suggest how we could leverage the use of age in years,
given the existing functionality.



*Cheers*,

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>

[image: www.thoughtworks.com] <http://www.thoughtworks.com>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Storing value type 'Age' in numeric form

2017-03-23 Thread Archana Chillala
adding dhis-users list

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>

[image: www.thoughtworks.com] <http://www.thoughtworks.com>

On Thu, Mar 23, 2017 at 1:57 PM, Archana Chillala  wrote:

> Hi
>
> We are using DHIS version 2.26. We are exploring the new value type "*Age*"
> that has been introduced with this release. On the UI, when we enter a
> date, it calculates the age in years, months and days perfectly. But we
> observe that the calculated age in years is not stored in the DB. The value
> of an Age type data element is stored only as a date (-MM-DD) in the
> database. We would like to use the age in years in analytics on the
> visualisation apps. We have tried using program indicators for the same,
> but that did not work as expected.
>
> Could you please suggest how we could leverage the use of age in years,
> given the existing functionality.
>
>
>
> *Cheers*,
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
>
> [image: www.thoughtworks.com] <http://www.thoughtworks.com>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] 'View Only' access to User Groups lets them 'Edit' as well.

2015-12-28 Thread Archana Chillala
Hi,

I am from ThoughtWorks India, working for MSF (OCA). We are using the DHIS
code on *trunk* locked at revision 21496. We have been working on
Dashboards, their shareability and Synch to different DHIS instances.
However, we have observed a couple of issues with that.

1. When we share a dashboard with a user Group providing* 'View Only'*
access, the users within that user group are also able to* EDIT *the
dashboard and make all sorts of changes that can be done (even though Edit
access is not given to them). And these changes are reflected immediately
across all the users within that group. We also tested this with different
roles giving minimum authorities. Yet, the same result. How do we fix this?

2. We have two instances of DHIS. A dashboard is created and shared with a
user Group in the first instance. When, metadata is exported and imported
to the other DHIS instance, except the 'admin' user, no other user is able
to get any dashboards. Would you suggest any solution to this?



Thanks & Regards,

Archana ChillalaApplication DeveloperEmailarchanac@thoughtworks.comTelephone+91
9100960533 <+91+9100960533>[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 1536598] [NEW] Dashboard names not showing in 2.22

2016-01-21 Thread Archana Chillala
+1 to that. I faced the same issue as well.

Can you help fix that?

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Thu, Jan 21, 2016 at 5:37 PM, Elmarie Claasen  wrote:

> Public bug reported:
>
> After updating instance to 2.22 the dashboard names are not showing
> instead there are small blank boxes for each dashboard.
>
> Replicated on Sierra Leone demo
>
> Affects:
> Version:
> 2.22
> Build revision:
> 21772
> Build date:
> 2016-01-20 22:37
>
> ** Affects: dhis2
>  Importance: Undecided
>  Status: New
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1536598
>
> Title:
>   Dashboard names not showing in 2.22
>
> Status in DHIS:
>   New
>
> Bug description:
>   After updating instance to 2.22 the dashboard names are not showing
>   instead there are small blank boxes for each dashboard.
>
>   Replicated on Sierra Leone demo
>
>   Affects:
>   Version:
>   2.22
>   Build revision:
>   21772
>   Build date:
>   2016-01-20 22:37
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1536598/+subscriptions
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Issues with Event Capture android App (latest release for 2.22)

2016-01-21 Thread Archana Chillala
Hi,

In the Event Capture Android App, looks like Programs are not being
controlled through user roles in the app (whereas in the web app…they need
to be assigned to a role before they can be used). So, in the app, programs
unassigned to any user role can also be accessed for entering data.


Another issue is that, even if a data element is made mandatory, the data
entry form is able to ‘complete’ and save even without entering its value.

I am using DHIS Version 2.22 and Build revision 21763

Any thoughts or suggestions on this?



Thanks & Regards,

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Labels for Option sets are not shown in Data Capture App with DHIS 2.22

2016-01-21 Thread Archana Chillala
Hi,

In the Data Capture android app, data elements with option sets show only a
blank drop down list with no labels.

But the option sets had labels when working with DHIS 2.21
I am currently using DHIS version 2.22 revision 21763.

Could you please fix that.


Thanks & Regards,

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Labels for Option sets are not shown in Data Capture App with DHIS 2.22

2016-01-21 Thread Archana Chillala
Attaching a screenshot for the same.

[image: Inline image 1]


Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Jan 22, 2016 at 8:25 AM, Archana Chillala  wrote:

> Hi,
>
> In the Data Capture android app, data elements with option sets show only
> a blank drop down list with no labels.
>
> But the option sets had labels when working with DHIS 2.21
> I am currently using DHIS version 2.22 revision 21763.
>
> Could you please fix that.
>
>
> Thanks & Regards,
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS2 Issues with Dashboard

2016-01-22 Thread Archana Chillala
Hi

I am working on Dashboards, their shareability and Synch to different DHIS
instances. However, I observed a couple of issues with that.

*Issue 1:*

When we share a dashboard with a user Group providing* 'View Only'* access,
the users within that user group are also able to* EDIT *the dashboard and
make all sorts of changes that can be done (even though Edit access is not
given to them). And these changes are reflected immediately across all the
users within that group. We also tested this with different roles giving
minimum authorities. Yet, the same result.
How do we fix this?

*Issue 2:*

We have two instances of DHIS. A dashboard is created and shared with a
user Group in the first instance. When, metadata is exported and imported
to the other DHIS instance, except the 'admin' user, no other user is able
to see any dashboards.

Would you suggest any solution to this?



Thanks & Regards,

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS2 - Issues with Metadata export-import & Data Sync

2016-01-22 Thread Archana Chillala
Hi,

I am using two instances of DHIS and have a couple of issues regarding
metadata export-import. Both instances are running on version 2.22
currently.

*Issue 1:*

I have exported metadata from one instance of DHIS and imported that into
another instance of DHIS. But the import process fails at *users*. When I
try importing metadata without *"users", *import is successful.
While importing metadata with users, The log says - "*object references an
unsaved transient instance". *


*Issue 2:*

When metadata is imported from one instance to another, the *programs*
become unassigned to the *user roles* (that were previously assigned in the
first instance) and hence do not appear on the Tracker Capture or Event
Capture apps on DHIS2.


*Issue 3:*

*Data Synchronisation* between two DHIS instances is not happening. Data is
entered on one instance and scheduling is enabled for Data Sync. The log
says *"Import Successful". *But the values do not show up on the other DHIS
instance. I've cleared cache and tried. Still, doesn't work.


Could you please help fix these?



Thanks,

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS2 Issues with Dashboard

2016-01-26 Thread Archana Chillala
Hi Morten,

I did try what you suggested (for Issue 2), but it still does not fix it.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Jan 22, 2016 at 4:48 PM, Morten Olav Hansen 
wrote:

> *Issue 1:*
>>
>> When we share a dashboard with a user Group providing* 'View Only'*
>> access, the users within that user group are also able to* EDIT *the
>> dashboard and make all sorts of changes that can be done (even though Edit
>> access is not given to them). And these changes are reflected
>> immediately across all the users within that group. We also tested this
>> with different roles giving minimum authorities. Yet, the same result.
>> How do we fix this?
>>
>
> I haven't seen this one before, will try to reproduce and fix.
>
>
>> *Issue 2:*
>>
>> We have two instances of DHIS. A dashboard is created and shared with a
>> user Group in the first instance. When, metadata is exported and imported
>> to the other DHIS instance, except the 'admin' user, no other user is able
>> to see any dashboards.
>>
>> Would you suggest any solution to this?
>>
>
> Did you try to enable sharing for import? (default is off)
>
> http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s07.html#d5e388
>
> --
> Morten
>
>
>>
>>
>>
>> Thanks & Regards,
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Data Synchronization of data values and comments not consistent.

2016-02-08 Thread Archana Chillala
Hi,

We have two instances of DHIS2 running on version - 2.21 and revision -
21021.
Both instances have same metadata (through metadata import-export).
The data entry is done from one instance and synced to the other through
data synchronisation.
While entering values for a data element, we also saved a comment along
with it. But, after data sync, either only the value is synced or the
comment is synced, or rarely both. And we have not been able to observe any
consistent pattern through our attempts.
The logs do not show any error. They just say - "Synchronisation
successful" and "Import done". Is this a bug?


A sample of data values (retrieved using APIs) are as follows. Even though,
every data value entered has a comment with it, either just the value or
the associated comment is shown.

{
  "dataValues": [
{
  "dataElement": "WrYuYughmib",
  "period": "2015W53",
  "orgUnit": "USe0FXuT2hD",
  "categoryOptionCombo": "UQZ2avpTT3r",
  "attributeOptionCombo": "UQZ2avpTT3r",
  "storedBy": "admin",
  "created": "2016-02-08T12:10:28.378+",
  "lastUpdated": "2016-02-08T12:10:40.346+",
  *"comment": "This is for W53",*
  "followUp": false
},
{
  "dataElement": "WrYuYughmib",
  "period": "2015W52",
  "orgUnit": "USe0FXuT2hD",
  "categoryOptionCombo": "UQZ2avpTT3r",
  "attributeOptionCombo": "UQZ2avpTT3r",
  "storedBy": "admin",
  "created": "2016-02-08T12:11:04.000+",
  "lastUpdated": "2016-02-08T12:13:21.000+",
  *"comment": "yipppiee",*
  "followUp": false
},
{
  "dataElement": "WrYuYughmib",
  "period": "2016W1",
  "orgUnit": "USe0FXuT2hD",
  "categoryOptionCombo": "UQZ2avpTT3r",
  "attributeOptionCombo": "UQZ2avpTT3r",
 * "value": "",*
  "storedBy": "admin",
  "created": "2016-02-08T11:50:58.000+",
  "lastUpdated": "2016-02-08T11:50:58.000+",
  "followUp": false
},
{
  "dataElement": "WrYuYughmib",
  "period": "2016W4",
  "orgUnit": "USe0FXuT2hD",
  "categoryOptionCombo": "UQZ2avpTT3r",
  "attributeOptionCombo": "UQZ2avpTT3r",
  "storedBy": "admin",
  "created": "2016-02-08T12:08:19.000+",
  "lastUpdated": "2016-02-08T12:09:31.000+",
  *"comment": "New comment",*
  "followUp": false
},
{
  "dataElement": "WrYuYughmib",
  "period": "2015W50",
  "orgUnit": "USe0FXuT2hD",
  "categoryOptionCombo": "UQZ2avpTT3r",
  "attributeOptionCombo": "UQZ2avpTT3r",
  *"value": "10",*
  "storedBy": "admin",
  "created": "2016-02-08T12:18:18.000+",
  "lastUpdated": "2016-02-08T12:18:29.000+",
  "followUp": false
},


Could you please look into this and offer suggestions.





Thanks & Regards,

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Metadata Import of option sets not working

2016-02-09 Thread Archana Chillala
Hi,

We have two instances of DHIS. Metadata is exported from one instance and
imported into the other in the form of JSON file. But, while importing
metadata, option set is imported but not the options within it.  We are
currently using DHIS version 2.21 revision number 21021.

We have import conflicts mentioned as follows:

"type": "OptionSet",
 "importConflicts": [
   {
 "object": "Test options",
 "value": "Unknown reference to IdentifiableObject{id=0,
uid='null', code='1', name='option 1', created=null, lastUpdated=null}
(Option) on object IdentifiableObject{id=73, uid='fvm4lIOVDnY',
code='null', name='Test options', created=Tue Feb 09 12:14:03 IST 2016,
lastUpdated=Tue Feb 09 12:14:27 IST 2016} (OptionSet)."
   },
   {
 "object": "Test options",
 "value": "Unknown reference to IdentifiableObject{id=0,
uid='null', code='2', name='option 2', created=null, lastUpdated=null}
(Option) on object IdentifiableObject{id=73, uid='fvm4lIOVDnY',
code='null', name='Test options', created=Tue Feb 09 12:14:03 IST 2016,
lastUpdated=Tue Feb 09 12:14:27 IST 2016} (OptionSet)."
   }
 ]


Is this a bug? A similar issue was reported as a bug on launchpad for 2.18
version.
Here's the link - https://bugs.launchpad.net/dhis2/+bug/1434035

Any suggestions or help would be appreciated.




Thanks & Regards,

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


  1   2   >