Re: [Dhis2-devs] Events API - content length mismatch

2016-02-17 Thread Pierre Dane
hey I haven't run into this but you may have to page:( or you could try a sqlview which won't have a size restriction (you would have to use a function as tracker events can't be accessed with raw sql). On Thursday, 18 February 2016, Olav Poppe wrote: > Hi devs, > I’m trying to fetch events fro

[Dhis2-devs] Events API - content length mismatch

2016-02-17 Thread Olav Poppe
Hi devs, I’m trying to fetch events from the API (DHIS 2.22 build 21829). For a small number of events, everything works fine. However, for larger datasets, it fails to load the full "events" object. This is the request (should return about 700 events): api/events.json?orgUnit=M4nRM5O3mH8&ouMo

[Dhis2-devs] Obsolete analytics tables are not deleted during analytics update

2016-02-17 Thread Uwe Wahser
Dear devs, it seems like the analytics table update does not remove data/tables of years, that are no longer valid. Since dataValues can be deleted via api in batch, it can happen that dataValues for a whole year get deleted. Of course these years should not show up in the analytics (pivot, chart

Re: [Dhis2-devs] [Dhis2-users] Upgrade from 2.20 to 2.22

2016-02-17 Thread gerald thomas
Boss https://www.dhis2.org/220-upgrade https://www.dhis2.org/221-upgrade https://www.dhis2.org/222-upgrade Did you run the script: https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/upgrade-220.sql When upgrading to 2.20? There is not too much for version 2.21 but you need pay attenti

Re: [Dhis2-devs] [Dhis2-users] Upgrade from 2.20 to 2.22

2016-02-17 Thread Morten Olav Hansen
A few people have had issues with systemsettings and sms config, if you have any issues.. you should try and run: delete from systemsetting where name='SMS_CONFIG' or name='keySmsConfig'; On Thu, Feb 18, 2016 at 12:58 PM, Knut Staring wrote: > Hi Dhani, > > Basically you should stop DHIS, take

Re: [Dhis2-devs] [Dhis2-users] Upgrade from 2.20 to 2.22

2016-02-17 Thread Knut Staring
Hi Dhani, Basically you should stop DHIS, take a backup of your 2.20 database, then replace the 2.20 .war file with 2.21 and start DHIS. Then stop, put in the 2.22 war file and start again. Theoretically that should be it. You do not have to run scripts for these upgrades, otherwise it would have

Re: [Dhis2-devs] [Dhis2-users] Upgrade from 2.20 to 2.22

2016-02-17 Thread Furqonuddin Ramdhani
I didn't find any upgrade procedures documents for dhis 2.22, maybe someone can send me the link or explain a little bit about the procedures. I'm aware there are some changes in table structures but how to migrate it properly I still doing trial and error here. In previous version usually have upg

Re: [Dhis2-devs] [Dhis2-users] Upgrade from 2.20 to 2.22

2016-02-17 Thread gerald thomas
Boss, I think you should upgrade the data structures of postgresql database 2.20 before migrating them to 2.22. Please read the upgrade procedures again because there are steps you should have done. I think it will always fail if your want to move them directly from 2.20 to 2.22 Regards, Gerald On

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21994: minor fix, add DataElementCategoryOptionCombo to list of defaults

2016-02-17 Thread noreply
revno: 21994 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2016-02-18 10:43:11 +0700 message: minor fix, add DataElementCategoryOptionCombo to list of defaults modified: dhis-2/dhis-services/dhis-service-core/src/m

[Dhis2-devs] Upgrade from 2.20 to 2.22

2016-02-17 Thread Furqonuddin Ramdhani
Hi, I already installed dhis 2.22 and want to migrate all my data from dhis 2.20, how the best way to do it, I already tried import the metadata from 2.20 to 2.22 but failed. Any suggestion ? Thanks -- Regards, *Furqonuddin Ramdhani* ___ Mailing list:

Re: [Dhis2-devs] App Installation - SSL issue

2016-02-17 Thread Lorill Crees
Thanks all for your help with this. I will take a look at the config pieces you mentioned. Cheers, Lorill On Wed, Feb 17, 2016 at 4:08 AM, Lars Helge Øverland wrote: > > Hi Lorill, > > DHIS 2 is looking at a header in the web request called X-Forwarded-Proto > when determining the protocol. >

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

2016-02-17 Thread noreply
revno: 21993 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2016-02-17 17:18:13 -0500 message: Minor modified: dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/DefaultDataApprovalServ

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21992: Approval, UI fix

2016-02-17 Thread noreply
revno: 21992 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2016-02-17 16:16:20 -0500 message: Approval, UI fix modified: dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataApprova

[Dhis2-devs] [Bug 1546620] Re: Resource added to dashboard display as "undefined"

2016-02-17 Thread Lars Helge Øverland
Fixed in 2.22 and trunk. ** Changed in: dhis2 Milestone: None => 2.23 ** Changed in: dhis2 Assignee: (unassigned) => Lars Helge Øverland (larshelge) ** Changed in: dhis2 Importance: Undecided => Medium ** Changed in: dhis2 Status: New => Fix Released -- You received this bu

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21991: Dashboard, fixed bug, resource names were not rendered.

2016-02-17 Thread noreply
revno: 21991 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2016-02-17 14:32:19 -0500 message: Dashboard, fixed bug, resource names were not rendered. modified: dhis-2/dhis-web/dhis-web-dashboard-integration/src/ma

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21990: Approval. Fix for cat option combo approval UI.

2016-02-17 Thread noreply
revno: 21990 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2016-02-17 14:02:47 -0500 message: Approval. Fix for cat option combo approval UI. modified: dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-r

[Dhis2-devs] [Bug 1546620] [NEW] Resource added to dashboard display as "undefined"

2016-02-17 Thread Elmarie Claasen
Public bug reported: Dear Developers, If a resource is added under Reports > Resources and then added to a dashboard it shows on the dashboard as name "Undefined" instead of displaying the resource name. Affects DHIS v2.22 on Chrome and Firefox browsers Replicated on Stable Demo Version: 2

Re: [Dhis2-devs] [Bug 1544528] Re: DataSet PUT request fails with 500 error

2016-02-17 Thread Mark Polak
Great! Thanks Morten! On Fri, Feb 12, 2016 at 12:40 AM, Morten Olav Hansen < 1544...@bugs.launchpad.net> wrote: > This have now been fixed in 2.22 and trunk. Please remember that > DataEntryForm is a normal id object now, which means it -must- be > created prior to saving the data set. > > ** Cha

Re: [Dhis2-devs] [Dhis2-users] Custom form translation

2016-02-17 Thread Olav Poppe
Thanks, Lars - blueprint here: https://blueprints.launchpad.net/dhis2/+spec/translatable-de-names-custom-forms My initial thinking was to see if the translated names were stored/cached somewhere and avoid API-calls for the sake of offline support (e.g. it would work even if the user went offlin

Re: [Dhis2-devs] Demo instance admin/district login not working

2016-02-17 Thread Elmarie Claasen
Thanks Knut Regards, Elmarie Claasen Hisp logo Project Manager Health Information Systems Program Tel: 041-367 1027 Cell: 082 374 2209 E-mail: elma...@hisp.org Skype: elmarie.claasen52 This message and any attachments are subject to a disc

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21989: tracker-capture: make sure relevant information is displayed in event boxes under data entry widget

2016-02-17 Thread noreply
revno: 21989 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Wed 2016-02-17 14:08:44 +0100 message: tracker-capture: make sure relevant information is displayed in event boxes under data entry widget modified: dhis-2/

Re: [Dhis2-devs] Demo instance admin/district login not working

2016-02-17 Thread Knut Staring
Alternatively, use the snapshot demo On Wed, Feb 17, 2016 at 2:01 PM, Knut Staring wrote: > You can log in as admin with District1 as password. The other password > will be reset tonight. > > On Wed, Feb 17, 2016 at 1:56 PM, Elmarie Claasen wrote: > >> Hi all, >> >> >> >> The admin/district pas

Re: [Dhis2-devs] Demo instance admin/district login not working

2016-02-17 Thread Knut Staring
You can log in as admin with District1 as password. The other password will be reset tonight. On Wed, Feb 17, 2016 at 1:56 PM, Elmarie Claasen wrote: > Hi all, > > > > The admin/district password is not working on https://play.dhis2.org/demo/ > > Can it be sorted out. > > For what we need to tes

[Dhis2-devs] Demo instance admin/district login not working

2016-02-17 Thread Elmarie Claasen
Hi all, The admin/district password is not working on https://play.dhis2.org/demo/ Can it be sorted out. For what we need to test it doesn't work to create own user as we then don't have access to what we need. Regards, Elmarie Claasen Hisp logo Project Manager Health Informatio

Re: [Dhis2-devs] [Dhis2-users] Custom form translation

2016-02-17 Thread Lars Helge Øverland
Hi Olav, On Mon, Feb 15, 2016 at 4:57 AM, Olav Poppe wrote: > Hi all, > I’m looking at ways to support translation in a custom form (aggregate). I > would like to be able to use the "built in" translation of data elements if > possible, using IDs when designing the form and having a javascript

Re: [Dhis2-devs] App Installation - SSL issue

2016-02-17 Thread Lars Helge Øverland
Hi Lorill, DHIS 2 is looking at a header in the web request called X-Forwarded-Proto when determining the protocol. Are you running behind nginx? Could you check that this directive is part of the location block which proxy passes to Tomcat? Or, at least make sure this directive is not set to htt

Re: [Dhis2-devs] Tracker Capture in Android Studio

2016-02-17 Thread Marriette Katarahweire
Thanks, Arthur. Let me try that and get back to you all. Kind regards, Marriette Katarahweire On Wed, Feb 17, 2016 at 1:09 PM, Arthur Gwatidzo wrote: > > Hi Marriette, > > > A. In your git local repos, make sure that you do "git checkout > 2.22-legacy" just after cloning & before building...l

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21988: SMS Scheduler moved to Administration

2016-02-17 Thread noreply
revno: 21988 committer: Zubair Asghar branch nick: dhis2 timestamp: Wed 2016-02-17 11:10:29 +0100 message: SMS Scheduler moved to Administration added: dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/sms/

Re: [Dhis2-devs] Tracker Capture in Android Studio

2016-02-17 Thread Arthur Gwatidzo
Hi Marriette, A. In your git local repos, make sure that you do "git checkout 2.22-legacy" just after cloning & before building...like what Erling has mentioned B. Before building, make sure when you open your "dhis2-android-sdk" project in Android Studio, you end up with a project folder arrang

Re: [Dhis2-devs] Tracker Capture in Android Studio

2016-02-17 Thread Erling Fjeldstad
If you're using Linux or Mac you can do it from the terminal with 'git checkout 2.22-legacy'.If you're using Windows you need to download a tool for that. Go to Google and search for 'git for Windows' and select the first result. Remember that you'll need to be in the dhis2-android-sdk (and -tracke

Re: [Dhis2-devs] Tracker Capture in Android Studio

2016-02-17 Thread Marriette Katarahweire
Sorry, but where do I switch from? Thanks Kind regards, Marriette Katarahweire On Wed, Feb 17, 2016 at 12:44 PM, Erling Fjeldstad wrote: > Okay, nice. Did you try to switch to the branch 2.22-legacy in both > projects? > > Regards, > Erling - DHIS2 - Android Team > > On Wed, Feb 17, 2016 at 1

Re: [Dhis2-devs] Tracker Capture in Android Studio

2016-02-17 Thread Erling Fjeldstad
Okay, nice. Did you try to switch to the branch 2.22-legacy in both projects? Regards, Erling - DHIS2 - Android Team On Wed, Feb 17, 2016 at 10:15 AM, Marriette Katarahweire < kmarrie...@gmail.com> wrote: > Thanks for the response, Erling. > Yes, I cloned both and they are in one folder. I downl

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21987: wip, create for object bundle commits

2016-02-17 Thread noreply
revno: 21987 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2016-02-17 16:17:36 +0700 message: wip, create for object bundle commits added: dhis-2/dhis-services/dhis-service-dxf2/src/test/resources/dxf2/simple_metad

Re: [Dhis2-devs] [Dhis2-users] Issue with the new data entry form in tracker capture

2016-02-17 Thread Ese Egerega
Thanks Markus On Wed, Feb 17, 2016 at 8:56 AM, wrote: > Hi Ese, thanks for reporting. > This is a bug. It was fixed in trunk earlier, and will be backported. > > Markus > > Den 17. feb. 2016 kl. 07.39 skrev Ese Egerega : > > Hello Devs, > > Many thanks for the new improvements in the tracker but

Re: [Dhis2-devs] Tracker Capture in Android Studio

2016-02-17 Thread Marriette Katarahweire
Thanks for the response, Erling. Yes, I cloned both and they are in one folder. I downloaded and following instructions from this link https://github.com/dhis2/dhis2-android-trackercapture Kind regards, Marriette Katarahweire On Wed, Feb 17, 2016 at 11:52 AM, Erling Fjeldstad wrote: > Hi Ma

Re: [Dhis2-devs] [Dhis2-users] Search and list entities by program incidence date

2016-02-17 Thread Abyot Asalefew Gizaw
Sure, will have this. But you have to wait until the next release (2.23). --- Thank you, Abyot. On Wed, Feb 17, 2016 at 10:13 AM, Nayeem Al Mifthah wrote: > Dear Abyot and others > Please have a look in this issue. It is very important for us. > On 17 Feb 2016 15:08, "Abyot Asalefew Gizaw" wro

Re: [Dhis2-devs] [Bug 1546416] [NEW] cannot login to play.dhis2.org/demo/ with "admin/district"

2016-02-17 Thread Knut Staring
Seems like someone (probably Hassan Abdirizak) has changed the password. It will be restored to "district" tonight, but for now I have set it to "District1" (because of the restrictions, which the default password does not respect...) Knut On Wed, Feb 17, 2016 at 9:49 AM, Knut Staring wrote: >

Re: [Dhis2-devs] [Dhis2-users] Search and list entities by program incidence date

2016-02-17 Thread Nayeem Al Mifthah
Dear Abyot and others Please have a look in this issue. It is very important for us. On 17 Feb 2016 15:08, "Abyot Asalefew Gizaw" wrote: > Hi Nayeem, > > What we have currently is search by program enrollment date. You can see > this from advanced search. > > We will try to add search by program

Re: [Dhis2-devs] [Dhis2-users] Search and list entities by program incidence date

2016-02-17 Thread Abyot Asalefew Gizaw
Hi Nayeem, What we have currently is search by program enrollment date. You can see this from advanced search. We will try to add search by program incidence data for the upcoming release. --- Thank you, Abyot. On Wed, Feb 17, 2016 at 9:44 AM, Nayeem Al Mifthah wrote: > Dear All > Is it possi

Re: [Dhis2-devs] Tracker Capture in Android Studio

2016-02-17 Thread Erling Fjeldstad
Hi Marriette, Did you clone both the tracker capture project and the sdk project from Github? Also, try to do a 'git checkout 2.22-legacy' on both projects. Regards, Erling - DHIS 2 Android Team On Wed, Feb 17, 2016 at 9:46 AM, Marriette Katarahweire < kmarrie...@gmail.com> wrote: > Hello all, >

Re: [Dhis2-devs] [Bug 1546416] [NEW] cannot login to play.dhis2.org/demo/ with "admin/district"

2016-02-17 Thread Knut Staring
Seems to affect only the "stable demo", not the snapshot demo On Wed, Feb 17, 2016 at 9:48 AM, Knut Staring wrote: > Same here > > On Wed, Feb 17, 2016 at 9:12 AM, Brian O'Donnell > wrote: > >> Public bug reported: >> >> Two computers tried and failed to login using default credentials, >> admi

Re: [Dhis2-devs] [Bug 1546416] [NEW] cannot login to play.dhis2.org/demo/ with "admin/district"

2016-02-17 Thread Knut Staring
Same here On Wed, Feb 17, 2016 at 9:12 AM, Brian O'Donnell wrote: > Public bug reported: > > Two computers tried and failed to login using default credentials, > admin=user, district=pw > Each one with cache cleared, no caps, and incognito mode. > We can access by creating a unique account,but t

[Dhis2-devs] Tracker Capture in Android Studio

2016-02-17 Thread Marriette Katarahweire
Hello all, I am trying to load the Tracker Capture app in Android studio but I get the following error: Gradle sync failed: Configuration with name 'default' not found. Consult IDE log for more details (Help | Show Log) Is there anything I am not doing right? Thanks Kind regards, Marri

[Dhis2-devs] Search and list entities by program incidence date

2016-02-17 Thread Nayeem Al Mifthah
Dear All Is it possible to search and list entities by program incidence date. It is a very important for our tracking.. *Nayeem Al Mifthah* Consultant (Team Leader of HMIS) Management Information System Directorate General of Health Services (DGHS), Bangladesh Supported by: UNICEF-Bangladesh Ema

[Dhis2-devs] [Bug 1546416] [NEW] cannot login to play.dhis2.org/demo/ with "admin/district"

2016-02-17 Thread Brian O'Donnell
Public bug reported: Two computers tried and failed to login using default credentials, admin=user, district=pw Each one with cache cleared, no caps, and incognito mode. We can access by creating a unique account,but that does not grant access to all demo apps. Please advise. Brian ** Affects: