Re: [Dhis2-devs] [Bug 1538443] Re: Metadata import of users fails

2016-02-04 Thread archana
Thanks, Morten.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]


On Fri, Feb 5, 2016 at 12:08 PM, Morten Olav Hansen <
1538...@bugs.launchpad.net> wrote:

> Ok, I was able to reproduce this locally now. Will look into it and get
> back to you.
>
> --
> Morten
>
> On Fri, Feb 5, 2016 at 12:36 PM, archana 
> wrote:
>
> > Hi Morten,
> >
> > I have created users using the UI, and not Web API. I was not updating
> > users, just creating them. I took an export of metadata from one DHIS
> > instance (including users) and then tried to import the metadata into
> > another. But import fails at users.
> >
> > [image: Inline image 1]
> > And here are the logs generated:
> >
> > ** INFO * 2016-02-05 10:51:43,742 [Level: INFO, category:
> METADATA_IMPORT,
> > time: Fri Feb 05 10:51:43 IST 2016, message: Importing 5 Users]
> > (InMemoryNotifier.java [taskScheduler-1])
> > * *INFO * 2016-02-05 10:51:43,761 'admin' update org.hisp.dhis.user.User,
> > name: admin123 admin123, uid: TGk0oxuEY35 (AuditLogUtil.java
> > [taskScheduler-1])
> > * *ERROR* 2016-02-05 10:51:43,777 Unexpected error occurred in scheduled
> > task. (TaskUtils.java [taskScheduler-1])
> > org.hibernate.TransientObjectException: object references an unsaved
> > transient instance - save the transient instance before flushing:
> > org.hisp.dhis.user.User
> > at
> >
> >
> org.hibernate.engine.internal.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:249)
> > at org.hibernate.type.EntityType.getIdentifier(EntityType.java:536)
> > at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:311)
> > at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:321)
> > at org.hibernate.type.TypeHelper.findDirty(TypeHelper.java:294)
> > at
> >
> >
> org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister.java:4049)
> > at
> >
> >
> org.hibernate.event.internal.DefaultFlushEntityEventListener.dirtyCheck(DefaultFlushEntityEventListener.java:537)
> > at
> >
> >
> org.hibernate.event.internal.DefaultFlushEntityEventListener.isUpdateNecessary(DefaultFlushEntityEventListener.java:235)
> > at
> >
> >
> org.hibernate.event.internal.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:164)
> > at
> >
> >
> org.hibernate.event.internal.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:230)
> > at
> >
> >
> org.hibernate.event.internal.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:100)
> > at
> >
> >
> org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:61)
> > at
> >
> >
> org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1166)
> > at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1616)
> > at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:374)
> > at
> org.hibernate.internal.CriteriaImpl.uniqueResult(CriteriaImpl.java:396)
> > at
> >
> >
> org.hisp.dhis.hibernate.HibernateGenericStore.getObject(HibernateGenericStore.java:291)
> > at
> >
> >
> org.hisp.dhis.organisationunit.hibernate.HibernateOrganisationUnitStore.getByUuid(HibernateOrganisationUnitStore.java:81)
> > at
> >
> >
> org.hisp.dhis.organisationunit.DefaultOrganisationUnitService.getOrganisationUnitByUuid(DefaultOrganisationUnitService.java:224)
> >
> >
> > 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, Feb 5, 2016 at 9:52 AM, Morten Olav Hansen <
> > 1538...@bugs.launchpad.net> wrote:
> >
> > > I was able to create a user using the web-api with no issues, could you
> > > please share your full payload and exception? also, were you updating
> > > users or creating new ones? I need a bit more info to be able to
> > > reproduce.
> > >
> > > --
> > > You received this bug notification because you are subscribed to the
> bug
> > > report.
> > > https://bugs.launchpad.net/bugs/1538443
> > >
> > > Title:
> > >   Metadata import of users fails
> > >
> > > Status in DHIS:
> > >   New
> > >
> > > Bug description:
> > >   I am using two instances of DHIS. 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".  I have also gone through some threads
> > > raising similar issues, an

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21889: minor fix

2016-02-04 Thread noreply

revno: 21889
committer: Morten Olav Hansen 
branch nick: dhis2
timestamp: Fri 2016-02-05 14:09:44 +0700
message:
  minor fix
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentials.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentials.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentials.java	2016-01-05 17:37:45 +
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentials.java	2016-02-05 07:09:44 +
@@ -34,7 +34,6 @@
 import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
 import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
 import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
-
 import org.hisp.dhis.common.BaseIdentifiableObject;
 import org.hisp.dhis.common.DimensionType;
 import org.hisp.dhis.common.DimensionalObject;
@@ -274,7 +273,7 @@
 
 return dataSets;
 }
-
+
 /**
  * Returns a set of the programs for all user authority groups
  * of this user credentials.
@@ -290,10 +289,10 @@
 
 return programs;
 }
-
+
 /**
  * Indicates if the given program is accessible.
- * 
+ *
  * @param program the program.
  * @return true if if the given program is accessible.
  */
@@ -306,7 +305,7 @@
 return true;
 }
 }
-
+
 return false;
 }
 
@@ -785,11 +784,13 @@
 {
 openId = userCredentials.getOpenId();
 ldapId = userCredentials.getLdapId();
+userInfo = userCredentials.getUserInfo();
 }
 else if ( strategy.isMerge() )
 {
 openId = userCredentials.getOpenId() == null ? openId : userCredentials.getOpenId();
 ldapId = userCredentials.getLdapId() == null ? ldapId : userCredentials.getLdapId();
+userInfo = userCredentials.getUserInfo() == null ? userInfo : userCredentials.getUserInfo();
 }
 
 userAuthorityGroups.clear();

___
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 1538443] Re: Metadata import of users fails

2016-02-04 Thread Morten Olav Hansen
Ok, I was able to reproduce this locally now. Will look into it and get
back to you.

--
Morten

On Fri, Feb 5, 2016 at 12:36 PM, archana 
wrote:

> Hi Morten,
>
> I have created users using the UI, and not Web API. I was not updating
> users, just creating them. I took an export of metadata from one DHIS
> instance (including users) and then tried to import the metadata into
> another. But import fails at users.
>
> [image: Inline image 1]
> And here are the logs generated:
>
> ** INFO * 2016-02-05 10:51:43,742 [Level: INFO, category: METADATA_IMPORT,
> time: Fri Feb 05 10:51:43 IST 2016, message: Importing 5 Users]
> (InMemoryNotifier.java [taskScheduler-1])
> * *INFO * 2016-02-05 10:51:43,761 'admin' update org.hisp.dhis.user.User,
> name: admin123 admin123, uid: TGk0oxuEY35 (AuditLogUtil.java
> [taskScheduler-1])
> * *ERROR* 2016-02-05 10:51:43,777 Unexpected error occurred in scheduled
> task. (TaskUtils.java [taskScheduler-1])
> org.hibernate.TransientObjectException: object references an unsaved
> transient instance - save the transient instance before flushing:
> org.hisp.dhis.user.User
> at
>
> org.hibernate.engine.internal.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:249)
> at org.hibernate.type.EntityType.getIdentifier(EntityType.java:536)
> at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:311)
> at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:321)
> at org.hibernate.type.TypeHelper.findDirty(TypeHelper.java:294)
> at
>
> org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister.java:4049)
> at
>
> org.hibernate.event.internal.DefaultFlushEntityEventListener.dirtyCheck(DefaultFlushEntityEventListener.java:537)
> at
>
> org.hibernate.event.internal.DefaultFlushEntityEventListener.isUpdateNecessary(DefaultFlushEntityEventListener.java:235)
> at
>
> org.hibernate.event.internal.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:164)
> at
>
> org.hibernate.event.internal.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:230)
> at
>
> org.hibernate.event.internal.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:100)
> at
>
> org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:61)
> at
>
> org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1166)
> at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1616)
> at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:374)
> at org.hibernate.internal.CriteriaImpl.uniqueResult(CriteriaImpl.java:396)
> at
>
> org.hisp.dhis.hibernate.HibernateGenericStore.getObject(HibernateGenericStore.java:291)
> at
>
> org.hisp.dhis.organisationunit.hibernate.HibernateOrganisationUnitStore.getByUuid(HibernateOrganisationUnitStore.java:81)
> at
>
> org.hisp.dhis.organisationunit.DefaultOrganisationUnitService.getOrganisationUnitByUuid(DefaultOrganisationUnitService.java:224)
>
>
> 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, Feb 5, 2016 at 9:52 AM, Morten Olav Hansen <
> 1538...@bugs.launchpad.net> wrote:
>
> > I was able to create a user using the web-api with no issues, could you
> > please share your full payload and exception? also, were you updating
> > users or creating new ones? I need a bit more info to be able to
> > reproduce.
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1538443
> >
> > Title:
> >   Metadata import of users fails
> >
> > Status in DHIS:
> >   New
> >
> > Bug description:
> >   I am using two instances of DHIS. 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".  I have also gone through some threads
> > raising similar issues, and heard that import of users is disabled or not
> > supported. If so, is there a way we can import users? Could you please
> > elaborate on that.
> >
> >   Current user:
> >   admin
> >   Version:
> >   2.21
> >   Build revision:
> >   20983
> >   User agent:
> >   Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36
> > (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/dhis2/+bug/1538443/+subscriptions
> >
>
>
> ** Attachment added: "Screen Shot 2016-02-05 at 10.51.56.png"
>
> https://bugs.launchpad.net/bugs/1538443/+attachment/4

Re: [Dhis2-devs] [Bug 1538443] Re: Metadata import of users fails

2016-02-04 Thread archana
Hi Morten,

I have created users using the UI, and not Web API. I was not updating
users, just creating them. I took an export of metadata from one DHIS
instance (including users) and then tried to import the metadata into
another. But import fails at users.

[image: Inline image 1]
And here are the logs generated:

** INFO * 2016-02-05 10:51:43,742 [Level: INFO, category: METADATA_IMPORT,
time: Fri Feb 05 10:51:43 IST 2016, message: Importing 5 Users]
(InMemoryNotifier.java [taskScheduler-1])
* *INFO * 2016-02-05 10:51:43,761 'admin' update org.hisp.dhis.user.User,
name: admin123 admin123, uid: TGk0oxuEY35 (AuditLogUtil.java
[taskScheduler-1])
* *ERROR* 2016-02-05 10:51:43,777 Unexpected error occurred in scheduled
task. (TaskUtils.java [taskScheduler-1])
org.hibernate.TransientObjectException: object references an unsaved
transient instance - save the transient instance before flushing:
org.hisp.dhis.user.User
at
org.hibernate.engine.internal.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:249)
at org.hibernate.type.EntityType.getIdentifier(EntityType.java:536)
at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:311)
at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:321)
at org.hibernate.type.TypeHelper.findDirty(TypeHelper.java:294)
at
org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister.java:4049)
at
org.hibernate.event.internal.DefaultFlushEntityEventListener.dirtyCheck(DefaultFlushEntityEventListener.java:537)
at
org.hibernate.event.internal.DefaultFlushEntityEventListener.isUpdateNecessary(DefaultFlushEntityEventListener.java:235)
at
org.hibernate.event.internal.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:164)
at
org.hibernate.event.internal.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:230)
at
org.hibernate.event.internal.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:100)
at
org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:61)
at
org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1166)
at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1616)
at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:374)
at org.hibernate.internal.CriteriaImpl.uniqueResult(CriteriaImpl.java:396)
at
org.hisp.dhis.hibernate.HibernateGenericStore.getObject(HibernateGenericStore.java:291)
at
org.hisp.dhis.organisationunit.hibernate.HibernateOrganisationUnitStore.getByUuid(HibernateOrganisationUnitStore.java:81)
at
org.hisp.dhis.organisationunit.DefaultOrganisationUnitService.getOrganisationUnitByUuid(DefaultOrganisationUnitService.java:224)


Thanks.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]


On Fri, Feb 5, 2016 at 9:52 AM, Morten Olav Hansen <
1538...@bugs.launchpad.net> wrote:

> I was able to create a user using the web-api with no issues, could you
> please share your full payload and exception? also, were you updating
> users or creating new ones? I need a bit more info to be able to
> reproduce.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1538443
>
> Title:
>   Metadata import of users fails
>
> Status in DHIS:
>   New
>
> Bug description:
>   I am using two instances of DHIS. 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".  I have also gone through some threads
> raising similar issues, and heard that import of users is disabled or not
> supported. If so, is there a way we can import users? Could you please
> elaborate on that.
>
>   Current user:
>   admin
>   Version:
>   2.21
>   Build revision:
>   20983
>   User agent:
>   Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36
> (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1538443/+subscriptions
>


** Attachment added: "Screen Shot 2016-02-05 at 10.51.56.png"
   
https://bugs.launchpad.net/bugs/1538443/+attachment/4564309/+files/Screen%20Shot%202016-02-05%20at%2010.51.56.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1538443

Title:
  Metadata import of users fails

Status in DHIS:
  New

Bug description:
  I am using two instances of DHIS. I have exported metadata from one instance 
of DHI

Re: [Dhis2-devs] Exception while seeking JSON response of Pivot Table while using Program Indicators/Event data items

2016-02-04 Thread Saurabh
Hi Lars

Works fine since we upgraded to version 2.22

Thanks for the followup.

Regards

Saurabh

On Fri, Feb 5, 2016 at 4:32 AM Lars Helge Øverland  wrote:

> Hi Saurabh,
>
> the link now seems to work fine. Perhaps there was a cache issue with the
> demo server, or a bug has been fixed since you tested. Let us know if this
> is still an issue.
>
>
> https://play.dhis2.org/demo/api/analytics.json?dimension=dx:GxdhnY5wmHq;p2Zxg0wcPQ3;hCYU0G5Ti2T;rXoaHGAXWy9;fM7RZGVndZE;eo73fim1b2i;tt54DiKuQ9c&dimension=pe:LAST_12_MONTHS&filter=ou:ImspTQPwCqd&displayProperty=NAME&program=IpHINAT79UW
>
> regards,
>
> Lars
>
>
> On Sat, Dec 19, 2015 at 1:38 PM, Saurabh 
> wrote:
>
>> Hi team
>>
>> We have created some program indicators, and are using them to generate
>> reports in Pivot Table module.
>>
>> The team was trying to get a JSON response for the created pivot table,
>> but an exception comes when a JSON response is sought through the following
>> selections 'Download —>Plain data source—>JSON’.
>>
>> I checked for the same on the demo website (https://play.dhis2.org/dev),
>> and got the same exception when followed the same steps using 'Program
>> Indicators', however when ‘Indicators’ were selected and JSON response was
>> sought it worked fine.
>>
>> Have created a ‘Child Health’ favorite using program indicators on the
>> dev instance, here is the link:
>> https://play.dhis2.org/dev/api/analytics.json?dimension=dx:GxdhnY5wmHq;p2Zxg0wcPQ3;hCYU0G5Ti2T;rXoaHGAXWy9;fM7RZGVndZE;eo73fim1b2i;tt54DiKuQ9c&dimension=pe:LAST_12_MONTHS&filter=ou:ImspTQPwCqd&displayProperty=NAME&program=IpHINAT79UW
>>
>> Requesting help on this please!
>>
>> Regards
>>
>> Saurabh
>>
>>
>> ___
>> 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] [Bug 1538443] Re: Metadata import of users fails

2016-02-04 Thread Morten Olav Hansen
I was able to create a user using the web-api with no issues, could you
please share your full payload and exception? also, were you updating
users or creating new ones? I need a bit more info to be able to
reproduce.

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1538443

Title:
  Metadata import of users fails

Status in DHIS:
  New

Bug description:
  I am using two instances of DHIS. 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".  I have also gone through some threads raising 
similar issues, and heard that import of users is disabled or not supported. If 
so, is there a way we can import users? Could you please elaborate on that. 

  Current user:
  admin
  Version:
  2.21
  Build revision:
  20983
  User agent:
  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, 
like Gecko) Chrome/47.0.2526.111 Safari/537.36

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1538443/+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


Re: [Dhis2-devs] DHIS2 - Issues with 2.22

2016-02-04 Thread Morten Olav Hansen
>
> *Issue 1:*
> *Unable to sync data between the two instances.* I have setup the
> synchronization as per
> http://dhis2.github.io/dhis2-docs/2.21/en/user/html/ch22s16.html
> and trying to save the data. I have cleared the cache but still no values
> appear on the other instance. The log says "Server available,
> authentication successful and sync successful"
>

Lars?

*Issue 2:*
> *Unable to do metadata import of users.* When I try importing metadata
> without users, the import is successful.
> I see this issue is already being tracked through Bug#1538443
>

Ok, will try and have a look.. this was working not long ago, so hopefully
its something small

*Issue 3:*
> Adding newly created data elements to existing data set is throwing
> exception.
>

Using what? the UI? web api? collection api? can you also share the
exception

*Issue 4:*
> When a dashboard is shared with user group giving view-only access, the
> users of that group are able to edit it as well. The changes are also
> reflected across all users.
>

Can you verify is this is still the case after clearing your cache (server
cache in admin module)? we did some backports related to this a day ago..
back to 2.20, so it might also be a good idea to update your version

*Issue 5:*
> A dashboard which is shared with a user group in one instance is not
> visible to that user group after metadata import. It is visible to admin
> only.
>

Yes, default mode is to clear out all sharing info.. you should be able to
say sharing=true when importing through /api/metadata, but I will have a
look

--
Morten


>
> Could you please suggest on these?
>
>
> Thanks
> Aamer.
>
___
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] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21888: Add Location to list of exposed CORS headers

2016-02-04 Thread noreply

revno: 21888
committer: Morten Olav Hansen 
branch nick: dhis2
timestamp: Fri 2016-02-05 10:54:36 +0700
message:
  Add Location to list of exposed CORS headers
modified:
  
dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/security/filter/CorsFilter.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/security/filter/CorsFilter.java'
--- dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/security/filter/CorsFilter.java	2016-01-04 02:27:49 +
+++ dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/security/filter/CorsFilter.java	2016-02-05 03:54:36 +
@@ -66,7 +66,7 @@
 public static final String CORS_REQUEST_METHOD = "Access-Control-Request-Method";
 public static final String CORS_ORIGIN = "Origin";
 
-private static final String EXPOSED_HEADERS = "ETag";
+private static final String EXPOSED_HEADERS = "ETag Location";
 
 private static final Integer MAX_AGE = 60 * 60; // 1hr max-age
 

___
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] Browser specific functionality Query

2016-02-04 Thread Morten Olav Hansen
Hi

This is probably related to our usage of newlines in the confirmation box,
I made a small fix to 2.21 rev 21020 which should fix it. Please note that
in 2.22 and later version we have removed that module, and it has been
replaced by our new maintenance app.

--
Morten

On Thu, Nov 26, 2015 at 5:40 PM, Priyanka Bawa 
wrote:

> Hi
> While running the application in Mozilla Firefox, in the "Data Element
> Group Set", for the delete confirmation pop-up window, the application
> doesn’t display the ‘Data element group set’ name along-with delete
> confirmation message when ‘element group set’ name length is full. Although
> delete confirmation message comes properly along-with element group set
> name, when element group set name data length is normal.
>
> The above works fine while i run the application in Google Chrome. Can
> anyone help me resolve this.
>
> Please find attached screenshot for the same.
> Regards
> Priyanka
>
> ___
> 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 1520661] [NEW] All the data entered in DHIS2 installed in my laptop gets deleted after next fresh server start

2016-02-04 Thread Morten Olav Hansen
Hi

You don't need to download the java pg driver, this is already included in
the war file. What is probably happening (in both your cases) is that the
environment variable DHIS2_HOME is not available for tomcat, for windows
you probably need to set this up in system settings (control panel), and
for ubuntu, depending on how you installed it.. you need to make sure that
the DHIS2_HOME variable was exported to the shell script that is starting
your tomcat instance

--
Morten

On Sat, Nov 28, 2015 at 9:53 AM, सिग्देल सन्जोग 
wrote:

> I Installed DHIS following the guidelines of Chapter 8. Installation
> 
> And in the *hibernate.properties* I have linked the database name as
> well.
>
> In order to access the JDBC driver I also downloaded *libpg-java* but it
> didn't work.
> This time I updated the profile information but even those settings were
> not saved.
>
> 
>
>
> *SanjogSigdel*
>
> *UnG, Computer Science*
>
> *DoCSE, Kathmandu University*
> *Dhulikhel, Nepal*
>
> On Sat, Nov 28, 2015 at 6:09 AM, Knut Staring  wrote:
>
>> How did you install DHIS2? Are you linking it to Postgres?
>>
>> Knut
>>
>> On Sat, Nov 28, 2015 at 12:19 AM, Sanjog Sigdel 
>> wrote:
>>
>>> Public bug reported:
>>>
>>> Recently I've installed DHIS2 on my laptop. So as a fresh start, I
>>> created  5 some organization units upto facility levels, created some
>>> data elements, category options and combinations too. Then I logged out
>>> from DHIS, shutdown the tomcat server from my terminal with shutdown.sh
>>> command. Next time I started the server and logged in with username:
>>> admin and password : district. But this time their is no data that I
>>> have saved. I'm not sure if it is a bug but I tried the same process
>>> twice and my data everything I create is lost next time I run the
>>> server.
>>>
>>> DHIS2 Version: 2.21
>>> User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:42.0)
>>> Gecko/20100101 Firefox/42.0
>>> server: apache-tomcat-8.0.28
>>>
>>> Right now I'm using server as localhost.
>>>
>>> ** Affects: dhis2
>>>  Importance: Undecided
>>>  Status: New
>>>
>>>
>>> ** Tags: dataloss support technical
>>>
>>> --
>>> You received this bug notification because you are a member of DHIS 2
>>> developers, which is subscribed to DHIS.
>>> https://bugs.launchpad.net/bugs/1520661
>>>
>>> Title:
>>>   All the data entered in DHIS2 installed in my laptop  gets deleted
>>>   after  next fresh server start
>>>
>>> Status in DHIS:
>>>   New
>>>
>>> Bug description:
>>>   Recently I've installed DHIS2 on my laptop. So as a fresh start, I
>>>   created  5 some organization units upto facility levels, created some
>>>   data elements, category options and combinations too. Then I logged
>>>   out from DHIS, shutdown the tomcat server from my terminal with
>>>   shutdown.sh command. Next time I started the server and logged in with
>>>   username: admin and password : district. But this time their is no
>>>   data that I have saved. I'm not sure if it is a bug but I tried the
>>>   same process twice and my data everything I create is lost next time I
>>>   run the server.
>>>
>>>   DHIS2 Version: 2.21
>>>   User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:42.0)
>>> Gecko/20100101 Firefox/42.0
>>>   server: apache-tomcat-8.0.28
>>>
>>>   Right now I'm using server as localhost.
>>>
>>> To manage notifications about this bug go to:
>>> https://bugs.launchpad.net/dhis2/+bug/1520661/+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
>>>
>>
>>
>>
>> --
>> 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


Re: [Dhis2-devs] Multilingual analytics - DE and IND filter does not use translations

2016-02-04 Thread Morten Olav Hansen
Hi Marta

Sorry for confusing email ;-) Yes, we are looking into it, its probably a
simple bug, if so we will fix it for 2.22. :-)

--
Morten

On Tue, Jan 12, 2016 at 9:55 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Hi Marta
> I think we can interpret this to mean that the dev team is looking into
> it.
>
> Regards,
> Jason
>
> On Tue, Jan 12, 2016, 15:22 Marta Vila  wrote:
>
>> we are struggeling here to follow you guys XD
>>
>> On 12 January 2016 at 15:05, Jan Henrik Øverland <
>> janhenrik.overl...@gmail.com> wrote:
>>
>>>  Happy hour in Ho Chi Minh?
>>>
>>>
>>>
>>> On Tue, Jan 12, 2016 at 2:57 PM, Morten Olav Hansen 
>>> wrote:
>>>
 Jan, what you send me is not that

 All this lying is getting us nowhere. You don't like the truth?


 On Tuesday, 12 January 2016, Jan Henrik Øverland <
 janhenrik.overl...@gmail.com> wrote:

> Morten: It does an ilike on displayName/displayShortName.
>
> On Tue, Jan 12, 2016 at 10:39 AM, Jan Henrik Øverland <
> janhenrik.overl...@gmail.com> wrote:
>
>> Hi Victor, I will try to find some to look at this today.
>>
>> On Mon, Jan 11, 2016 at 6:12 PM, Victor Garcia 
>> wrote:
>>
>>> Thanks Morten,
>>>
>>> any update on this issue? Could it be easily solved?
>>>
>>> Regards!
>>>
>>> Víctor
>>>
>>> On 22 December 2015 at 15:52, Morten Olav Hansen >> > wrote:
>>>
 Hi

 I'm including Jan who has been working on updating the reporting
 tools for translation. All that is required is to change name:like:XYZ 
 to
 displayName:like:XYZ.

 --
 Morten

 On Tue, Dec 22, 2015 at 3:45 PM, Victor Garcia <
 vgarcia...@gmail.com> wrote:

> Hi all,
>
> in analytics apps, we have noticed that DE & IND filters don't use
> the translated name to do the search. For example, if we are working 
> in
> Spanish and we want to search for this dataelement
>
> English: "Donors: Hepatitis B exams"
> Spanish: "Donantes: Exámenes de Hepatitis B"
>
> we have to write "donors" (english word) in the search box to find
> it (see attached picture).
>
> We guess that this is not a bug, but a non-implemented feature.
> Looking at the roadmap, maybe this feature
> 
>  (2.23) has
> something to do with this issue.
>
> Meanwhile, could it be possible to have a workaround to deal with
> this problem?
>
> Using DHIS 2.21 rev 20971.
>
> Thank you!
>
> Víctor
>
> ___
> 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
>
>

>>>
>>
>

 --
 --
 Morten


>>>
>>> ___
>>> 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
>
>
___
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] dhis version 2.22 is released

2016-02-04 Thread Ese Egerega
Hi Matt,

I think you need to right-click in order to edit.

-Ese
On Jan 18, 2016 8:37 AM, "Matt Berg"  wrote:

> Hi Lars,
>
> This looks great.
>
> In the indicator section, I'm able to see edit but can't edit anything.
> Are others having this issue or is this something on our end.  We didn't do
> a data migration just updated the war file.
>
> Thanks,
>
> Matt
>
> On Mon, Jan 18, 2016 at 8:53 AM, Bridget Magoba 
> wrote:
>
>> Well done Lars and team.
>>
>>
>>
>> *From:* Dhis2-users [mailto:dhis2-users-bounces+bridgetmagoba=
>> mifumi@lists.launchpad.net] *On Behalf Of *Lars Helge Øverland
>> *Sent:* Saturday, January 16, 2016 1:03 AM
>> *To:* DHIS 2 Users list; DHIS 2 Developers list
>> *Subject:* [Dhis2-users] dhis version 2.22 is released
>>
>>
>>
>> Hi all,
>>
>>
>> DHIS version 2.22 is out with a lot of great new features and
>> improvements.
>>
>>
>>
>> Log in with admin/district on the demo 
>> system.
>>
>>
>>
>> *Data elements and indicators app:* A completely new app for data
>> elements and indicators maintenance features a much slicker user
>> experience, with on-the-fly search, “access” and “last updated” visible in
>> the lists, a new group editor, and much better looks.
>>
>>
>>
>> Demo  | Screenshot 1
>>  | 2
>>  | 3
>> 
>>
>>
>>
>> *Integrated tracker analytics:* Tracker-type data elements, attributes
>> and program indicators can now be included in aggregate indicators. This
>> allows for creating integrated analysis through indicators where e.g. the
>> numerator is being collected in a program while the numerator is collected
>> in an aggregate form. This means that you can produce integrated analysis
>> without caring about whether the data comes from routine forms, anonymous
>> events or tracking.
>>
>>
>>
>> Demo 1
>>  |
>> 2 
>> | Screenshot 1
>> 
>> | 2 
>>
>>
>>
>> *Multiple programs in favorites:* Data elements and attributes from any
>> number of programs can now be included in the same pivot table or chart
>> favorite.
>>
>>
>>
>> Demo
>>  |
>> Screenshot
>> 
>>
>>
>>
>> *File cloud storage in tracker:* The tracker capture and event capture
>> apps now support file storage for data elements of type file. This allows
>> you to use tracker as a document repository, and to upload documentation
>> and files related to events or people. Files can be stored either on the
>> Web server or sent directly to AWS S3  cloud
>> storage.
>>
>>
>>
>> Screenshot 1
>>  | 2
>> 
>>
>>
>>
>> *Tracker data audit:* Tracker capture and event capture now store the
>> audit trail of changes to data and make it readily available by clicking on
>> the audit icon next to each input field in the form. This is useful to view
>> historical changes to information and a requirement in many settings where
>> sensitive data is being stored.
>>
>>
>>
>> Screenshot 
>>
>>
>>
>> *Improved tracker capture:* The tracker capture app has received a range
>> of improvements.
>>
>>
>>
>> - Yes/No fields are rendered as radio-buttons instead of drop-downs for
>> faster data entry.
>>
>>
>>
>> Screenshot  | *Demo
>> *
>>
>>
>>
>> - The enrollment and active programs widget have been merged for better
>> usability.
>>
>>
>>
>> Screenshot 
>>
>>
>>
>> - Easy search for option sets: Option sets can be searched from within
>> the data entry widget.
>>
>>
>>
>> Screenshot 
>>
>>
>>
>> - Enrollments can be incompleted in order to change existing values.
>>
>> Screenshot
>> 
>>
>>
>>
>> - You can filter for people who have a scheduled event today.
>>
>>
>>
>> Screenshot
>> 
>>
>>
>>
>> - Events of repeatable program stages can be viewed and edited in a list.
>>
>>
>>
>> Screenshot 1
>> 

[Dhis2-devs] [Testing] May i know what kind of Testing that happens on DHIS side

2016-02-04 Thread Cheitanya Bhargavi
Hello and  Happy new year.

I have been looking at DHIS from last couple of week,
i'm very much instructed in knowing testing that happens on DHIS,

would you mind answering my questions

1. what kind of testing is done at DHIS said ?
2. which are the tools / frameworks that are used for automation ?


Thanks in advance...


​Cheers,

Cheitanya Bhargavi
Quality Analyst


* *
___
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 PROBLEM

2016-02-04 Thread Knut Staring
Hi Ian,

Go to Apps -> Reports -> Analytics and click the button.

Knut

On Mon, Jan 11, 2016 at 10:15 AM, Ian Manyama  wrote:

> Hello team,
>
> I have been introduced to DHIS2 and i have managed to use it web api okay
>
> I have installed dhis2 live application and am using built in database
>
> My problem is when i do data entry i can not see my data in reports or
> pivot table or data visualizer
>
> Please help
>
> Regards,
> Ian Manyama
>
> ___
> 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
>



-- 
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


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21887: Minor

2016-02-04 Thread noreply

revno: 21887
committer: Lars Helge Overland 
branch nick: dhis2
timestamp: Thu 2016-02-04 23:53:36 +0100
message:
  Minor
modified:
  
dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataApprovalForm.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataApprovalForm.vm'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataApprovalForm.vm	2016-02-04 22:31:24 +
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataApprovalForm.vm	2016-02-04 22:53:36 +
@@ -96,7 +96,7 @@
 $i18n.getString( "report_period" )
 
 
-
+
 
 
 

___
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] DHIS2 Issues with Dashboard

2016-02-04 Thread toseef rehan
Hi all,
   I have connected Live-demo with postgres..And App works fine But
when I go to "App Managment" or "Data Elements/indicator" it give

Failed to initialise D2: Unable to get schemas from the DHIS2 API

and in console gives.

Unable to get schemas from the api
{"readyState":4,"responseText":"\n\n\nError 500 Server
Error\n\nHTTP ERROR 500\nProblem accessing
/api/attributes. Reason:\nServer ErrorCaused
by:org.springframework.web.util.NestedServletException: Request
processing failed; nested exception is java.lang.IllegalArgumentException:
Unknown name value [string] for enum class
[org.hisp.dhis.common.ValueType]\r\n\tat
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:977)\r\n\tat
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:856)\r\n\tat
javax.servlet.http.HttpServlet.service(HttpServlet.java:687)\r\n\tat
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:841)\r\n\tat
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)\r\n\tat
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:800)\r\n\tat
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n\tat
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)\r\n\tat
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.hisp.dhis.security.filter.CorsFilter.doFilter(CorsFilter.java:88)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.hisp.dhis.security.filter.CustomAuthenticationFilter.doFilter(CustomAuthenticationFilter.java:64)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter.doFilter(OAuth2AuthenticationProcessingFilter.java:140)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:115)\r\n\tat
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat
org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57)\r\n\tat
org.springframework.web.filter.OncePerRequestFilter.doF

[Dhis2-devs] JS embeds broken in 2.22

2016-02-04 Thread Matt Berg
Hi everyone,

JS embeds seem to be broken on 2.22.

Get 404 on these links.

http://dhis2-cdn.org/v222/ext/resources/css/ext-plugin-gray.css"; />
http://dhis2-cdn.org/v222/ext/ext-all.js";>
http://dhis2-cdn.org/v222/plugin/chart.js";>

Thanks,

Matt

>
___
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] Nightly Batch-Jobs

2016-02-04 Thread Uwe Wahser
Dear all,

since we are doing nightly data-loads into DHIS2 with a 3rd party ETL-tool, we
are obliged to control the DHIS2 background jobs as much as possible via api to
avoid conflicts with the loading processes.

Although I turned of all of the batch-functionalities in Maintenance-Scheduling,
there is an error message every night at 2:00 in catalina.out: "Could not obtain
transaction-synchronized Session for current thread" (more at the end of this
mail)

The error message appears at a time, when my jobs are already through, and I
don't see any negative side aspects (getting a clean log would be nice, though).
But I'd need to know what else is scheduled in the background out-of-the-box,
how to stop it and how to trigger it via api, as I want to avoid locks, memory
shortages etc. due to colliding batches.

DHIS2, Version 22, Build 21765, Standard Ubuntu 14.04 & Oracle 8

Any hint would be appreciated,

Thanks a lot, Uwe

--- catalina.out ---
* ERROR 2016-01-25 02:00:00,015 Unexpected error occurred in scheduled task.
(TaskUtils.java [taskScheduler-8])
org.hibernate.HibernateException: Could not obtain transaction-synchronized
Session for current thread
at
org.springframework.orm.hibernate4.SpringSessionContext.currentSession(SpringSessionContext.java:134)
at
org.hibernate.internal.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:993)
at
org.hisp.dhis.hibernate.HibernateGenericStore.getSharingCriteria(HibernateGenericStore.java:205)
at
org.hisp.dhis.hibernate.HibernateGenericStore.getSharingCriteria(HibernateGenericStore.java:200)
at
org.hisp.dhis.common.hibernate.HibernateIdentifiableObjectStore.getAllLeCreated(HibernateIdentifiableObjectStore.java:404)
at
org.hisp.dhis.fileresource.DefaultFileResourceService.getOrphanedFileResources(DefaultFileResourceService.java:138)
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:317)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
at com.sun.proxy.$Proxy78.getOrphanedFileResources(Unknown Source)
at
org.hisp.dhis.fileresource.FileResourceCleanUpTask.run(FileResourceCleanUpTask.java:58)
at
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at
org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
--- catalina.out ---

___
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] Delete current user functionality

2016-02-04 Thread Savita Dabral
*Hello All,*

*Delete current user’ functionality is not working for the newly created
user and application prompts exception message ‘An exception occurred,
Sorry! The system failed to execute the operation. Usually, no data is lost
and you can continue working by going back to the previous page.*

*If we delete current user then all the thing ( like chart , category
 option , category option group etc) that user did using that user id need
to be deleted.*

*So I want to know the solution  what should we do . we have three option*
*1. Delete user and all related task related to user id*
*2. We can disable current user *
*3. remove the delete current user functionality*

*Thanks,*
*Savita Dabral*
___
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] Nightly Batch-Jobs

2016-02-04 Thread Uwe Wahser
Hi Halvdan,

thanks for the quick response and thanks for looking at it, although it doesn't
really sound dangerous to my setting.

Between the lines I understand that this is the only internally scheduled job,
or are any others to be aware of (cache deletion, index rebuilds etc.)?

As you are planning to make it more flexible it might be worthwhile to make it
available as an api-endpoint for external triggering and include a deselect into
the scheduling options as there might be people who want to upload files via api
- I would imagine that cleaning up while uploading might cause some problems ...

Regards, Uwe

> Halvdan Grelland  hat am 25. Januar 2016 um 18:23
> geschrieben:
> 
> 
> Hi,
> 
> The (failed) job you are seeing in the logs is an internal (!) cleanup task
> which is ran at 2AM every 24H. In short, the task is necessary maintenance
> which removes orphaned files (FileResources) which have been posted to the
> instance but are marked for deletion.
> 
> Normally this task would run at 2AM, check for any orphaned files and, if
> any are found, delete them (and their DB references). In most realistic
> cases we are talking about a very small number of deletions, and more often
> than not none; not really a 'batch job' as such.
> 
> Unfortunately there seems to be a bug with the implementation which causes
> the exception you're seeing. I'll have to look into that and get a fix out.
> 
> The good news, though, is that it's entirely unproblematic to leave this as
> is for now. It is just a failed background task which consumes virtually no
> resources and dies immediately after execution start. It should not affect
> anything else, but if you are indeed using the file storage capabilities
> (for data values/tracker) in your instance you might theoretically
> experience orphaned files piling up in case of client side issues. These
> are easy to remove once there is a fix released, though, not to worry.
> 
> As for configuring the time at which this task is ran (or if it is ran at
> all) this is not in place yet but will be more flexible in future versions.
> As said, though, it really should not affect your use case at all.
> 
> Hope that answers your question. Thanks for reporting!
> 
> Halvdan Grelland, DHIS 2 Core developer
> 
> 2016-01-25 14:26 GMT+01:00 Uwe Wahser :
> 
> > Dear all,
> >
> > since we are doing nightly data-loads into DHIS2 with a 3rd party
> > ETL-tool, we
> > are obliged to control the DHIS2 background jobs as much as possible via
> > api to
> > avoid conflicts with the loading processes.
> >
> > Although I turned of all of the batch-functionalities in
> > Maintenance-Scheduling,
> > there is an error message every night at 2:00 in catalina.out: "Could not
> > obtain
> > transaction-synchronized Session for current thread" (more at the end of
> > this
> > mail)
> >
> > The error message appears at a time, when my jobs are already through, and
> > I
> > don't see any negative side aspects (getting a clean log would be nice,
> > though).
> > But I'd need to know what else is scheduled in the background
> > out-of-the-box,
> > how to stop it and how to trigger it via api, as I want to avoid locks,
> > memory
> > shortages etc. due to colliding batches.
> >
> > DHIS2, Version 22, Build 21765, Standard Ubuntu 14.04 & Oracle 8
> >
> > Any hint would be appreciated,
> >
> > Thanks a lot, Uwe
> >
> > --- catalina.out ---
> > * ERROR 2016-01-25 02:00:00,015 Unexpected error occurred in scheduled
> > task.
> > (TaskUtils.java [taskScheduler-8])
> > org.hibernate.HibernateException: Could not obtain transaction-synchronized
> > Session for current thread
> > at
> >
> > org.springframework.orm.hibernate4.SpringSessionContext.currentSession(SpringSessionContext.java:134)
> > at
> >
> > org.hibernate.internal.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:993)
> > at
> >
> > org.hisp.dhis.hibernate.HibernateGenericStore.getSharingCriteria(HibernateGenericStore.java:205)
> > at
> >
> > org.hisp.dhis.hibernate.HibernateGenericStore.getSharingCriteria(HibernateGenericStore.java:200)
> > at
> >
> > org.hisp.dhis.common.hibernate.HibernateIdentifiableObjectStore.getAllLeCreated(HibernateIdentifiableObjectStore.java:404)
> > at
> >
> > org.hisp.dhis.fileresource.DefaultFileResourceService.getOrphanedFileResources(DefaultFileResourceService.java:138)
> > 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:317)
> > at
> >
> > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
> > at com.sun.

[Dhis2-devs] Issue with Settings App after upgrade to 2.22

2016-02-04 Thread Ese Egerega
Hello,

I am having trouble with the Settings App after upgrade from 2.21 to 2.22.

When I click on Apps and on Settings, the page continues to load for hours
(see snapshot below) but it never displays the Settings page.

I have cleared cache and switched to Tomcat 8 but it didn't make a
difference. Meanwhile, nothing shows up in tomcat/logs

The interesting part is that when I roll the server back to dhis2.21 the
settings App loads fine but not with 2.22.

I am using Apache server with Tomcat 7.0.67 and Java 8
dhis2 build version: 21775

I will appreciate any help.

Thanks,

Ese

[image: Inline image 1]
___
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] New translation projects. Help needed

2016-02-04 Thread David Hagan
Afternoon Jason,

I’ve noted that you’ve added an Android tracks capture ‘project’ to the
translation server, wth a French option listed. A couple of questions:

   - Does the Android Tracker Capture App actually use/synch with this or
   is it a placeholder for the future?
   - If you are using this for translations, will you also do it for the
   Android Event Capture app?
   - If the answer to the above is yes, can you add in Ukrainian and
   Russian language options? We have an urgent need to translate the prompts
   in both Android apps and will turn around the translations very rapidly.

David



On 14 January 2016 at 14:47, Jason Pickering 
wrote:

> Hi Everyone,
>
> We have added three new translation projects to the translation server
>
> http://translate.dhis2.org/
>
> which are the Maintenance App, the Settings app and the App Management
> app.
>
> If you would like to see your language fully supported in the next release
> (2.22) and have some resources to help out with the translations, you
> should be able to get started right away.  There are quite a few
> outstanding and new fields which will need to be updated.
>
> We are still working on some of the automation aspects of the translation
> work flow, so for the meantime, please let me (or through the dev list)
> know once you have completed your work, and we will take care of getting it
> committed back into DHIS2.
>
> Best regards,
> Jason
>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
>
>
> ___
> 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] Multi-tenancy in DHIS2

2016-02-04 Thread Matt Berg
Hi everyone,

We're interested in potentially using DHIS2 as a headless service for
indicators.

I'm curious how DHIS2 supports multi-tenancy.

Is this something that's supported with core DHIS2 or at the database
level?  I've done a bit of searching but haven't been able to dig up much.
If someone can point us in the right direction it would be greatly
appreciated.

Thanks,

Matt
___
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] dhis version 2.22 is released

2016-02-04 Thread pope oba
Great job team.

Just about time to improve the GUI and reporting just got interesting.

Regards,

-Original Message-
From: "Lars Helge Øverland" 
Sent: ‎15/‎01/‎2016 23:02
To: "DHIS 2 Users list" ; "DHIS 2 Developers 
list" 
Subject: [Dhis2-users] dhis version 2.22 is released

Hi all,


DHIS version 2.22 is out with a lot of great new features and improvements. 


Log in with admin/district on the demo system.



Data elements and indicators app: A completely new app for data elements and 
indicators maintenance features a much slicker user experience, with on-the-fly 
search, “access” and “last updated” visible in the lists, a new group editor, 
and much better looks.


Demo | Screenshot 1 | 2 | 3



Integrated tracker analytics: Tracker-type data elements, attributes and 
program indicators can now be included in aggregate indicators. This allows for 
creating integrated analysis through indicators where e.g. the numerator is 
being collected in a program while the numerator is collected in an aggregate 
form. This means that you can produce integrated analysis without caring about 
whether the data comes from routine forms, anonymous events or tracking.


Demo 1 | 2 | Screenshot 1 | 2



Multiple programs in favorites: Data elements and attributes from any number of 
programs can now be included in the same pivot table or chart favorite.


Demo | Screenshot



File cloud storage in tracker: The tracker capture and event capture apps now 
support file storage for data elements of type file. This allows you to use 
tracker as a document repository, and to upload documentation and files related 
to events or people. Files can be stored either on the Web server or sent 
directly to AWS S3 cloud storage.


Screenshot 1 | 2



Tracker data audit: Tracker capture and event capture now store the audit trail 
of changes to data and make it readily available by clicking on the audit icon 
next to each input field in the form. This is useful to view historical changes 
to information and a requirement in many settings where sensitive data is being 
stored.


Screenshot



Improved tracker capture: The tracker capture app has received a range of 
improvements.


- Yes/No fields are rendered as radio-buttons instead of drop-downs for faster 
data entry. 


Screenshot | Demo


- The enrollment and active programs widget have been merged for better 
usability.


Screenshot


- Easy search for option sets: Option sets can be searched from within the data 
entry widget.


Screenshot


- Enrollments can be incompleted in order to change existing values.
Screenshot


- You can filter for people who have a scheduled event today.


Screenshot


- Events of repeatable program stages can be viewed and edited in a list.


Screenshot 1 | 2


- Tracker data element and attribute values can contain up to 50’000 characters.


- The widgets in the tracker dashboard displays a loading indicator until data 
is available.


- Whether to include due date input field can be configured per program.


- Whether to list people on the front page can be configured per program.



Encryption: Tracker now lets you encrypt identifiable / confidential 
information in the database. You can set a tracked attribute to “confidential”, 
which will encrypt the information you capture for it. This protects against 
attacks directly against the database. Note that due to the nature of 
encryption you cannot query or do analytics for encrypted attributes. 
Encryption requires some extra configuration which is outlined in the docs.


