Re: [Dhis2-devs] Issues importing ProgramStageSection

2014-06-16 Thread Tran Chau
Hi Morten, I looked the bug : "We created a Program say "Program1" and then "Program Stage" under it. This stage has approximately 20 "ProgramStageDataElements". On "Event Capture screen", after selecting relevant fields ("Program1" as program and "orgUnit" as organization Unit), on clicking "Re

[Dhis2-devs] Query regarding DataElements domainType

2014-06-16 Thread Mansi Singhal
Hello All, We were creating "data elements" with "domainType as patient" in dhis through our app. But we just realized that "patient" is not there in "domainType drop-down" anymore. There are only 2 values that we can select (aggregate and tracker) . Just wanted to confirm if "tracker" is to be

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15692: Added new startup routine InitTableAlteror. For certain statements it is necessary to run before ...

2014-06-16 Thread noreply
revno: 15692 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-06-16 11:50:27 +0200 message: Added new startup routine InitTableAlteror. For certain statements it is necessary to run before other routines. added:

Re: [Dhis2-devs] Query regarding DataElements domainType

2014-06-16 Thread Lars Helge Øverland
Hi Mansi, that's correct, tracker is a plain replacement for patient. It is part of the terminology change from patient* to tracked entity*. In the data model you will see a change from string discriminators to enum. In the database you will see a change from: aggregate -> AGGREGATE patient -> T

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15693: Removed file

2014-06-16 Thread noreply
revno: 15693 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-06-16 11:54:55 +0200 message: Removed file removed: resources/sql/change dataelement domain type from patient to tracker.sql -- lp:dhis2 https://cod

Re: [Dhis2-devs] Query regarding DataElements domainType

2014-06-16 Thread Mansi Singhal
Thanks Lars.. On Mon, Jun 16, 2014 at 3:23 PM, Lars Helge Øverland wrote: > Hi Mansi, > > that's correct, tracker is a plain replacement for patient. It is part of > the terminology change from patient* to tracked entity*. > > In the data model you will see a change from string discriminators t

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15694: Cleanup

2014-06-16 Thread noreply
revno: 15694 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-06-16 12:42:58 +0200 message: Cleanup modified: dhis-2/dhis-api/src/test/java/org/hisp/dhis/calendar/DateUnitTest.java dhis-2/dhis-services/dhis-se

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15695: Nullpointer check

2014-06-16 Thread noreply
revno: 15695 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-06-16 12:45:17 +0200 message: Nullpointer check modified: dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/DefaultDataE

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15696: Cleanup

2014-06-16 Thread noreply
revno: 15696 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-06-16 13:17:25 +0200 message: Cleanup modified: dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/utils/ContextUtils.java dhis-2/dhi

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15697: PT DV GIS ER, startup request weakness fixed + ER, param bug fixed.

2014-06-16 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 15697 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Mon 2014-06-16 13:39:36 +0200 message: PT DV GIS ER, startup request weakness fixed + ER, param

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15698: More logging for menu apps

2014-06-16 Thread noreply
revno: 15698 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-06-16 13:40:29 +0200 message: More logging for menu apps modified: dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/security/SpringSecuri

Re: [Dhis2-devs] Contract changes in User Controller.

2014-06-16 Thread Lars Helge Øverland
Hi Kiran, it could be I get this wrong, however just a suggestion: When classifying the organisation units in DHIS it is useful to utilize an organisation unit group set ("Org unit type") and organisation unit groups for each type. This makes is possible to later do data analysis broken down on or

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15699: Remove SearchTrackedEntityInstanceAction class in tracker module.

2014-06-16 Thread noreply
revno: 15699 committer: Tran Chau branch nick: dhis2 timestamp: Mon 2014-06-16 20:05:53 +0800 message: Remove SearchTrackedEntityInstanceAction class in tracker module. removed: dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/h

[Dhis2-devs] (no subject)

2014-06-16 Thread Jose Garcia Muñoz
Dear dev community, PSI usually develops custom forms (both on the aggregated and tracker side) with script code in order to implement extra functionality ot get the control of some input html fields. For example we can introduce extra attributes or events in the HTML tags as follows (where 'custy

[Dhis2-devs] custom HTML attributes missing when you open a custom form using the 'Event Capture' app

2014-06-16 Thread Jose Garcia Muñoz
(Sorry I forgot the subject in my last email) Dear dev community, PSI usually develops custom forms (both on the aggregated and tracker side) with script code in order to implement extra functionality ot get the control of some input html fields. For example we can introduce extra attributes or e

Re: [Dhis2-devs] Importing OrgUnit data via API using curl

2014-06-16 Thread Lars Helge Øverland
Hi David, do you think you could post your curl command? Lars On Thu, Jun 12, 2014 at 9:41 AM, Morten Olav Hansen wrote: > Did you set the content-type header? it's either that, or something is > wrong with your data > > -- > Morten > > > On Thu, Jun 12, 2014 at 9:37 AM, David Muturi wrote

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15700: DV, param bug fixed.

2014-06-16 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 15700 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Mon 2014-06-16 15:21:37 +0200 message: DV, param bug fixed. modified: dhis-2/dhis-web/dhis-w

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15701: DV, empty value dash removed + legend config improved.

2014-06-16 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 15701 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Mon 2014-06-16 15:23:25 +0200 message: DV, empty value dash removed + legend config improved. m

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15702: CSV meta-data import, supporting parent of organisation units

2014-06-16 Thread noreply
revno: 15702 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-06-16 15:31:32 +0200 message: CSV meta-data import, supporting parent of organisation units modified: dhis-2/dhis-services/dhis-service-dxf2/src/main

[Dhis2-devs] [Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 1104: CSV meta import

2014-06-16 Thread noreply
revno: 1104 committer: Lars Helge Overland branch nick: dhis2-docbook-docs timestamp: Mon 2014-06-16 15:35:54 +0200 message: CSV meta import modified: src/docbkx/en/dhis2_user_man_import_export.xml -- lp:~dhis2-documenters/dhis2/dh

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15703: ER EV, option set api sync.

2014-06-16 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 15703 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Mon 2014-06-16 15:52:20 +0200 message: ER EV, option set api sync. modified: dhis-2/dhis-web

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15704: Changed default appstore url

2014-06-16 Thread noreply
revno: 15704 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-06-16 15:59:43 +0200 message: Changed default appstore url modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/appmanager/AppManager.java -- lp:dh

Re: [Dhis2-devs] Resource table Erro after Manual Aggregation

2014-06-16 Thread Lars Helge Øverland
Hi Sumudu, my guess is that someone has done manual inserts of periods in the period table, and that you have a mismatch between the period (start / end date) and the period type. E.g. you have periods which are days but has the monthly period type. Please investigate this. This SQL will give you

[Dhis2-devs] [Bug 1328173] Re: sharing for external access is not saved

2014-06-16 Thread Lars Helge Øverland
** Changed in: dhis2 Milestone: None => 2.16 -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1328173 Title: sharing for external access is not saved Status in DHIS 2: Confirmed Bug descrip

[Dhis2-devs] [Bug 1327758] Re: No Option for Future Date in Program Attributes with Date Data Types

2014-06-16 Thread Lars Helge Øverland
** Changed in: dhis2 Milestone: None => 2.16 ** Changed in: dhis2 Assignee: (unassigned) => Thu Tran (tran-hispvietnam) ** Changed in: dhis2 Importance: Undecided => Medium -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DH

Re: [Dhis2-devs] [Dhis2-users] Resource table Erro after Manual Aggregation

2014-06-16 Thread Adebusoye Anifalaje
Hi Lars, I also reported this problem on the Bug list here: https://bugs.launchpad.net/dhis2/+bug/1313954. It happens either when you import from another system so you have period type id = 3 both end dates in year . Another scenario is when you run the manual aggregate query and choose a

[Dhis2-devs] [Bug 1327583] Re: Aggregated data elements from tracker not reflecting in data entry form

2014-06-16 Thread Lars Helge Øverland
** Changed in: dhis2 Milestone: None => 2.16 ** Changed in: dhis2 Assignee: (unassigned) => Thu Tran (tran-hispvietnam) ** Changed in: dhis2 Importance: Undecided => Medium -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DH

[Dhis2-devs] [Bug 1327580] Re: 2.15 upgrade script not finding a specific table

2014-06-16 Thread Lars Helge Øverland
Hi Simon, this is not a bug per se. It simply means that this table has been upgraded already for some reason. cheers Lars ** Changed in: dhis2 Status: New => Invalid -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https

Re: [Dhis2-devs] Resource table Erro after Manual Aggregation

2014-06-16 Thread Adebusoye Anifalaje
Hi Sumudu, To get past this quickly, you need to check your period table and filter by Periodtypeid 3. Have a look at all any start date that does not begin on the 1st. Delete this from the table. Clear system cache and run analytics again. This should work. The Devs have to think of a more l

Re: [Dhis2-devs] Resource table Erro after Manual Aggregation

2014-06-16 Thread Lars Helge Øverland
Hi Adebusoye, that sounds quite likely. Tran can you please check that the aggregation queries produce valid periods (start / end dates are in sync with the period type) ? On Mon, Jun 16, 2014 at 5:00 PM, Adebusoye Anifalaje wrote: > Hi Sumudu, > > To get past this quickly, you need to check

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15705: EventChart object introduced.

2014-06-16 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 15705 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Mon 2014-06-16 18:21:35 +0200 message: EventChart object introduced. added: dhis-2/dhis-api/s

Re: [Dhis2-devs] Contract changes in User Controller.

2014-06-16 Thread Kiran Prakash
oh ok. Thanks Lars, We will look into this. Regards, Kiran. On Mon, Jun 16, 2014 at 5:22 PM, Lars Helge Øverland wrote: > Hi Kiran, > > it could be I get this wrong, however just a suggestion: When classifying > the organisation units in DHIS it is useful to utilize an organisation unit > gro

Re: [Dhis2-devs] Contract changes in User Controller.

2014-06-16 Thread Lars Helge Øverland
Good. On Mon, Jun 16, 2014 at 7:05 PM, Kiran Prakash wrote: > oh ok. Thanks Lars, We will look into this. > > Regards, > > Kiran. > > > On Mon, Jun 16, 2014 at 5:22 PM, Lars Helge Øverland > wrote: > >> Hi Kiran, >> >> it could be I get this wrong, however just a suggestion: When classifying >

Re: [Dhis2-devs] Resource table Erro after Manual Aggregation

2014-06-16 Thread sumudu weerasinghe
Thanks Lars and Adebusoye! Yes, your guess is correct i have done the thing wrong way - during manual aggregation i have selected start date 1/5/2014 and end date as *16/6/2014* - then my database period table shows two monthly period for June - now i have remove the extra one from p

Re: [Dhis2-devs] Resource table Erro after Manual Aggregation

2014-06-16 Thread Lars Helge Øverland
Thanks Sumudo, glad it works. Mind you this might still be a bug with the aggregation queries, we are working it. Lars On Mon, Jun 16, 2014 at 8:23 PM, sumudu weerasinghe wrote: > Thanks Lars and Adebusoye! > > Yes, your guess is correct i have done the thing wrong way > >- during manual a

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15706: Analytics, checking if organisation unit levels are present

2014-06-16 Thread noreply
revno: 15706 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-06-16 21:51:38 +0200 message: Analytics, checking if organisation unit levels are present modified: dhis-2/dhis-services/dhis-service-analytics/src/m

[Dhis2-devs] [Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 1105: Data value docs

2014-06-16 Thread noreply
revno: 1105 committer: Lars Helge Overland branch nick: dhis2-docbook-docs timestamp: Mon 2014-06-16 22:02:18 +0200 message: Data value docs modified: src/docbkx/en/dhis2_user_man_web_api.xml -- lp:~dhis2-documenters/dhis2/dhis2-do

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15707: Made a static final variable out of the supported date formats in DateUtils

2014-06-16 Thread noreply
revno: 15707 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-06-16 22:10:19 +0200 message: Made a static final variable out of the supported date formats in DateUtils modified: dhis-2/dhis-support/dhis-support-

Re: [Dhis2-devs] Data entry form longtext with new line

2014-06-16 Thread Lars Helge Øverland
Hi James, this has been fixed in trunk / 2.15 now. Thanks for reporting. regards, Lars On Thu, Jun 5, 2014 at 5:07 PM, James Chang wrote: > The data entry form does not seem to handle 'new line' character. > If the 'new line' character ('Enter' key) is entered, it failed to load > the saved

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15708: Data entry, missing json encoding of data values

2014-06-16 Thread noreply
revno: 15708 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-06-16 22:30:48 +0200 message: Data entry, missing json encoding of data values modified: dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-

Re: [Dhis2-devs] Follow up analysis show all follow up values

2014-06-16 Thread Lars Helge Øverland
Blueprint here: https://blueprints.launchpad.net/dhis2/+spec/follow-up-analysis-by-org-unit Lars On Thu, Jun 5, 2014 at 7:41 AM, Lars Helge Øverland wrote: > Hi Thuy, > > yes I agree, I think we need to do that. > > regards, > > Lars > On Jun 5, 2014 6:12 AM, "Thuy Nguyen" wrote: > >> Dear

[Dhis2-devs] UserSetting Service and SystemSetting Service broken.

2014-06-16 Thread Kiran Prakash
Hello, Recent serialization changes have broken UserSetting and SystemSetting services. These services were taking in the content-type "text/plain" until now, basically a json with key / value pairs of settings. I think the RenderServiceMessageConverter now lets in only json or xml payload. Th

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15709: Fixed mapping issues with EventChart

2014-06-16 Thread noreply
revno: 15709 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2014-06-17 08:38:01 +0200 message: Fixed mapping issues with EventChart modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/eventchart/EventChart.java