Re: [Dhis2-devs] Changing Org Unit of TEI

2016-02-09 Thread Markus Bekken
Hi Pamod! It is not currently enabled in trunk, but we have made a implementation for something that might be similar in Palestine. We have made a "Referral" user interface that allows scheduling a visit at another orgunit than the TEI is registered at(and another than the logged in user has

Re: [Dhis2-devs] Changing Org Unit of TEI

2016-02-09 Thread Pamod Amarakoon
Dear Markus, If the "referral" interface has the functionality of temporarily and permanently scheduling visit at a different org unit, that would solve my issue. And I think in a generic context, the word "Referral" is fine :) Thanx a lot! On Wed, Feb 10, 2016 at 12:14 AM, Markus Bekken

Re: [Dhis2-devs] Classification tag on Indicators - 2.22

2016-02-09 Thread Dapo Adejumo
Thanks Lars, I understand the complexity of implementing this as explained. Using DE group sets is an option but not very neat - the ideal will be to use a form of Indicator groupsets or tag the indicators with custom attributes as an option set and be able to pull that into analytics.

Re: [Dhis2-devs] quick question re tracker capture

2016-02-09 Thread Markus Bekken
Hi Craig! Tested now on the latest 2.22, and think I see the same: the "Date in future" column under "Select attributes" in "Edit program" does not seem to work. Will look into why, but it seems like a bug. Markus > 8. feb. 2016 kl. 18.44 skrev Craig Hollingsworth

Re: [Dhis2-devs] quick question re tracker capture

2016-02-09 Thread Abyot Asalefew Gizaw
Hi, Yes, there was bug. It is now fixed in trunk and 2.22. --- Thank you, Abyot. On Tue, Feb 9, 2016 at 9:23 AM, Markus Bekken wrote: > Hi Craig! > Tested now on the latest 2.22, and think I see the same: the "Date in > future" column under "Select attributes" in

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21913: tracker-capture: use d2-radio button for attributes of type boolean in registration and enrollmen...

2016-02-09 Thread noreply
revno: 21913 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Tue 2016-02-09 11:48:20 +0100 message: tracker-capture: use d2-radio button for attributes of type boolean in registration and enrollment

[Dhis2-devs] Project ideas for Google Summer of Code 2016.

2016-02-09 Thread Araz Abishov
Dear community, As you may know, DHIS2 was participating in program called Google Summer of Code (GSoC) for two years in the row (2013 and 2014). The main idea behind GSoC is to involve more students in open source software development. From community’s prospective, it is a great chance to

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

2016-02-09 Thread noreply
revno: 21914 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Tue 2016-02-09 11:51:45 +0100 message: minor modified:

Re: [Dhis2-devs] Problem with session factory and hibernate

2016-02-09 Thread Lars Helge Øverland
The call to .flush should be removed. There has to something wrong with your business logic - I have never heard about this problem before ;) On Mon, Feb 8, 2016 at 5:27 PM, Yrjan Aleksander Frøyland Fraschetti < yrjan...@gmail.com> wrote: > We are testing it through the UI, and we had

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Jose Garcia Muñoz
Hi Araz, I am talking about metadata (dataelements, optionsets, etc...). We don't have problems with the user interface... Thanks Araz On Tue, Feb 9, 2016 at 3:15 PM, Araz Abishov wrote: > Hi Jose and David, > > I just have a few questions to understand problem better: > > -

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread David Hagan
What he said :-) We’d like at a minimum the display-names of the data-elements/option-sets to respect the DHIS2 User database language setting … and a bonus would be that the user can ’select’ from the available languages during login to the App. For prompts and such, I understand one just needs

Re: [Dhis2-devs] Separate attribute for separate entities

2016-02-09 Thread Lars Helge Øverland
Hi Nayeem, thanks for the feedback, and this is an interesting question. A decent workaround if you need to collect the same attribute for two different programs is simply to define the exact same attribute for those programs. We have been considering for a while to associate attributes with

[Dhis2-devs] [Bug 1543592] [NEW] Resource tables crashes on duplicate category options

2016-02-09 Thread Lars Helge Øverland
Public bug reported: Create two categories which share the same category option(s). Assign those categories to a category combo. Generate resource tables. This will fail with "duplicate category option combos". ** Affects: dhis2 Importance: Medium Assignee: Lars Helge Øverland

[Dhis2-devs] [Bug 1536817] Re: Metadata Import slower in 2.21

2016-02-09 Thread Lars Helge Øverland
We had unintentionally set cache preheat to off for meta-data importer. We have set this back to on in latest 2.22 and trunk. Could you please try again now? -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS.

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Araz Abishov
Hi Jose and David, I just have a few questions to understand problem better:  - Are we talking about translation of application prompts or translation of metadata/data?  - Do you want user to be able to switch languages in user interface? (a setting which allows to do that) Best Regards, Araz

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Araz Abishov
Unfortunately, translation of metadata/data is not completely supported in API due to some implementation complexities in the core, so we still don’t know when exactly we will be able to implement multilingual support for android apps. What we can do is additional setting for choosing language

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

2016-02-09 Thread noreply
revno: 21915 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Tue 2016-02-09 15:45:39 +0100 message: minor modified:

Re: [Dhis2-devs] Separate attribute for separate entities

2016-02-09 Thread Abyot Asalefew Gizaw
Hi Nayeem, You should be able to control which attributes to see when no program is selected by going to Attribute -> Manage attributes with no program --- Thank you, Abyot. On Tue, Feb 9, 2016 at 1:44 PM, Nayeem Al Mifthah wrote: > Dear All > I have found one issue on

[Dhis2-devs] [Bug 1543572] [NEW] mod_http2 is not available under Apache 2.4.18 / Ubuntu 16.04 xenial

2016-02-09 Thread Vivien GUEANT
Public bug reported: With Apache 2.4.18 (Server built: 2016-01-21T20:15:22) / Ubuntu Xenial Xerus (development branch) mod_http2 for HTTP/2 is not available in folder /etc/apache2/mods-available (/etc/apache2/mods-available/http2.load does not exist) HTTP/2 (originally named HTTP/2.0) is the

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread David Hagan
Afternoon Jose, I second the question! Actually, I’ve had this conversation on another thread over the new-year break as we have a similar requirement (English, Russian, Ukrainian) … we’re making do with one language at the moment, but the next iteration cycle of the App really needs the user to

Re: [Dhis2-devs] Separate attribute for separate entities

2016-02-09 Thread Nayeem Al Mifthah
Dear Abyot It will good if we can register entities with common profile which are not associated with any program for same entities. But different profile for different tracked entity type. I want to give you one use case and another case where we are interested- - We have maternal health

Re: [Dhis2-devs] Separate attribute for separate entities

2016-02-09 Thread Nayeem Al Mifthah
Dear Abyot Thanks for your quick feedback. There are entities whom have totally different attribute. Example: - Person - First Name - Last Name - ID - Mobile no. etc. - Equipment - Type - Model - ID - Buying date - Installed date etc.

[Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Jose Garcia Muñoz
Dear Simen, devs, some months ago we started a conversation with you to know if the DHIS2-SDK is supporting multilingual or not? The answer was: "unfortunately there isn't very good support for multilingual in the SDK yet. It's actually not that much work we just haven't prioritized it yet so it

[Dhis2-devs] Separate attribute for separate entities

2016-02-09 Thread Nayeem Al Mifthah
Dear All I have found one issue on tracker capture module to register tracked entity. I need separate attributes for different entities. Like one is 'Person' and another one is 'Equipment'. But I found same in data entry screen when I don't select any program. Is there any suggestion? *Nayeem

Re: [Dhis2-devs] [Bug 1438624] [NEW] XML dxf2 import: Use of ampersand (&) causes crash

2016-02-09 Thread Greg
Thank you for documenting this Calle! I've been struggling with a MomConnect import error for the last 1.5 hours - now I know... On Tue, Mar 31, 2015 at 12:22 PM, Calle Hedberg wrote: > Public bug reported: > > When importing a dxf2 (XML) data file that includes one or

Re: [Dhis2-devs] Separate attribute for separate entities

2016-02-09 Thread Abyot Asalefew Gizaw
Yes, if you want the attributes differentiated based on the entities you listed then you always have to select a program when trying to register a tracked entity instance. You will not be able to differentiate if no program is selected. To manage this, what you can do is select only those that

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21917: Added drop-down menu to choose the period of upcoming events.

2016-02-09 Thread noreply
revno: 21917 committer: jijukjose branch nick: dhis2 timestamp: Tue 2016-02-09 16:59:55 +0100 message: Added drop-down menu to choose the period of upcoming events. modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21916: Renamed systemSetting *currentStyle* to *keyStyle* to follow convetions and to be equal to the us...

2016-02-09 Thread noreply
Merge authors: Stian Sandvold (stian-sandvold) revno: 21916 [merge] committer: Stian Sandvold branch nick: dhis2 timestamp: Tue 2016-02-09 16:35:42 +0100 message: Renamed systemSetting *currentStyle* to

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Rodolfo Melia
It will be great if we can prioritise the metadata to be multilingual in the API. We already know how to translate the Android UI, by generating our own build. I'm copying Morton to see if he can give us an idea of when the API would be able to return the Form Name and Options in multilingual

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21918: Data approval. Impl support for data sets with category combos / attributes.

2016-02-09 Thread noreply
Merge authors: Lars Helge Øverland (larshelge) revno: 21918 [merge] committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2016-02-09 22:30:25 +0100 message: Data approval. Impl support for data sets

[Dhis2-devs] DHIS 2 for iNGOs Symposium Registration Closing...

2016-02-09 Thread Nicola Hobby
Hi All, The DHIS 2 for iNGOs Symposium will be closing on* Feb 14th* or before if we sell out. There are a few seats left. You can register here . See the agenda and presenters

Re: [Dhis2-devs] Error while removing a DataElement from a ProgramStage (2.20)

2016-02-09 Thread Jose Garcia Muñoz
Sorry guys, I really don't want to bore you, but this is becoming pretty urgent :)... We have a program with more than 1600 DElements that is causing an exception in the analytics engine (we can not update the analytic tables at all in the server), and we need to remove some DElements from that

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Morten Olav Hansen
Hi Translated form names have been available under "displayFormName" for a long time, I have added code to 2.22 and trunk to also translate options when requesting a optionset (by id or collection). we can't do this for all objects, as its a quite heavy operation, normally we only translate a

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

2016-02-09 Thread Morten Olav Hansen
Could you share your full payload? it shouldn't be too big. Did you also test against 2.22? was it working there? On Wed, Feb 10, 2016 at 12:33 PM, Archana Chillala < archa...@thoughtworks.com> wrote: > Hi Morten, > > We are exporting both Option sets and options as well. Basically, making > an

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21919: translate options of optionsets if translation is enabled

2016-02-09 Thread noreply
revno: 21919 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2016-02-10 08:58:36 +0700 message: translate options of optionsets if translation is enabled modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21920: minor validation changes, adds PreheatValidation/ObjectBundleValidation classes to handle preheat...

2016-02-09 Thread noreply
revno: 21920 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2016-02-10 10:08:09 +0700 message: minor validation changes, adds PreheatValidation/ObjectBundleValidation classes to handle

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

2016-02-09 Thread Morten Olav Hansen
Hi Are you exporting both optionSets -and- options? if not, all that is inside the optionSets are the references to options, not the actual options. On Wed, Feb 10, 2016 at 12:23 PM, Archana Chillala < archa...@thoughtworks.com> wrote: > Hi, > > We have two instances of DHIS. Metadata is

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

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

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

2016-02-09 Thread Archana Chillala
Hi Morten, We are exporting both Option sets and options as well. Basically, making an API call - to export and import metadata (GET and POST call respectively) (http://./api/metadata) . Thank you. Archana Chillala Application Developer Email archa...@thoughtworks.com Telephone +91

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21922: partial revert of R 21921

2016-02-09 Thread noreply
revno: 21922 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2016-02-10 13:38:20 +0700 message: partial revert of R 21921 modified:

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Jose Garcia Muñoz
I think Rodolfo is referring to the SDK... Yes... with the form names and option names translated we are ok... On Wed, Feb 10, 2016 at 8:37 AM, Rodolfo Melia wrote: > Hi Morton - thanks for the clarification. Now that we know that we have > what i think are the two critical

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Rodolfo Melia
Hi Morton - thanks for the clarification. Now that we know that we have what i think are the two critical translations in the API, how difficult would it be to add the concept of multilingual to the APK ? On Wednesday, 10 February 2016, Morten Olav Hansen wrote: > Hi > >

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21921: wip, object bundle validation

2016-02-09 Thread noreply
revno: 21921 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2016-02-10 13:31:33 +0700 message: wip, object bundle validation added:

[Dhis2-devs] Health Indexes: limited to a single "indicator weight" value

2016-02-09 Thread Greg Rowles
Hi Devs Are we any closer to implementing custom attribute values for indicator + group pairings? We want to develop health index calculators at the indicator-group membership level which requires us to define a "weight" value for this pair combination. This seems the logical place to assign an

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21923: tracker-capture: bug fix in enrollment widget

2016-02-09 Thread noreply
revno: 21923 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Wed 2016-02-10 08:35:16 +0100 message: tracker-capture: bug fix in enrollment widget modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21924: more object bundle validation fixes

2016-02-09 Thread noreply
revno: 21924 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2016-02-10 14:45:27 +0700 message: more object bundle validation fixes modified:

[Dhis2-devs] Tracker Capture Greyed out Input Boxes

2016-02-09 Thread Pamod Amarakoon
Hi, Is there any particular reason why input boxes related to data elements grey out in tracker capture. I have noticed this randomly in TEIs. At times same record is editable in Firefox while it's disabled in Chrome. Audit history is also not available when its greyed out. I don't observe any

[Dhis2-devs] Changing Org Unit of TEI

2016-02-09 Thread Pamod Amarakoon
Dear All, Is it possible to move a TEI to a different org unit. This is applicable when a TEI moves to a different area physically and needs to be enrolled and followed up in the same program while preserving the existing event data. Thank you. -- Regards, Pamod Amarakoon Confidentiality