Docs | Screenshot



LDAP: DHIS 2 now supports authentication against an LDAP server. This is useful 
in order to centralize user credentials across multiple systems. The LDAP 
connection can be specified in the dhis configuration file. A DHIS 2 user 
account can be matched to a di

[The entire original message is not included.]___
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] dhis version 2.22 is released

2016-02-04 Thread Matt Berg
Hi Lars,

This looks great.

In the indicator section, I'm able to see edit but can't edit anything.
Are others having this issue or is this something on our end.  We didn't do
a data migration just updated the war file.

Thanks,

Matt

On Mon, Jan 18, 2016 at 8:53 AM, Bridget Magoba 
wrote:

> Well done Lars and team.
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+bridgetmagoba=
> mifumi@lists.launchpad.net] *On Behalf Of *Lars Helge Øverland
> *Sent:* Saturday, January 16, 2016 1:03 AM
> *To:* DHIS 2 Users list; DHIS 2 Developers list
> *Subject:* [Dhis2-users] dhis version 2.22 is released
>
>
>
> Hi all,
>
>
> DHIS version 2.22 is out with a lot of great new features and
> improvements.
>
>
>
> Log in with admin/district on the demo 
> system.
>
>
>
> *Data elements and indicators app:* A completely new app for data
> elements and indicators maintenance features a much slicker user
> experience, with on-the-fly search, “access” and “last updated” visible in
> the lists, a new group editor, and much better looks.
>
>
>
> Demo  | Screenshot 1
>  | 2
>  | 3
> 
>
>
>
> *Integrated tracker analytics:* Tracker-type data elements, attributes
> and program indicators can now be included in aggregate indicators. This
> allows for creating integrated analysis through indicators where e.g. the
> numerator is being collected in a program while the numerator is collected
> in an aggregate form. This means that you can produce integrated analysis
> without caring about whether the data comes from routine forms, anonymous
> events or tracking.
>
>
>
> Demo 1
>  | 2
>  | 
> Screenshot
> 1
> 
> | 2 
>
>
>
> *Multiple programs in favorites:* Data elements and attributes from any
> number of programs can now be included in the same pivot table or chart
> favorite.
>
>
>
> Demo
>  |
> Screenshot
> 
>
>
>
> *File cloud storage in tracker:* The tracker capture and event capture
> apps now support file storage for data elements of type file. This allows
> you to use tracker as a document repository, and to upload documentation
> and files related to events or people. Files can be stored either on the
> Web server or sent directly to AWS S3  cloud
> storage.
>
>
>
> Screenshot 1
>  | 2
> 
>
>
>
> *Tracker data audit:* Tracker capture and event capture now store the
> audit trail of changes to data and make it readily available by clicking on
> the audit icon next to each input field in the form. This is useful to view
> historical changes to information and a requirement in many settings where
> sensitive data is being stored.
>
>
>
> Screenshot 
>
>
>
> *Improved tracker capture:* The tracker capture app has received a range
> of improvements.
>
>
>
> - Yes/No fields are rendered as radio-buttons instead of drop-downs for
> faster data entry.
>
>
>
> Screenshot  | *Demo
> *
>
>
>
> - The enrollment and active programs widget have been merged for better
> usability.
>
>
>
> Screenshot 
>
>
>
> - Easy search for option sets: Option sets can be searched from within the
> data entry widget.
>
>
>
> Screenshot 
>
>
>
> - Enrollments can be incompleted in order to change existing values.
>
> Screenshot 
>
>
>
> - You can filter for people who have a scheduled event today.
>
>
>
> Screenshot
> 
>
>
>
> - Events of repeatable program stages can be viewed and edited in a list.
>
>
>
> Screenshot 1
> 
> | 2
> 
>
>
>
> - Tracker data element and attribute values can contain up to 50’000
> characters.
>
>
>
> - The widgets in the tracker dashboard displays a loading indicator until
> data is available.
>

Re: [Dhis2-devs] [Dhis2-users] Changed CSV-Format for OrgUnits

2016-02-04 Thread Uwe Wahser
update inline
> Uwe Wahser  hat am 17. Dezember 2015 um 06:23 geschrieben:
> 
> 
> Dear all,
> 
> according to a previous post on the users list there have obviously been
> changes
> in the CSV-format for importing OrgUnits. Some have been documented, others
> not
> (or might be bugs):
> 
> - feature format seems to be mandatory now. I don't know whether that makes
> sense, if it does, please indicate that in the docs, too.
> - If you decide to change the docs on that, please also add a column with the
> technical names to be included in the header line of the csv - the names in
> the
> example differ from the names in the format specification. (or indicate,
> whether
> the header line is optional)
> - the import summary records a funny error message. Don't know whether it's
> new,
> but it seems to be wrong: Validation Violations:
> [ValidationViolation{property='id', message='Allowed range for length [11,
> 11],
> length is 7', value=NAIROBI}] 
UPDATE: only uid's >= 11char were imported - must be a bug
> 
> I could have posted this as bug-report, but I wasn't sure, whether those are
> bugs or features ...
> 
> Regards,
> 
> Uwe
> 
> ___
> 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] Exception while seeking JSON response of Pivot Table while using Program Indicators/Event data items

2016-02-04 Thread Saurabh
Hi team

We have created some program indicators, and are using them to generate reports 
in Pivot Table module.

The team was trying to get a JSON response for the created pivot table, but an 
exception comes when a JSON response is sought through the following selections 
'Download —>Plain data source—>JSON’.

I checked for the same on the demo website (https://play.dhis2.org/dev 
), and got the same exception when followed the 
same steps using 'Program Indicators', however when ‘Indicators’ were selected 
and JSON response was sought it worked fine.

Have created a ‘Child Health’ favorite using program indicators on the dev 
instance, here is the link: 
https://play.dhis2.org/dev/api/analytics.json?dimension=dx:GxdhnY5wmHq;p2Zxg0wcPQ3;hCYU0G5Ti2T;rXoaHGAXWy9;fM7RZGVndZE;eo73fim1b2i;tt54DiKuQ9c&dimension=pe:LAST_12_MONTHS&filter=ou:ImspTQPwCqd&displayProperty=NAME&program=IpHINAT79UW
 


Requesting help on this please!

Regards

Saurabh

___
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] dhis version 2.22 is released

2016-02-04 Thread Ese Egerega
Dear Lars,

Thanks a lot for sharing this information.

These new features would help our work immensely. The data element and
indicator app is really slick.

The introduction of an Integrated Tracker Analytics makes the case for
discontinuing the Aggregate Query builder.

Kudos to the development team.

Regards,
Ese

On Sat, Jan 16, 2016 at 4:49 AM, Pamod Amarakoon  wrote:

> Thanx a lot Dev Team !
>
> On Sat, Jan 16, 2016 at 3:32 AM, Lars Helge Øverland 
> wrote:
>
>> Hi all,
>>
>> DHIS version 2.22 is out with a lot of great new features and
>> improvements.
>>
>> Log in with admin/district on the demo 
>> system.
>>
>>
>> Data elements and indicators app: A completely new app for data elements
>> and indicators maintenance features a much slicker user experience, with
>> on-the-fly search, “access” and “last updated” visible in the lists, a new
>> group editor, and much better looks.
>>
>> Demo  | Screenshot 1
>>  | 2
>>  | 3
>> 
>>
>>
>> Integrated tracker analytics: Tracker-type data elements, attributes and
>> program indicators can now be included in aggregate indicators. This allows
>> for creating integrated analysis through indicators where e.g. the
>> numerator is being collected in a program while the numerator is collected
>> in an aggregate form. This means that you can produce integrated analysis
>> without caring about whether the data comes from routine forms, anonymous
>> events or tracking.
>>
>> Demo 1
>>  |
>> 2 
>> | Screenshot 1
>> 
>> | 2 
>>
>>
>> Multiple programs in favorites: Data elements and attributes from any
>> number of programs can now be included in the same pivot table or chart
>> favorite.
>>
>> Demo
>>  |
>> Screenshot
>> 
>>
>>
>> File cloud storage in tracker: The tracker capture and event capture
>> apps now support file storage for data elements of type file. This allows
>> you to use tracker as a document repository, and to upload documentation
>> and files related to events or people. Files can be stored either on the
>> Web server or sent directly to AWS S3  cloud
>> storage.
>>
>> Screenshot 1
>>  | 2
>> 
>>
>>
>> Tracker data audit: Tracker capture and event capture now store the
>> audit trail of changes to data and make it readily available by clicking on
>> the audit icon next to each input field in the form. This is useful to view
>> historical changes to information and a requirement in many settings where
>> sensitive data is being stored.
>>
>> Screenshot 
>>
>>
>> Improved tracker capture: The tracker capture app has received a range
>> of improvements.
>>
>> - Yes/No fields are rendered as radio-buttons instead of drop-downs for
>> faster data entry.
>>
>> Screenshot  | Demo
>> 
>>
>>
>> - The enrollment and active programs widget have been merged for better
>> usability.
>>
>> Screenshot 
>>
>> - Easy search for option sets: Option sets can be searched from within
>> the data entry widget.
>>
>> Screenshot 
>>
>> - Enrollments can be incompleted in order to change existing values.
>>
>> Screenshot
>> 
>>
>> - You can filter for people who have a scheduled event today.
>>
>> Screenshot
>> 
>>
>> - Events of repeatable program stages can be viewed and edited in a list.
>>
>> Screenshot 1
>> 
>> | 2
>> 
>>
>> - Tracker data element and attribute values can contain up to 50’000
>> characters.
>>
>> - The widgets in the tracker dashboard displays a loading indicator until
>> data is available.
>>
>> - Whether to include due date input field can be configured per program.
>>
>> - Whether to list people on the front page can be configur

Re: [Dhis2-devs] [Dhis2-users] Org unit is being unassigned after edit

2016-02-04 Thread uwe wahser

Just to support: I saw the same in 2.21


Am 31.12.2015 um 07:31 schrieb Hannan Khan:

Dear All

Happy new year.

Sorry to disturb you all during this holidays, but this is urgent.

When ever we are editing orgunit, correct the spelling, code etc., all 
it data sets are become unassigned. so we have to reassigned all data 
sets again which is quite cumbersome.


Fatima earlier reported this issue with build 19273. I waited and try 
with new build.


we are using version 19 build 19285.  how we resolve this? need urgent 
help.


Regards

Hannan
HISP Bangladesh


___
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] DHIS2 PROBLEM

2016-02-04 Thread Ian Manyama
Hello team,

I have been introduced to DHIS2 and i have managed to use it web api okay

I have installed dhis2 live application and am using built in database

My problem is when i do data entry i can not see my data in reports or
pivot table or data visualizer

Please help

Regards,
Ian Manyama

___
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-MNO-Mobile Money API Interoperability/Integration

2016-02-04 Thread Pierre Dane
Hi Patrick,

This sounds interesting - I'm afraid I don't have much to share on the MNO
API front - but I'd love to find out more about your use case. Are you
thinking about integrating this into a tracker program? or simply
interoperating for reporting purposes?
In South Africa we use DHIS2 for tracking of interactions with the MNOs via
an mHealth platform - happy to share knowledge about this. Have attached a
presentation I gave at the Oslo Academy last year.

Best,

Pierre


On Fri, Dec 4, 2015 at 4:27 PM, Patrick Malone  wrote:

> Hi All,
>
>
>
> A few weeks back, I sent an inquiry to the list-serv asking about DHIS-2
> integration with grassroots level mobile data collection tools. I had very
> productive conversations with several respondents about the overall
> ecosystem, as well as existing tools and middleware that have addressed
> this question of interoperability.
>
>
>
> Now, I’m hoping to learn more about DHIS-2 integration, but rather than
> with mobile data collection tools, I am more interested in the
> interoperability of DHIS-2 with mobile network operator application program
> interfaces, especially as it pertains to digital financial services and
> mobile money. Any information about DHIS-2 and MNO APIs, or pointers to
> others working with DHIS-2 who might be good sources of information would
> be greatly appreciated!
>
>
>
> Regards,
>
>
>
> Patrick
>
> --
> Patrick Malone
> MA, Law and Diplomacy | Graduate, 2015
> The Fletcher School | Tufts University
> Email: pmalon...@gmail.com  
> Skype: pmalone10
> Phone: +1 516-655-1784
>
> ___
> 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*

Jembi Health Systems
Software Development Manager
tel: +27 (0)21 701 0939
cel: +27 (0)83 680 8274
email: pie...@jembi.org
web: www.jembi.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] Changed CSV-Format for OrgUnits

2016-02-04 Thread Uwe Wahser
Dear all,

according to a previous post on the users list there have obviously been changes
in the CSV-format for importing OrgUnits. Some have been documented, others not
(or might be bugs):

- feature format seems to be mandatory now. I don't know whether that makes
sense, if it does, please indicate that in the docs, too.
- If you decide to change the docs on that, please also add a column with the
technical names to be included in the header line of the csv - the names in the
example differ from the names in the format specification. (or indicate, whether
the header line is optional)
- the import summary records a funny error message. Don't know whether it's new,
but it seems to be wrong: Validation Violations:
[ValidationViolation{property='id', message='Allowed range for length [11, 11],
length is 7', value=NAIROBI}] 

I could have posted this as bug-report, but I wasn't sure, whether those are
bugs or features ...

Regards,

Uwe

___
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] Changed CSV-Format for OrgUnits

2016-02-04 Thread Uwe Wahser
Thanks for quick answers, Jason, Knut and Calle.

Unfortunately the original csv is no longer available, as I modified it a lot in
order to get my data in. I can list my steps and observations, though, if that
helps. Some things will be fine with updated documentations (header line, to
some extend the UID-problem).

Here's my log of today:

The initial file looked like the demo from the documentation, except that the
uid was filled with the county-name and the description-column was filled. This
file produced the following error in catalina.out (no error in gui, just rest of
import parameters):

* ERROR 2015-12-17 09:12:04,879 Unexpected error occurred in scheduled task.
(TaskUtils.java [taskScheduler-5])
java.lang.NullPointerException: Name is null
at java.lang.Enum.valueOf(Enum.java:236)
at
org.hisp.dhis.organisationunit.FeatureType.valueOf(FeatureType.java:37)
at
org.hisp.dhis.dxf2.csv.DefaultCsvImportService.organisationUnitsFromCsv(DefaultCsvImportService.java:324)
at
org.hisp.dhis.dxf2.csv.DefaultCsvImportService.fromCsv(DefaultCsvImportService.java:116)
at
org.hisp.dhis.importexport.action.util.ImportMetaDataCsvTask.call(ImportMetaDataCsvTask.java:92)
[...]

I then specified all columns as empty values and inserted values for the feature
type. DHIS2 would do the import, but reject all counties < 11char with the
posted error message.

I then filled up the field uid with spaces to complete to 11char. This worked -
all counties were imported and visible in the left hand hierarchy in the
OrgUnit-Editor and in the pivot table. 

However, when I imported the next hierarchy level in the same way, DHIS2 refused
to show the newly imported OrgUnits under their respective parents (not even
under root) - in pivot tables they showed up correctly. The counties would show
a plus-sign to indicate that there is something underneath, but the wouldn't
open up when clicking on them.

I then replaced all spaces with underscore (_) in uid, code, name etc fields of
the tables organisationunit and _orgunitstructure. As an effect this let me open
all county-nodes to see the underlying orgunits - except for one: this one had a
(') in uid, code, name etc (eg. ROCK'NROLL).

I replaced this as well. Now the hierarchies seem to show up properly everywhere
(editor, pivot tables) and I can even export all orgunits via Metadata-Export
(detailed and simple). The only problem remaining is the api-export: here DHIS2
sorts the OrgUnits nicely by name and then stops the export after 49 entries
(the json-file is properly terminated with all teh brackets) - however, that's
the most important part for me as I need to match the orgunit-codes first, when
importing data into datasets via api.

Anyway, I'm giving up for today - tomorrow I might decide to use the api's to
import the orgHierarchy in the ETL process. I'll need that anyway for nightly
updates, I was just hoping to get some quick gains by doing this manually.

Lot's of words, hope someone can get clues out of this, maybe the reason lies in
the (') although all contents were encapsulated by ("") ...

Regards, Uwe

> Jason Pickering  hat am 17. Dezember 2015 um
> 08:01 geschrieben:
> 
> 
> Hi Uwe,
> Thanks for the feedback. We will take a look at it.
> 
> From the docs
> 
> "DHIS 2 supports import of metadata in the CSV format. Columns which are
> not required can be omitted in the CSV file, but the order will be
> affected. If you would like to specify columns which appear late in the
> order but not specify columns which appear early in the order you can
> include empty columns ("") for them. "
> 
> The language here is not as clear as it could be. I will edit it a bit to
> reflect the fact that as Calle says, the header is optional and ignored.
> The order of the columns however is what is important. The required columns
> are mandatory, other columns are optional as indicated in the docs,
> however, if you are using columns which appear later in the order, you must
> include empty columns, so that the order of the columns is correct.
> FeatureType should not be required, but it should be required if you choose
> to include coordinates. We will check on this.
> 
> It might be helpful if you could share a snippet of your CSV file with us,
> which might make diagnosing things a bit easier.
> 
> Regards,
> Jason
> 
> 
> On Thu, Dec 17, 2015 at 7:22 AM, Calle Hedberg 
> wrote:
> 
> > Hi,
> >
> > 1.
> > The header row is optional - it will automatically be discarded if it's
> > there. CSV import follows a pre-defined list of columns - you can drop
> > anything at the end, but must include extra commas if you have blank
> > columns in between relevant columns.
> >
> > 2. All UIDs must be 11 characters, and starting with a letter (NOT a
> > digit).
> >
> > Regards
> > Calle
> >
> > On 17 December 2015 at 08:06, Knut Staring  wrote:
> >
> >> I think header is completely optional (so docs should reflect that).
> >>
> >> On Thu, Dec 17, 2015 at 6:28 A

Re: [Dhis2-devs] [Dhis2-users] Changed CSV-Format for OrgUnits

2016-02-04 Thread Uwe Wahser
Hi Lars,

I did some more testing on this: 

1) featuretype: I managed to upload the minimized demo from the documentation to
the dhis2-demo server. On my server I got the same error message as before, so
I'll just try to upload a new build of 2.21 and hopefully I'll be fine.

2) apostrophe in uid: I loaded the attached test-file into the demo
installation: Test-province and Toast-province with one child respectively.
Test-province received an uid with apostrophe: ROCKN'ROLL. The effect is, that
you can open Toast in the editor, but not Test although the plus sign indicates
children (see screenshot). Equally the api only returns a few organizations -
alphabetically sorted - up to Baoma MCHP
(https://play.dhis2.org/demo/api/organisationUnits.json).

I didn't do another test for spaces, but I assume that the uid can only digest
[A..Za..z0..9] without causing hick-ups elsewhere, although other characters get
imported without an error message. I propose to specify this in the manual and
to do some checks on valid characters when importing.

Sorry for not updating the docu myself, but I still feel shy ;-)

Regards, 

Uwe

> Lars Helge Øverland  hat am 18. Dezember 2015 um 10:37
> geschrieben:
> 
> 
> Hi Uwe,
> 
> unfortunately the CSV metadata import docs lagged behind a bit when we
> forked the 2.21 docs.
> 
> If you go to the "latest build documentation" on the docs page you will the
> correct one. Direct link:
> 
> 
> http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s10.html#d5e964
> 
> The reason for the "java.lang.NullPointerException: Name is null" crash is
> that we changed to using enums
>  , so that
> several the "predefined options" changed:
> 
> Feature typeNoNONE | MULTI_POLYGON | POLYGON | POINT | SYMBOLGeospatial
> feature type.
> 
> 
> In general, uids must be 11 alphanumerics, letter first. Please have a look
> at that link, try again and let us know how it goes.
> 
> regards,
> 
> Lars
> 
> 
> 
> 
> 
> On Thu, Dec 17, 2015 at 2:59 PM, Uwe Wahser  wrote:
> 
> > Thanks for quick answers, Jason, Knut and Calle.
> >
> > Unfortunately the original csv is no longer available, as I modified it a
> > lot in
> > order to get my data in. I can list my steps and observations, though, if
> > that
> > helps. Some things will be fine with updated documentations (header line,
> > to
> > some extend the UID-problem).
> >
> > Here's my log of today:
> >
> > The initial file looked like the demo from the documentation, except that
> > the
> > uid was filled with the county-name and the description-column was filled.
> > This
> > file produced the following error in catalina.out (no error in gui, just
> > rest of
> > import parameters):
> >
> > * ERROR 2015-12-17 09:12:04,879 Unexpected error occurred in scheduled
> > task.
> > (TaskUtils.java [taskScheduler-5])
> > java.lang.NullPointerException: Name is null
> > at java.lang.Enum.valueOf(Enum.java:236)
> > at
> > org.hisp.dhis.organisationunit.FeatureType.valueOf(FeatureType.java:37)
> > at
> >
> > org.hisp.dhis.dxf2.csv.DefaultCsvImportService.organisationUnitsFromCsv(DefaultCsvImportService.java:324)
> > at
> >
> > org.hisp.dhis.dxf2.csv.DefaultCsvImportService.fromCsv(DefaultCsvImportService.java:116)
> > at
> >
> > org.hisp.dhis.importexport.action.util.ImportMetaDataCsvTask.call(ImportMetaDataCsvTask.java:92)
> > [...]
> >
> > I then specified all columns as empty values and inserted values for the
> > feature
> > type. DHIS2 would do the import, but reject all counties < 11char with the
> > posted error message.
> >
> > I then filled up the field uid with spaces to complete to 11char. This
> > worked -
> > all counties were imported and visible in the left hand hierarchy in the
> > OrgUnit-Editor and in the pivot table.
> >
> > However, when I imported the next hierarchy level in the same way, DHIS2
> > refused
> > to show the newly imported OrgUnits under their respective parents (not
> > even
> > under root) - in pivot tables they showed up correctly. The counties would
> > show
> > a plus-sign to indicate that there is something underneath, but the
> > wouldn't
> > open up when clicking on them.
> >
> > I then replaced all spaces with underscore (_) in uid, code, name etc
> > fields of
> > the tables organisationunit and _orgunitstructure. As an effect this let
> > me open
> > all county-nodes to see the underlying orgunits - except for one: this one
> > had a
> > (') in uid, code, name etc (eg. ROCK'NROLL).
> >
> > I replaced this as well. Now the hierarchies seem to show up properly
> > everywhere
> > (editor, pivot tables) and I can even export all orgunits via
> > Metadata-Export
> > (detailed and simple). The only problem remaining is the api-export: here
> > DHIS2
> > sorts the OrgUnits nicely by name and then stops the export after 49
> > entries
> > (the json-file is properly terminated with all teh brackets) - however,
> > that'

[Dhis2-devs] Automatically generated data element values

2016-02-04 Thread Ese Egerega
Hello,

Not sure if this is possible but we are trying to create a data element
with value that is automatically generated using a pre-defined format. The
field in question is a unique ID (e.g. TB Registration Number). In order to
prevent errors, we would like the field to be generated automatically at
data entry.

I have checked through the documentation but didn't see anything related to
this. I will appreciate any suggestions.

Thanks,
Ese
___
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] New way to share DHIS2 templates and tools

2016-02-04 Thread Patrick Tendayi Huni
Good Morning;

I am looking for DHIS2 expertise in Zimbabwe urgently,

Anyone within quick reach please reply to my email..
-- 
Patrick Tendayi Huni
Managing Consultant
Maxim Consulting Services (Pvt) Ltd
88 Crowhill Road, Quinnington, Harare
Tel: +263 774 686 621
| 0718 686 621
___
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 1520661] [NEW] All the data entered in DHIS2 installed in my laptop gets deleted after next fresh server start

2016-02-04 Thread सिग्देल सन्जोग
I Installed DHIS following the guidelines of Chapter 8. Installation

And in the *hibernate.properties* I have linked the database name as well.

In order to access the JDBC driver I also downloaded *libpg-java* but it
didn't work.
This time I updated the profile information but even those settings were
not saved.




*SanjogSigdel*

*UnG, Computer Science*

*DoCSE, Kathmandu University*
*Dhulikhel, Nepal*

On Sat, Nov 28, 2015 at 6:09 AM, Knut Staring  wrote:

> How did you install DHIS2? Are you linking it to Postgres?
>
> Knut
>
> On Sat, Nov 28, 2015 at 12:19 AM, Sanjog Sigdel 
> wrote:
>
>> Public bug reported:
>>
>> Recently I've installed DHIS2 on my laptop. So as a fresh start, I
>> created  5 some organization units upto facility levels, created some
>> data elements, category options and combinations too. Then I logged out
>> from DHIS, shutdown the tomcat server from my terminal with shutdown.sh
>> command. Next time I started the server and logged in with username:
>> admin and password : district. But this time their is no data that I
>> have saved. I'm not sure if it is a bug but I tried the same process
>> twice and my data everything I create is lost next time I run the
>> server.
>>
>> DHIS2 Version: 2.21
>> User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:42.0) Gecko/20100101
>> Firefox/42.0
>> server: apache-tomcat-8.0.28
>>
>> Right now I'm using server as localhost.
>>
>> ** Affects: dhis2
>>  Importance: Undecided
>>  Status: New
>>
>>
>> ** Tags: dataloss support technical
>>
>> --
>> You received this bug notification because you are a member of DHIS 2
>> developers, which is subscribed to DHIS.
>> https://bugs.launchpad.net/bugs/1520661
>>
>> Title:
>>   All the data entered in DHIS2 installed in my laptop  gets deleted
>>   after  next fresh server start
>>
>> Status in DHIS:
>>   New
>>
>> Bug description:
>>   Recently I've installed DHIS2 on my laptop. So as a fresh start, I
>>   created  5 some organization units upto facility levels, created some
>>   data elements, category options and combinations too. Then I logged
>>   out from DHIS, shutdown the tomcat server from my terminal with
>>   shutdown.sh command. Next time I started the server and logged in with
>>   username: admin and password : district. But this time their is no
>>   data that I have saved. I'm not sure if it is a bug but I tried the
>>   same process twice and my data everything I create is lost next time I
>>   run the server.
>>
>>   DHIS2 Version: 2.21
>>   User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:42.0)
>> Gecko/20100101 Firefox/42.0
>>   server: apache-tomcat-8.0.28
>>
>>   Right now I'm using server as localhost.
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/dhis2/+bug/1520661/+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
>>
>
>
>
> --
> 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


Re: [Dhis2-devs] [Dhis2-users] dhis global adoption map available

2016-02-04 Thread Antonia - Pro
Hi Lars,
we are working on a Pilot project for the development of a system of health
monitoring and surveillance activities based on DHIS 2 in the Autonomous
Region of Kurdistan - Iraq - coordinated by the University of Rome Tor
Vergata, and funded by the Italian Ministry for Foreign Affairs and
International Cooperation. The Kurdistan  Autonomous Region has their
own Ministry
of Health (separate from Iraqi),  with whom we collaborate.
http://www.informapro.it/
http://rudaw.net/sorani/lifestyle/240820153

The structure consists of three major governorates, with their hierarchical
structure:
ERBIL
DOHOUK
SULAYMANIYA

Our collaboration group is composed by:
University of Rome Tor Vergata (Italy)
Informapro  (Italy)
Euresist GEIE (EU - headquarters at Rome Italy)
Italconsult (Italy)

Our project manager is Dario Corsini, who is currently in Erbil for the
launch of the project.



[image: INFORMApro]  www.informa.pro - *Seguici
su *LinkedIn  [image: In]

INFORMAPRO S.r.l. - via Luigi Rava 43,  Roma 00149
tel. +39 06 5758926, fax +39  06 62207168
Skype: informa_antonia.bezenchek
Eng. Antonia Bezenchek - ICT  Manager

2015-11-20 11:08 GMT+01:00 Lars Helge Øverland :

> Hi all,
>
> we have produced a map with illustrates *global adoption* of DHIS 2 among
> ministries of health around the world. The map is created with, you guessed
> it, the DHIS 2 GIS app
> 
> :
>
> https://play.dhis2.org/world/dhis-web-mapping/index.html?id=dt5rXH0IE9u
>
> Log in with admin/district. To GIS to view the map or click the link above.
>
> We are working on a similar map of where *NGOs* are working with DHIS 2.
> Please let us know by replying to this mail or send it privately to post at
> dhis2.org.
>
> The system is found at play.dhis2.org/world.
>
> regards,
>
> Lars
>
>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org 
>
>
> ___
> 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] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20766: Update the settings app to v1.0.0-rc2

2016-02-04 Thread noreply

revno: 20766
committer: Nicolay Ramm 
branch nick: dhis2
timestamp: Mon 2015-10-19 15:29:47 +0200
message:
  Update the settings app to v1.0.0-rc2
added:
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/settings-app.js.map
modified:
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/settings-app.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
___
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] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21133: Apps. Now fetching apps from sonatype maven snapshot repository. Using maven dependency plugin to...

2016-02-04 Thread noreply

revno: 21133
committer: Lars Helge Overland 
branch nick: dhis2
timestamp: Thu 2015-11-19 17:14:50 +0100
message:
  Apps. Now fetching apps from sonatype maven snapshot repository. Using maven 
dependency plugin to copy content into war file. This avoids copying source 
files from github over to launchpad.
removed:
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/browser-polyfill.min.js
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/i18n_module_en.properties
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/i18n_module_es.properties
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/i18n_module_fr.properties
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/i18n_module_id.properties
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/i18n_module_km.properties
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/i18n_module_lo.properties
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/i18n_module_my.properties
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/i18n_module_pt.properties
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/i18n_module_pt_BR.properties
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/i18n_module_ru.properties
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/i18n_module_tg.properties
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/i18n_module_vi.properties
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/i18n/module/i18n_module_zh.properties
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/index.html
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/jquery.min.js
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/manifest.webapp
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/settings-app.js
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-settings/settings-app.js.map
modified:
  dhis-2/dhis-web/dhis-web-apps/pom.xml
  dhis-2/pom.xml


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
___
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] Fwd: Problem using d2:condition()

2016-02-04 Thread ramaso hasina
Hi all,

I've created a program with some program stages.
When I create a program indicator using the function d2:condition,
the result is not what I'm expected.

Example in the expression field :
  - d2:condition('1 > 0',1,0) => result "false".
  - d2:condition('#{w7N4mScR2g6.Sv4bRYIiSHy} == true',1,0) => result
"false" (#{w7N4mScR2g6.Sv4bRYIiSHy} having a "true" value)

Need help.

Thanks.

Hasina.
___
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] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21886: Minor

2016-02-04 Thread noreply

revno: 21886
committer: Lars Helge Overland 
branch nick: dhis2
timestamp: Thu 2016-02-04 23:31:24 +0100
message:
  Minor
modified:
  
dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataApprovalForm.vm
  
dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataSetReportForm.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataApprovalForm.vm'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataApprovalForm.vm	2014-12-29 02:30:26 +
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataApprovalForm.vm	2016-02-04 22:31:24 +
@@ -94,9 +94,9 @@
 
 
 $i18n.getString( "report_period" )
-
+
 
-
+
 
 
 

=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataSetReportForm.vm'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataSetReportForm.vm	2015-08-03 22:22:21 +
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataSetReportForm.vm	2016-02-04 22:31:24 +
@@ -66,7 +66,7 @@
 
 
 $i18n.getString( "report_period" )
-
+
   [ $i18n.getString( "select_period_type" ) ]
   #foreach ( $type in $periodTypes )
   $i18n.getString( $type.name )

___
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] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21885: Minor

2016-02-04 Thread noreply

revno: 21885
committer: Lars Helge Overland 
branch nick: dhis2
timestamp: Thu 2016-02-04 22:23:13 +0100
message:
  Minor
modified:
  
dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/metadata2/MetadataExportServiceTest.java
  
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/DataApprovalController.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/metadata2/MetadataExportServiceTest.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/metadata2/MetadataExportServiceTest.java	2016-01-27 03:37:57 +
+++ dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/metadata2/MetadataExportServiceTest.java	2016-02-04 21:23:13 +
@@ -69,7 +69,6 @@
 }
 
 @Test
-@SuppressWarnings( "unchecked" )
 public void testMetadataExport()
 {
 DataElementGroup deg1 = createDataElementGroup( 'A' );
@@ -100,7 +99,6 @@
 }
 
 @Test
-@SuppressWarnings( "unchecked" )
 public void testMetadataExportWithCustomClasses()
 {
 DataElementGroup deg1 = createDataElementGroup( 'A' );
@@ -135,7 +133,6 @@
 }
 
 @Test
-@SuppressWarnings( "unchecked" )
 public void testMetadataExportWithCustomQueries()
 {
 DataElementGroup deg1 = createDataElementGroup( 'A' );

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/DataApprovalController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/DataApprovalController.java	2016-02-04 02:25:03 +
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/DataApprovalController.java	2016-02-04 21:23:13 +
@@ -710,7 +710,7 @@
 User user = currentUserService.getCurrentUser();
 Date date = new Date();
 
-Set set = new HashSet<>(); // Avoid duplicates when different datasets have the same workflow
+Set set = new HashSet<>(); // Avoid duplicates when different data sets have the same work flow
 
 for ( DataSet dataSet : dataSets )
 {

___
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] GSOC 2016 opportunities at dhis2

2016-02-04 Thread Vishwajeet Srivastava
Hello all,

I am Vishwajeet from India, currently in my 3rd year of undergrad in
computer science and an android developer by profession.I am a big open
source enthusiast and currently contributing in various open source
communities.I am looking forward for contributing in dhis2 specifically in
android related projects.

I have few queries like if this year dhis2 is participating in GSoC or not?
also what are the android based opportunities for me in dhis2 and where can
I get help in case I get stuck with issues and moving forward.

Looking forward for some help.

Thanks in advance!

Regards,
Vishwajeet
___
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] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21884: Data value import. Removed the preheat cache option. The import will now never preheat cache, whi...

2016-02-04 Thread noreply

revno: 21884
committer: Lars Helge Overland 
branch nick: dhis2
timestamp: Thu 2016-02-04 17:10:24 +0100
message:
  Data value import. Removed the preheat cache option. The import will now 
never preheat cache, which is almost always faster.
modified:
  
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/DefaultDataValueSetService.java
  
dhis-2/dhis-web/dhis-web-importexport/src/main/java/org/hisp/dhis/importexport/action/datavalue/ImportDataValueAction.java
  
dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/importDataValue.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/DefaultDataValueSetService.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/DefaultDataValueSetService.java	2016-01-12 12:49:50 +
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/DefaultDataValueSetService.java	2016-02-04 16:10:24 +
@@ -90,12 +90,10 @@
 import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
-import java.util.Map;
 import java.util.Optional;
 import java.util.Set;
 
 import static org.apache.commons.lang3.StringUtils.trimToNull;
-import static org.hisp.dhis.common.IdentifiableProperty.UUID;
 import static org.hisp.dhis.system.notification.NotificationLevel.ERROR;
 import static org.hisp.dhis.system.notification.NotificationLevel.INFO;
 import static org.hisp.dhis.system.util.DateUtils.getDefaultDate;
@@ -587,17 +585,9 @@
 CachingMap>> dataElementOptionsMap = new CachingMap<>();
 
 //--
-// Load meta-data maps
+// Get meta-data maps
 //--
 
-if ( importOptions.isPreheatCache() )
-{
-notifier.notify( id, "Loading data elements and organisation units" );
-dataElementMap.putAll( identifiableObjectManager.getIdMap( DataElement.class, dataElementIdScheme ) );
-orgUnitMap.putAll( getOrgUnitMap( orgUnitIdScheme ) );
-clock.logTime( "Preheated data element and organisation unit caches" );
-}
-
 IdentifiableObjectCallable dataElementCallable = new IdentifiableObjectCallable<>(
 identifiableObjectManager, DataElement.class, dataElementIdScheme, null );
 IdentifiableObjectCallable orgUnitCallable = new IdentifiableObjectCallable<>(
@@ -982,11 +972,4 @@
 
 summary.setDataSetComplete( DateUtils.getMediumDateString( completeDate ) );
 }
-
-private Map getOrgUnitMap( IdScheme idScheme )
-{
-return idScheme.is( UUID ) ?
-organisationUnitService.getUuidOrganisationUnitMap() :
-identifiableObjectManager.getIdMap( OrganisationUnit.class, idScheme );
-}
 }

=== modified file 'dhis-2/dhis-web/dhis-web-importexport/src/main/java/org/hisp/dhis/importexport/action/datavalue/ImportDataValueAction.java'
--- dhis-2/dhis-web/dhis-web-importexport/src/main/java/org/hisp/dhis/importexport/action/datavalue/ImportDataValueAction.java	2016-01-04 02:27:49 +
+++ dhis-2/dhis-web/dhis-web-importexport/src/main/java/org/hisp/dhis/importexport/action/datavalue/ImportDataValueAction.java	2016-02-04 16:10:24 +
@@ -137,13 +137,6 @@
 this.importFormat = importFormat;
 }
 
-private boolean preheatCache = true;
-
-public void setPreheatCache( boolean preheatCache )
-{
-this.preheatCache = preheatCache;
-}
-
 // -
 // Action implementation
 // -
@@ -163,7 +156,7 @@
 in = StreamUtils.wrapAndCheckCompressionFormat( in );
 
 ImportOptions options = new ImportOptions().setDryRun( dryRun )
-.setPreheatCache( preheatCache ).setStrategy( strategy ).setSkipExistingCheck( skipExistingCheck )
+.setStrategy( strategy ).setSkipExistingCheck( skipExistingCheck )
 .setIdScheme( StringUtils.trimToNull( idScheme ) )
 .setDataElementIdScheme( StringUtils.trimToNull( dataElementIdScheme ) )
 .setOrgUnitIdScheme( StringUtils.trimToNull( orgUnitIdScheme ) );

=== modified file 'dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/importDataValue.vm'
--- dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/importDataValue.vm	2016-01-12 12:49:50 +
+++ dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-we

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21883: Set preheat cache to true as default

2016-02-04 Thread noreply

revno: 21883
committer: Lars Helge Overland 
branch nick: dhis2
timestamp: Thu 2016-02-04 16:46:58 +0100
message:
  Set preheat cache to true as default
modified:
  
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/common/ImportOptions.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/common/ImportOptions.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/common/ImportOptions.java	2016-01-04 02:27:49 +
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/common/ImportOptions.java	2016-02-04 15:46:58 +
@@ -48,7 +48,7 @@
 
 private boolean dryRun;
 
-private boolean preheatCache;
+private boolean preheatCache = true;
 
 private boolean async;
 

___
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] CSV import - specification of data type formats

2016-02-04 Thread Lars Helge Øverland
Hi Calle,


On Thu, Feb 4, 2016 at 12:28 PM, Calle Hedberg 
wrote:

> Hi,
>
> Two quick questions re CSV import - I cannot seem to find the relevant
> paragraphs in the documentation:
>
> What are the exact formats to use in the value field for data types
> - yes/no (yes/no? Y/N? Yes/No? true/false? 1/0?)
>

true | false


> - yes
>

true


> - date
>
>
dd.mm.




> Secondly, when importing CSV data values for data elements defined as
> "username" - does it require all values (usernames) to be valid DHIS2 users?
>

No.


regards,

Lars




>
> Regards
> Calle
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>
> ___
> 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 
___
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] CSV import - specification of data type formats

2016-02-04 Thread Knut Staring
Good questions, I suppose some could be gathered from doing an export to
CSV (or maybe not)?

http://dhis2.github.io/dhis2-docs/master/en/user/html/ch21s03.html#d5e4002

On Thu, Feb 4, 2016 at 12:28 PM, Calle Hedberg 
wrote:

> Hi,
>
> Two quick questions re CSV import - I cannot seem to find the relevant
> paragraphs in the documentation:
>
> What are the exact formats to use in the value field for data types
> - yes/no (yes/no? Y/N? Yes/No? true/false? 1/0?)
> - yes
> - date
>
> Secondly, when importing CSV data values for data elements defined as
> "username" - does it require all values (usernames) to be valid DHIS2 users?
>
> Regards
> Calle
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>
> ___
> 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
>
>


-- 
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


[Dhis2-devs] CSV import - specification of data type formats

2016-02-04 Thread Calle Hedberg
Hi,

Two quick questions re CSV import - I cannot seem to find the relevant
paragraphs in the documentation:

What are the exact formats to use in the value field for data types
- yes/no (yes/no? Y/N? Yes/No? true/false? 1/0?)
- yes
- date

Secondly, when importing CSV data values for data elements defined as
"username" - does it require all values (usernames) to be valid DHIS2 users?

Regards
Calle

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

***
___
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] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21882: tracker-capture: minor style change in providedElsewhere checkbox

2016-02-04 Thread noreply

revno: 21882
committer: Abyot Asalefew Gizaw 
branch nick: dhis2
timestamp: Thu 2016-02-04 12:14:00 +0100
message:
  tracker-capture: minor style change in providedElsewhere checkbox
modified:
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/default-form.html


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/default-form.html'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/default-form.html	2016-02-04 10:43:43 +
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/default-form.html	2016-02-04 11:14:00 +
@@ -33,7 +33,7 @@
 
 
 
-
+
 
 
 
 
-
+
 ___
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] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21881: minor

2016-02-04 Thread noreply

revno: 21881
committer: Abyot Asalefew Gizaw 
branch nick: dhis2
timestamp: Thu 2016-02-04 11:59:08 +0100
message:
  minor
modified:
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/table-entry-form.html


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/table-entry-form.html'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/table-entry-form.html	2016-02-04 10:43:43 +
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/table-entry-form.html	2016-02-04 10:59:08 +
@@ -318,14 +318,14 @@
 
 
 
-
-
+
 
 
 ___
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] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21880: Partial merge from folkehelsa

2016-02-04 Thread noreply

revno: 21880
committer: Markus Bekken 
branch nick: dhis2
timestamp: Thu 2016-02-04 11:43:43 +0100
message:
  Partial merge from folkehelsa
added:
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dashboard/dashboard-topbar.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/compare-form.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/inner-form.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/section-inner-form.html
modified:
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dashboard/dashboard-controller.js
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dashboard/dashboard.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry-buttons.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry-controller.js
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry-notes.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/default-form.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/event-details.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/event-layout.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/eventstatus-in-table.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/main-dataentry-form.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/modal-complete-event.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/modal-default-form.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/new-event-controller.js
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/table-entry-form.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/enrollment/enrollment-controller.js
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/enrollment/enrollment.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/notes/notes-controller.js
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/notes/notes.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/default-registration-form.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/registration-controller.js
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/registration.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/rulebound/rulebound-controller.js
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/rulebound/rulebound.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/i18n/i18n_app.properties
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/index.html
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/app.js
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/directives.js
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/services.js
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/tracker-capture.js
  
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/styles/style.css
  
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.angular.directives.js
  
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.angular.services.js
The size of the diff (6098 lines) is larger than your specified limit of 5000 
lines

--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription

___
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] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21879: wip, object bundle service, meant to (together with preheat service) replace the old object bridg...

2016-02-04 Thread noreply

revno: 21879
committer: Morten Olav Hansen 
branch nick: dhis2
timestamp: Thu 2016-02-04 15:01:30 +0700
message:
  wip, object bundle service, meant to (together with preheat service) replace 
the old object bridge for dxf2 imports
added:
  
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata2/objectbundle/
  
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata2/objectbundle/DefaultObjectBundleService.java
  
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata2/objectbundle/ObjectBundle.java
  
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata2/objectbundle/ObjectBundleMode.java
  
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata2/objectbundle/ObjectBundleParams.java
  
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata2/objectbundle/ObjectBundleService.java
  
dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/metadata2/objectbundle/
  
dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/metadata2/objectbundle/ObjectBundleServiceTest.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== added directory 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata2/objectbundle'
=== added file 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata2/objectbundle/DefaultObjectBundleService.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata2/objectbundle/DefaultObjectBundleService.java	1970-01-01 00:00:00 +
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata2/objectbundle/DefaultObjectBundleService.java	2016-02-04 08:01:30 +
@@ -0,0 +1,51 @@
+package org.hisp.dhis.dxf2.metadata2.objectbundle;
+
+/*
+ * Copyright (c) 2004-2016, University of Oslo
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright notice, this
+ * list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of the HISP project nor the names of its contributors may
+ * be used to endorse or promote products derived from this software without
+ * specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+import org.springframework.stereotype.Component;
+
+/**
+ * @author Morten Olav Hansen 
+ */
+@Component
+public class DefaultObjectBundleService implements ObjectBundleService
+{
+@Override
+public ObjectBundle create( ObjectBundleParams params )
+{
+ObjectBundle bundle = new ObjectBundle();
+return bundle;
+}
+
+@Override
+public void commit( ObjectBundle bundle )
+{
+
+}
+}

=== added file 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata2/objectbundle/ObjectBundle.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata2/objectbundle/ObjectBundle.java	1970-01-01 00:00:00 +
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata2/objectbundle/ObjectBundle.java	2016-02-04 08:01:30 +
@@ -0,0 +1,36 @@
+package org.hisp.dhis.dxf2.metadata2.objectbundle;
+
+/*
+ * Copyright (c) 2004-2016, University of Oslo
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright notice, this
+ * list of conditions and the following disclaimer.
+