Re: [Dhis2-devs] Large organisation unit import issue

2015-10-22 Thread Morten Olav Hansen
It's also fine splitting it up in many small pieces. As you say, you must ensure that the parents exists, so doing it one level at the time is the approach. If not, you must do import multiple times, so it can update the parents (not really a proper solution). Does the server have sufficient memor

Re: [Dhis2-devs] Large organisation unit import issue

2015-10-23 Thread Morten Olav Hansen
em). I might try to scale it to 8gb change some vm parameters and see how > it works. But knowing that I have the backup solution to split it in level > is always good. > > Regards, > Nicolas > > > On Fri, Oct 23, 2015 at 3:01 AM, Morten Olav Hansen > wrote: > >&

Re: [Dhis2-devs] [Dhis2-users] Add new dataelement in an existing program

2015-10-23 Thread Morten Olav Hansen
Hi I'm pretty sure that column can be just dropped. You had to update it because you had non-null values, but also try and drop the entire column -- Morten On Fri, Oct 23, 2015 at 8:23 PM, Mihayo Mathayo wrote: > Hello Team, > > I found the solution just set a default value to true on the act

Re: [Dhis2-devs] Startup Error 2.21

2015-10-25 Thread Morten Olav Hansen
There should be more in the log than this? did you properly clean out your webapps directory before you put the new war there? -- Morten On Mon, Oct 26, 2015 at 12:07 PM, Pamod Amarakoon wrote: > Dear Devs, > > I'm running multiple instances of tomcat 7 on an ubuntu server. I upgraded > JDK to

Re: [Dhis2-devs] Startup Error 2.21

2015-10-25 Thread Morten Olav Hansen
> On Mon, Oct 26, 2015 at 9:42 AM, Morten Olav Hansen > wrote: > >> There should be more in the log than this? did you properly clean out >> your webapps directory before you put the new war there? >> >> -- >> Morten >> >> On Mon, Oct 26, 2015 at

Re: [Dhis2-devs] [Dhis2-users] dhis version 2.21 is released

2015-10-26 Thread Morten Olav Hansen
Hi There is nothing too useful in that log. Please make sure that you also restartet your server (it can be required sometimes), and make sure to properly clean out you webapps directory. Also, please do java -version and verify that you have java 8 as the active jre -- Morten On Mon, Oct 26, 2

Re: [Dhis2-devs] Bulk Deletion of Data

2015-10-27 Thread Morten Olav Hansen
Just FYI, we have two blueprints related to this in 2.22, [1] is implemented already and [2] will hopefully come (but we are still discussing implementation details for that one) [1] https://blueprints.launchpad.net/dhis2/+spec/webapi-bulk-deletion-of-tracker-objects [2] https://blueprints.launchp

Re: [Dhis2-devs] [Dhis2-users] dhis version 2.21 is released

2015-10-27 Thread Morten Olav Hansen
restarting server and creating a new database in postgres, it WORKS > PERFECTLY J but the old database (backup from 2.20) could not be restored > and could not accessed with 2.21 through pg_restore - or working with the > old database (2.20), it gives white webpage. > > > > Y

Re: [Dhis2-devs] [Dhis2-users] dhis version 2.21 is released

2015-10-27 Thread Morten Olav Hansen
x27;t see this with an empty database though.. -- Morten On Tue, Oct 27, 2015 at 4:49 PM, Harivola RANDRIANJAFY wrote: > Please find attached the actually catalina.out log file. > > > > This gives the white screen webpage > > > > Harivola > > > > *De :* M

Re: [Dhis2-devs] [Dhis2-users] dhis version 2.21 is released

2015-10-27 Thread Morten Olav Hansen
Great :) -- Morten On Tue, Oct 27, 2015 at 6:15 PM, Harivola RANDRIANJAFY wrote: > Morten, > > > > Great, all works perfectly with 2.21 after reinstalling to latest tomcat7 > J > > > > BIG THANKS, > > > > Harivola > > > > *De :* Morten Olav

Re: [Dhis2-devs] Bulk Deletion of Data

2015-10-27 Thread Morten Olav Hansen
ackground-color:#525D76;font-size:16px;} > H3 > {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} > BODY > {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B > {font-family:Tahoma,Arial,sans-serif;color:white;backgroun

Re: [Dhis2-devs] Resource table generation error

2015-10-28 Thread Morten Olav Hansen
Hi Did you try and prune your periods? it should be under data admin -> maintainence -- Morten On Thu, Oct 29, 2015 at 10:50 AM, sumudu weerasinghe wrote: > Dear all, > > > We use dhis 2.19 , tracker for Nutrition registry. > I had problem with resource table generation. error came as follows,

Re: [Dhis2-devs] openID

2015-11-05 Thread Morten Olav Hansen
Hi What have you tried so far, and what is not working? (I assume you have read the chapter about openid in our user manual) https://www.dhis2.org/doc/snapshot/en/user/html/ch07.html#d5e1573 -- Morten On Fri, Nov 6, 2015 at 11:13 AM, channara rin wrote: > Hi all friend DHIS2, > could you guid

Re: [Dhis2-devs] openID

2015-11-05 Thread Morten Olav Hansen
Nov 6, 2015 at 1:32 PM, channara rin wrote: > Thank you Morten, > but i saw only Gmail can use, can use yahoo mail, outlook domain? > > On Fri, Nov 6, 2015 at 11:35 AM, channara rin > wrote: > >> Oh, i didn't read. :-) >> >> On Fri, Nov 6, 2015 at 11:

Re: [Dhis2-devs] openID

2015-11-05 Thread Morten Olav Hansen
e: >> >>> Oh, i didn't read. :-) >>> >>> On Fri, Nov 6, 2015 at 11:32 AM, Morten Olav Hansen >>> wrote: >>> >>>> Hi >>>> >>>> What have you tried so far, and what is not working? (I assume you have >>&

Re: [Dhis2-devs] openID

2015-11-05 Thread Morten Olav Hansen
w what i put openid > provider URL? > > On Fri, Nov 6, 2015 at 1:51 PM, Morten Olav Hansen > wrote: > >> No, the openid provider is the server you are connecting to.. the actual >> openid username etc must be added to your dhis2 user.. if you go edit user, >> yo

Re: [Dhis2-devs] openID

2015-11-05 Thread Morten Olav Hansen
mail account URL > like this: https://www.google.com/accounts/o8/id? > > > On Fri, Nov 6, 2015 at 2:09 PM, Morten Olav Hansen > wrote: > >> Well.. that depends on what provider you are using.. every provider >> should have a URL that you can connect to (it could be your o

Re: [Dhis2-devs] openID

2015-11-05 Thread Morten Olav Hansen
OpenID, after i added OpenID > Provider is:https://www.google.com/accounts/o8/id and added gmailID into > user management in field: OpenID already. > > by the way, if new version support LDAP server, it is great. :-) > > On Fri, Nov 6, 2015 at 2:24 PM, Morten Olav Hansen > wrot

[Dhis2-devs] [Bug 1512098] Re: IN operator in trackedEntityInstances Web API endpoint not working

2015-11-12 Thread Morten Olav Hansen
Could you please try again with latest 2.21 (should be available in about 30-40 min) ** Changed in: dhis2 Assignee: (unassigned) => Morten Olav Hansen (mortenoh) ** Changed in: dhis2 Importance: Undecided => Medium ** Changed in: dhis2 Status: New => Fix Committed ** C

Re: [Dhis2-devs] [Bug 1272167] [NEW] Web API query fails for categories, category option combos and category options

2014-01-24 Thread Morten Olav Hansen
Can you show example from our dev server? It seemed to work fine when i tested On Jan 24, 2014 8:15 PM, "Juan Manuel Alcantara" wrote: > Hi Lars > This problem is present in the following versions: > > 2.13 build: 12951 date: 2014-01-24 05:53 > 2.14 build: 13717 date: 2014-01-17 14:20 > 2.15 b

Re: [Dhis2-devs] [Bug 1273379] [NEW] war file download from stable link not updated

2014-01-28 Thread Morten Olav Hansen
Hi, Could you please try with this [1] link, until we fix stable.dhis2.org ? This will always point to the newest build. [1] http://apps.dhis2.org/ci/job/dhis-2.14/lastSuccessfulBuild/artifact/dhis-2/dhis-web/dhis-web-portal/target/dhis.war -- Morten On Tue, Jan 28, 2014 at 2:02 AM, Adebusoye

Re: [Dhis2-devs] Exporting Persons and Programs

2014-01-29 Thread Morten Olav Hansen
> > > > > El 22/01/2014, a las 05:31, Morten Olav Hansen > escribió: > > I have now backported this to 2.13. Please test it out. I did not backport > the UI, so its only available in the web-api (/api/events). > > If you are having issues getting the correct fo

Re: [Dhis2-devs] Bangladesh's main DHIS2 installation hacked and solved

2014-02-05 Thread Morten Olav Hansen
Also make sure that your tomcat is up to date.. there exists several vulnerabilities in older versions (not sure how you installed it, but if you are using a linux distribution, its wise to install it through the package manager) -- Morten On Thu, Feb 6, 2014 at 1:00 PM, Knut Staring wrote: >

Re: [Dhis2-devs] [Bug 1245583] Re: Feature Request: Ability to export/import client-level/patient level data using DHIS

2014-02-06 Thread Morten Olav Hansen
Hi, There is currently no UI for exporting person data, you need to use the web-api for that (following the link Lars gave you). For events, you can use the UI inside DHIS2. -- Morten On Wed, Feb 5, 2014 at 3:26 PM, Cenk Erdil wrote: > Hello, I've looked around documentation to export/import

Re: [Dhis2-devs] [Bug 1245583] Re: Feature Request: Ability to export/import client-level/patient level data using DHIS

2014-02-06 Thread Morten Olav Hansen
Documentation for exporting a person can be seen here: http://www.dhis2.org/doc/snapshot/en/user/html/ch27s25.html#d5e9026 This allows you to export persons in json/xml format (which you can later import) -- Morten On Fri, Feb 7, 2014 at 10:32 AM, Morten Olav Hansen wrote: > Hi, > >

Re: [Dhis2-devs] [Bug 1279368] [NEW] Changes made after data capture has been completed do not save

2014-02-12 Thread Morten Olav Hansen
Maybe you have to run analytics? Remember that by default it is only run once pr day.. So if you fix, it takes some time to show On Feb 12, 2014 9:40 PM, "Jerome Shaguy" wrote: > Public bug reported: > > When a data entry clerk makes a mistake in capturing data and returns to > correct the mistak

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14096: Codestyle

2014-02-23 Thread Morten Olav Hansen
You can find it on our developer page. Direct links is: http://www.dhis2.org/download/resources/dhis-code-style-eclipse.xml -- Morten On Mon, Feb 24, 2014 at 1:58 PM, Brajesh Murari wrote: > Hello Devs, > > Where i can find link to download code-style.xml > which should be configurable with ecl

Re: [Dhis2-devs] Update person

2014-02-24 Thread Morten Olav Hansen
gt; > > > On 24 February 2014 10:26, Morten Olav Hansen wrote: > >> Hi Pierre >> >> I think I have located the issue. We have something called program >> identifiers/attributes which are not supported by the person API yet. At >> the same time, the API doesn&

Re: [Dhis2-devs] Changes to DHIS2 : Patient Tracker

2014-02-24 Thread Morten Olav Hansen
Is this regarding the update of persons, or is it related to something else? -- Morten On Mon, Feb 24, 2014 at 5:02 PM, Pascal Brandt wrote: > Hi, > > Does rev > 13788 > still > not give us what we need? What's the curre

Re: [Dhis2-devs] Changes to DHIS2 : Patient Tracker

2014-02-24 Thread Morten Olav Hansen
created | > lastupdated | patientidentifiertypeid | patientid | > identifier > > -+-+--+-+-+-+---+---- >

Re: [Dhis2-devs] Changes to DHIS2 : Patient Tracker

2014-02-24 Thread Morten Olav Hansen
As an example, you can send the attached json file to our demo server (running 2.14) curl -H "Content-Type: application/json" -X PUT -u admin:district -d @p.json http://apps.dhis2.org/demo/api/persons/iHhCKKXHQv6.json -- Morten On Tue, Feb 25, 2014 at 9:11 AM, Morten Olav Hansen wr

Re: [Dhis2-devs] Update person

2014-03-01 Thread Morten Olav Hansen
ntent-Type: application/json" -u admin:district http://apps.dhis2.org/demo/api/persons We will update the documentation, but we are in the process of changing the whole tracker/person web-api, so it will have to wait until the refactor is done.. -- Morten On Mon, Feb 24, 2014 at 3:38 PM, Mor

[Dhis2-devs] [Bug 1284615] Re: Person Management - Can't search for not enrolled person

2014-03-01 Thread Morten Olav Hansen
** Changed in: dhis2 Assignee: (unassigned) => Thu Tran (tran-hispvietnam) ** Changed in: dhis2 Status: New => Confirmed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1284615 Title:

Re: [Dhis2-devs] Sending Data Values

2014-03-01 Thread Morten Olav Hansen
On Sun, Mar 2, 2014 at 11:34 AM, Juma Lungo wrote: > You can add categoryOptionCombo="ID" to this element.. You can find the IDs on server/api/categoryOptionCombos, that will add the correct categoryOptionCombo.. and not use the default one (which will not show up in forms) -- Morten

Re: [Dhis2-devs] dhis has Remember me?

2014-03-05 Thread Morten Olav Hansen
We don't currently have it. Spring security supports it though. We just added support for OpenID also, it doesn't have remember me.. but if the user already authenticated.. it should auto-login with just the click of the sign in button.. -- Morten On Thu, Mar 6, 2014 at 2:53 PM, Ngoc Thanh Nguye

Re: [Dhis2-devs] Interest in GSOC project JSON enabled storage API

2014-03-08 Thread Morten Olav Hansen
You can also find the file here [1]. I think there was a reason we wanted 3.5.3, and not 3.5.2... so it would be better to use the correct version. [1] http://smslib.org/maven2/v3/org/smslib/smslib/3.5.3/ -- Morten On Sun, Mar 9, 2014 at 2:17 AM, Rishant Agarwal wrote: > In your project, there

Re: [Dhis2-devs] Uniqueness of entity attribute not enforced 2.15 SNAPSHOT release, build revision 14131

2014-03-11 Thread Morten Olav Hansen
Hi, The persons/tracker web-api will be completely re-worked for 2.15, so right now, there is no need to file any bugs against it. This will make it in line with the current tracker changes (TrackedEntity, TrackedEntityInstance etc). -- Morten On Tue, Mar 11, 2014 at 5:20 PM, Pierre Dane wrote

Re: [Dhis2-devs] Testing /api/persons

2014-03-13 Thread Morten Olav Hansen
I'm not familiar with SoapUI, but usually we use basic authentication over https, this is probably the easiest solution if you are working with the API. Also, make sure that you POST the request, and send the key-value pairs as the body.. -- Morten On Thu, Mar 13, 2014 at 1:19 AM, Adrian S wro

Re: [Dhis2-devs] Error generating resource table

2014-03-20 Thread Morten Olav Hansen
Can you try and go to SERVER/dhis-web-maintenance-dataadmin/displayMaintenanceForm.action and click "Update category option combinations" then perform maintenance.. and see if it helps? (you can find it under maintenance -> data administration -> maintenance) -- Morten On Thu, Mar 20, 2014 at 9

Re: [Dhis2-devs] [Bug 1299420] [NEW] trunk 2.15 imported aggregate data elements not available in data set or aggregate domain filter in data elements

2014-03-30 Thread Morten Olav Hansen
Try with "aggregate" as the domain type, not "Aggregate" -- Morten On Mon, Mar 31, 2014 at 12:29 PM, wrote: > Hi Jason and Juan, > > Thanks for your replies. The import was just meta data, so no data values. > The issue I am having is that I can't assign the data elements to a data > set which

Re: [Dhis2-devs] User logged out when creating from API

2014-04-02 Thread Morten Olav Hansen
Hi, Support for creation/update of users is now available in 2.15. The format is the same as before (see output from /api/users), just that the password part will be encoded for every POST/PUT. Please try it out, and report back any issues -- Morten On Tue, Apr 1, 2014 at 8:19 PM, Kiran Prakas

Re: [Dhis2-devs] User logged out when creating from API

2014-04-02 Thread Morten Olav Hansen
Please be aware that is uses the same matching as our meta-data importer, which means that if you do a POST, and the code in userCredentials matches an already existing code, it will be treated as an update. -- Morten On Wed, Apr 2, 2014 at 6:01 PM, Morten Olav Hansen wrote: > Hi, > >

Re: [Dhis2-devs] User logged out when creating from API

2014-04-02 Thread Morten Olav Hansen
It's directly in trunk :) I just commitet a small fix, POSTs will be create only, and PUT will be update only -- Morten On Wed, Apr 2, 2014 at 6:34 PM, Mahendra Kariya wrote: > Hi, > > Is 2.15 branch same as trunk or is it some other branch? If it is some > other branch, could you please point

Re: [Dhis2-devs] Web API to create dataValueSets across multiple dataSets

2014-04-07 Thread Morten Olav Hansen
Hi Have you had a look at our API for sending bulks of data values [1] ? It currently does not support datasets (which means, no completion), but it works good for sending multiple values. [1] http://www.dhis2.org/doc/snapshot/en/user/html/ch28s08.html#d5e7321 -- Morten On Tue, Apr 8, 2014 at

Re: [Dhis2-devs] Tracked entites and 2.14

2014-04-13 Thread Morten Olav Hansen
Hi, This kind of advanced searches was not available in 2.14. But there are some basic filtering if you use /api/persons (which was the old name for this resource), but all the improved query functionality is in 2.15 (together with many many fixes to the tracker web-api). -- Morten On Mon, Apr

Re: [Dhis2-devs] Query regarding /api/users

2014-04-14 Thread Morten Olav Hansen
> > >1. Is there an any way to delete a user using the API? > > You should be able to delete a user by doing a DELETE request to /api/users/UID in 2.15, be aware that there might be some foreign keys etc getting in the way, so another solution might be to disable the user > >1. We want "a

Re: [Dhis2-devs] Query regarding /api/users

2014-04-14 Thread Morten Olav Hansen
t supports the > delete functionality. Could you please tell us when should we expect to > have this in trunk? > > We will submit a patch for point 2 ASAP. > > > > Thanks, > Mahendra > *Thought*Works > > > > On Mon, Apr 14, 2014 at 12:57 PM, Morten Olav Hansen > wrot

Re: [Dhis2-devs] Query regarding /api/users

2014-04-14 Thread Morten Olav Hansen
gt; Thanks! We are running into foreign key issues when we are trying to > delete a user. Could you please point us to the API with which we can > disable the user? > > > On Mon, Apr 14, 2014 at 1:39 PM, Morten Olav Hansen wrote: > >> That code is located in AbstractCrudControl

Re: [Dhis2-devs] Query regarding /api/users

2014-04-15 Thread Morten Olav Hansen
t; } > > > > > Thanks, > Mahendra > *Thought*Works > > > > On Mon, Apr 14, 2014 at 2:05 PM, Morten Olav Hansen wrote: > >> Hi >> >> We don't provide any web-api service for directly disabling a user, but >> you can update the user with userCre

Re: [Dhis2-devs] Query regarding /api/users

2014-04-15 Thread Morten Olav Hansen
s in the expression *((User) > persistedObject).getUserCredentials()* are not changing. > > > > Thanks, > Mahendra > *Thought*Works > > > > On Tue, Apr 15, 2014 at 1:13 PM, Morten Olav Hansen wrote: > >> This should now be fixed in rev 14867. >>

Re: [Dhis2-devs] Query regarding /api/users

2014-04-15 Thread Morten Olav Hansen
gt; wrote: >> >>> Sorry Morten. This is not working. >>> >>> After line 585 in DefaultIdentifiableObjectImporter is executed >>> successfully, the values in the expression *((User) >>> persistedObject).getUserCredentials()* are not changing. >>> >>> >>

Re: [Dhis2-devs] [Bug 1311682] [NEW] Exception when adding validation rule groups

2014-04-23 Thread Morten Olav Hansen
This should be fixed in trunk now. I'm still branching 2.15 (it will take some time), will provide 2.15 fix when I can. -- Morten On Wed, Apr 23, 2014 at 7:49 PM, Olav P <1311...@bugs.launchpad.net> wrote: > Public bug reported: > > With 2.15, it is not possible to add validation rule groups. T

[Dhis2-devs] [Bug 1189717] Re: Jackson 2.2.x bug with deserializing XML

2014-04-29 Thread Morten Olav Hansen
** Changed in: dhis2 Status: New => Fix Committed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1189717 Title: Jackson 2.2.x bug with deserializing XML Status in DHIS 2: Fix Committed

Re: [Dhis2-devs] [Bug 1316450] [NEW] data capture offline although internet link is good

2014-05-06 Thread Morten Olav Hansen
What version? there was a bugfix related to this a bit earlier. You probably have some faulty meta-data, could you also have a look at your logs? Make sure you have the newest version of 2.14, or 2.15 depending on what you are using -- Morten On Tue, May 6, 2014 at 2:30 PM, Simon Muyambo wrote

Re: [Dhis2-devs] [Bug 1316450] [NEW] data capture offline although internet link is good

2014-05-06 Thread Morten Olav Hansen
at 212.71.249.23/dhis, > admin/district > > Regards > Simon Muyambo > > > -Original Message- > From: boun...@canonical.com [mailto:boun...@canonical.com] On Behalf Of > Morten Olav Hansen > Sent: 06 May 2014 09:53 > To: smmuya...@gmail.com > Subject: Re: [Bug 13164

Re: [Dhis2-devs] [Bug 1316450] [NEW] data capture offline although internet link is good

2014-05-06 Thread Morten Olav Hansen
aring wrote: > I agree with your suggestion, Morten. But I think he then first should > upgrade to 2.14, and then 2.15 (as is the standard procedure)? > > Knut > > > On Tue, May 6, 2014 at 12:03 PM, Morten Olav Hansen < > 1316...@bugs.launchpad.net> wrote: > >>

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-09 Thread Morten Olav Hansen
Just wanted to mention that we are now planing to add this functionality to 2.16, it will work as /api/users today (allows creating one user with password etc), but will support bulk import of users + passwords through our meta-data import (/api/metadata), there will be no export of passwords, but

Re: [Dhis2-devs] [Bug 1320212] [NEW] Warning possibly relate to xerces library while migrating to dhis 2.14 to 2.15

2014-05-19 Thread Morten Olav Hansen
I think it should be fine, as long as some kind of impl is provided by the container. -- Morten On Mon, May 19, 2014 at 8:30 PM, Lars Helge Øverland wrote: > Hi Bob, > > thanks for looking into this. > > Morten, do you think you can comment on this? > > I have excluded xercesImpl for now, I thi

Re: [Dhis2-devs] Problem with offline content on data entry module

2014-05-20 Thread Morten Olav Hansen
Thanh, Can you give some more info. Which version of dhis2? which browser and version? does it give you anything in the developer console? In general dhis2 behaves a lot better in dhis 2.14/2.15 with regards to browser storage, but there might still be some glitches here and there -- Morten On

Re: [Dhis2-devs] Problem with offline content on data entry module

2014-05-20 Thread Morten Olav Hansen
gt;> For developer consoles, as it happened on users' machine, we did not >> taken any snapshot. But from now, we try to collect that kind of information >> >> Thanh >> >> >> >> On Tue, May 20, 2014 at 3:18 PM, Morten Olav Hansen >> wrote: >&

Re: [Dhis2-devs] Exclude dataEntryForm Nodes From dataSets

2014-05-20 Thread Morten Olav Hansen
Can you give me the URL you are trying? also, it will only work with a list of dataSets, not at the /api/dataSets/ID endpoint -- Morten On Tue, May 20, 2014 at 12:14 PM, Edwin Mulwa wrote: > Hi, > > I am extracting a list of dataSets from DHIS using the Web API and I would > like to exclude th

Re: [Dhis2-devs] Exclude dataEntryForm Nodes From dataSets

2014-05-20 Thread Morten Olav Hansen
de included (or any other child nodes for that > matter). > > Edwin > > > > On Tue, May 20, 2014 at 1:28 PM, Morten Olav Hansen wrote: > >> Can you give me the URL you are trying? also, it will only work with a >> list of dataSets, not at the /api/dataSets/ID endpoint

Re: [Dhis2-devs] Exclude dataEntryForm Nodes From dataSets

2014-05-20 Thread Morten Olav Hansen
and using JSON that I could use to achieve > my goal? > > > On Tue, May 20, 2014 at 2:07 PM, Morten Olav Hansen wrote: > >> Hi >> >> Only JSON is supported right now, we hope to have other renderers >> available in DHIS 2.17. When you add .xml,

Re: [Dhis2-devs] Problem with offline content on data entry module

2014-05-21 Thread Morten Olav Hansen
>> >> >> On May 20, 2014, at 16:06, Ngoc Thanh Nguyen >> wrote: >> >> >> We use dhis2.4. This happened with all kinds of browsers: chrome, >> firefox, safari. >> For developer consoles, as it happened on users' machine, we did not >&

Re: [Dhis2-devs] Screenshots of data entry module -> could not load the orgtree

2014-05-21 Thread Morten Olav Hansen
Which browser is this? I think you need to provide the exact version + os -- Morten On Wed, May 21, 2014 at 3:42 AM, Ngoc Thanh Nguyen < thanh.hispviet...@gmail.com> wrote: > Document was loaded from Application Cache with manifest > https://hny.vn/sarus/dhis-web-commons/cacheManifest.action i

Re: [Dhis2-devs] [Bug 1323339] [NEW] Group Sharing - search doesn't return any matches

2014-05-26 Thread Morten Olav Hansen
Hm, I see the same issue on our demo server. We will look into it. -- Morten On Mon, May 26, 2014 at 5:34 PM, Morten Olav Hansen wrote: > Have you tried with the latest 2.15? There was a bug related to upgraded > jquery ui.. Which have been fixed > On May 26, 2014 5:30 PM, "

Re: [Dhis2-devs] [Bug 1323339] [NEW] Group Sharing - search doesn't return any matches

2014-05-26 Thread Morten Olav Hansen
Have you tried with the latest 2.15? There was a bug related to upgraded jquery ui.. Which have been fixed On May 26, 2014 5:30 PM, "Rodolfo Melia" wrote: > Public bug reported: > > When doing Sharing Mangement from any object, no group is returned. Even > if you write the full name, you are not

Re: [Dhis2-devs] [Bug 1323339] [NEW] Group Sharing - search doesn't return any matches

2014-05-26 Thread Morten Olav Hansen
This have now been fixed in latest trunk, and backportet into 2.15 -- Morten On Mon, May 26, 2014 at 5:37 PM, Morten Olav Hansen wrote: > Hm, I see the same issue on our demo server. We will look into it. > > -- > Morten > > > On Mon, May 26, 2014 at 5:34 PM, Mor

Re: [Dhis2-devs] Timestamp in DataValues

2014-05-27 Thread Morten Olav Hansen
Hi Aravind, I'm sorry, but could you give me some more details.. is this event dataValues? and which timestamp field? is it the one on trackedentitydatavalue? in the even web-api, we are just doing a simple new Date() for data values If you are talking about programstageinstance, yes, we currentl

Re: [Dhis2-devs] Timestamp in DataValues

2014-05-27 Thread Morten Olav Hansen
g the same behaviour through the web api, we > could submit a patch for the same. > > Please do let us know your thoughts. > > Thanks, > Aravind > > > On Tue, May 27, 2014 at 2:50 PM, Morten Olav Hansen wrote: > >> Hi Aravind, >> >> I'm sorry, but

Re: [Dhis2-devs] [Bug 1323794] [NEW] Loading message doesn't disappear in SEwoR

2014-05-28 Thread Morten Olav Hansen
I can confirm this. Happens because of the backportet jquery-ui update. I will fix it. -- Morten On Tue, May 27, 2014 at 8:53 PM, Juan Manuel Alcantara < jmalcant...@apunto.com.mx> wrote: > Public bug reported: > > In anonymous registration the "Loading" animated message doesn't > disappear. To

[Dhis2-devs] [Bug 1323794] Re: Loading message doesn't disappear in SEwoR

2014-05-28 Thread Morten Olav Hansen
Should be ok now, please wait a bit before upgrading (our server must build and publish the updated version first) ** Changed in: dhis2 Status: New => Confirmed ** Changed in: dhis2 Importance: Undecided => Medium ** Changed in: dhis2 Assignee: (unassigned) => Morten Ol

Re: [Dhis2-devs] 2.15 build failed @ http://apps.dhis2.org/ci/

2014-05-28 Thread Morten Olav Hansen
2.15 is building fine, the problem is in trunk. I have notified the mobile team. -- Morten On Wed, May 28, 2014 at 2:04 PM, Knut Staring wrote: > > > -- > Knut Staring > Dept. of Informatics, University of Oslo > +4791880522 > http://dhis2.org > > __

Re: [Dhis2-devs] Timestamp in DataValues

2014-05-30 Thread Morten Olav Hansen
d for a time >> stamp, and the change in the DB schema. >> >> Regards, >> Jason >> >> >> >> On Tue, May 27, 2014 at 1:03 PM, Morten Olav Hansen >> wrote: >> >>> Hm, yes.. I see that. I guess the idea is that time dimension doesn't &g

[Dhis2-devs] [Bug 1324083] Re: several api links point to dimensions

2014-05-30 Thread Morten Olav Hansen
** Changed in: dhis2 Importance: High => Low ** Changed in: dhis2 Milestone: None => 2.16 ** Changed in: dhis2 Status: New => Confirmed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs

[Dhis2-devs] [Bug 1216825] Re: Categories link in API leads to /api/dimensions

2014-05-30 Thread Morten Olav Hansen
** 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/1216825 Title: Categories link in API leads to /api/dimensions Status in DHIS 2: Confirmed Bug

[Dhis2-devs] [Bug 1220160] Re: Web API: DataElementGroupSets links to dimensions

2014-05-30 Thread Morten Olav Hansen
** Changed in: dhis2 Assignee: (unassigned) => Morten Olav Hansen (mortenoh) ** Changed in: dhis2 Milestone: None => 2.16 ** Changed in: dhis2 Importance: Undecided => Low ** Changed in: dhis2 Status: New => Confirmed -- You received this bug notification becau

[Dhis2-devs] [Bug 1323339] Re: Group Sharing - search doesn't return any matches

2014-05-30 Thread Morten Olav Hansen
** Changed in: dhis2 Milestone: None => 2.16 ** Changed in: dhis2 Assignee: (unassigned) => Morten Olav Hansen (mortenoh) ** Changed in: dhis2 Importance: Undecided => High ** Changed in: dhis2 Status: New => Fix Committed -- You received this bug notification

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

2014-06-10 Thread Morten Olav Hansen
I can confirm this, but I don't think this feature was ever implemented. I 'think' it's coming, but I'm not sure if it will be 2.15, 21.16 or even 2.17. ** Changed in: dhis2 Status: New => Confirmed ** Changed in: dhis2 Assignee: (unassigned) => Lars Helge Øverland (larshelge) -- Yo

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

2014-06-10 Thread Morten Olav Hansen
Hi All our endpoint have now been switched our to using the new field filtering (similar to the old inclusion/exclusion), so the data you want is probably there, but you have to tell the system you want to have it. I do see that there is a bug in the UserCredentials class, I will fix that tomorrow

Re: [Dhis2-devs] OrgUnit Caching with Etag.

2014-10-19 Thread Morten Olav Hansen
Hi Sandesh Would a simpler solution be to just enable springs Shallow ETag filter for the web-api? I thought it was already in use, but it seems to have been removed.. we are using it in the ohie-module. -- Morten On Fri, Oct 10, 2014 at 5:32 PM, Sandesh Sukumar Doolipeta < sande...@thoughtworks

Re: [Dhis2-devs] OrgUnit Caching with Etag.

2014-10-19 Thread Morten Olav Hansen
Any approach is fine with us , provided > an E-Tag is being returned and its value is dependent on the payload . > > Will you be picking this up ? . > > On Mon, Oct 20, 2014 at 10:56 AM, Morten Olav Hansen > wrote: > >> Hi Sandesh >> >> Would a simpler

Re: [Dhis2-devs] OrgUnit Caching with Etag.

2014-10-19 Thread Morten Olav Hansen
This is now available in rev 17175, please try it out. -- Morten On Mon, Oct 20, 2014 at 12:56 PM, Morten Olav Hansen wrote: > Ok, Yes, I will add the shallow E-tag filter today, which mean that the > whole web-api should have a E-tag available. > > -- > Morten > > On Mo

Re: [Dhis2-devs] JavaScript onValueLoad for Datasets?

2014-10-23 Thread Morten Olav Hansen
Hi If I understand you correctly, you can use "dhis2.de.event.dataValuesLoaded" event, which is triggered on the document when all previous data values are loaded. $(document).on('dhis2.de.event.dataValuesLoaded', function(e) {} ); -- Morten On Fri, Oct 24, 2014 at 12:21 PM, Timothy Harding

Re: [Dhis2-devs] Getting org unit children through /api/metadata

2014-10-28 Thread Morten Olav Hansen
Hi The metadata endpoint is mainly for doing complete dumps. If you want advanced filtering etc, you will need to use /api/organisationUnits -- Morten On Wed, Oct 29, 2014 at 1:02 PM, Mahendra Kariya < mahendra.kar...@thoughtworks.com> wrote: > Hi Morten, > > We are trying to get the entire met

Re: [Dhis2-devs] Java 8 v25 & Tomcat 7.0 v56

2014-10-29 Thread Morten Olav Hansen
Is it related to this [1] ? We usually prefer hosting on J7, but it should in theory be fine on J8 also.. is there any error logs indicating an error? [1] http://stackoverflow.com/questions/23541532/tomcat7-and-java8-wont-start -- Morten On Thu, Oct 23, 2014 at 5:15 PM, Calle Hedberg wrote: >

Re: [Dhis2-devs] [Bug 1389912] [NEW] (Web-API) Using filter=name:like:* fails for certain objects

2014-11-08 Thread Morten Olav Hansen
Yes, I will look into this. The problem is that (as you say) quite a few objects don’t have a persisted name property, but at the same time we do a special db optimisation for name:like:abc and this fails when the object doesn’t not have this property. This can be solved by doing getSchema().getPr

[Dhis2-devs] [Bug 1389912] Re: (Web-API) Using filter=name:like:* fails for certain objects

2014-11-10 Thread Morten Olav Hansen
This have now been fixed in trunk rev 17411 ** Changed in: dhis2 Assignee: (unassigned) => Morten Olav Hansen (mortenoh) ** Changed in: dhis2 Importance: Undecided => Medium ** Changed in: dhis2 Status: New => Fix Committed ** Changed in: dhis2 Milestone: Non

[Dhis2-devs] [Bug 1388996] Re: API returns status OK 200 on unauthorized requests

2014-11-10 Thread Morten Olav Hansen
** Changed in: dhis2 Milestone: None => 2.18 ** Changed in: dhis2 Assignee: (unassigned) => Morten Olav Hansen (mortenoh) ** Changed in: dhis2 Importance: Undecided => Medium ** Changed in: dhis2 Status: New => Confirmed -- You received this bug notification bec

[Dhis2-devs] [Bug 1388996] Re: API returns status OK 200 on unauthorized requests

2014-11-10 Thread Morten Olav Hansen
Hi We are working on this, and it should be there for the 2.18 release. We have started the work in 2.17, but we didn't want to change output from the web-api so late in the release process, so it will be pushed to 2.18, we will be switching to strictly following the Accept header (or fallback to

Re: [Dhis2-devs] Eivind Eriksen joins as developer

2014-11-12 Thread Morten Olav Hansen
Welcome to the team! -- Morten On Wed, Nov 12, 2014 at 6:12 PM, Jan Henrik Øverland < janhenrik.overl...@gmail.com> wrote: > Welcome! > > On Wed, Nov 12, 2014 at 12:58 PM, Abyot Gizaw wrote: > >> Welcome Eivind ! >> >> >> --- >> Thank you, >> Abyot. >> >> On Wed, Nov 12, 2014 at 12:51 PM, Lars

Re: [Dhis2-devs] Why do the two OU trees in the add user interface so different in loading time?

2014-11-19 Thread Morten Olav Hansen
You can also turn off offline support pr dataset... so it will load faster (especially for custom forms) -- Morten On Thu, Nov 20, 2014 at 2:49 AM, Lars Helge Øverland wrote: > Make sure compression is turned on at the web server (I assume it is). > Turn caching on under settings > cache strate

Re: [Dhis2-devs] Change in contract in /users api

2014-11-23 Thread Morten Olav Hansen
Hi This was changed since it was actually a bug in the naming, it should have been userRoles from the start (and this is reflected other places). There shouldn't be a need for a migration path though? unless you mean for old code? for the users themselves, nothing has changed internally (same dat

Re: [Dhis2-devs] Application not viewing data after analytics

2014-11-26 Thread Morten Olav Hansen
Did you go to orgunit level and click save? Just a guess.. -- Morten On Wed, Nov 26, 2014 at 9:41 PM, Isika Oliver wrote: > on the same instance i pruned periods and updated combinations, now > analytics throws an error that a duplicate categorycombination key exists > and hangs up > > On Wed,

Re: [Dhis2-devs] Application not viewing data after analytics

2014-11-27 Thread Morten Olav Hansen
You also ran analytics again after doing this? -- Morten On Thu, Nov 27, 2014 at 3:56 PM, Isika Oliver wrote: > i did this, I am importing data from another instance but nothing shows up > on analytics > > On Wed, Nov 26, 2014 at 2:48 PM, Morten Olav Hansen > wrote: > >&g

[Dhis2-devs] [Bug 1397323] Re: Meta-data import-export not working for update of cascading collections

2014-11-28 Thread Morten Olav Hansen
Should be working now, please try again and confirm ** Changed in: dhis2 Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1397323 Title: Meta-data import-

Re: [Dhis2-devs] Exception with Meta Data Export for Programs

2014-11-28 Thread Morten Olav Hansen
Hi Seems like you have 1 program, and its "related" property is pointing to itself? -- Morten On Fri, Nov 28, 2014 at 5:28 PM, Adebusoye Anifalaje wrote: > Hi devs, > > I got an exception, trying to export Programs. The error log is below. > Just in case it’s important, my programs have relati

Re: [Dhis2-devs] Defect in metadata import for optionSets?

2014-11-28 Thread Morten Olav Hansen
Hi Please remember that the way we handle options/optionSets have been changed now. You need to have This now works as any other metadata... you first define the options, then create optionsets with references to these options.. this allow for option reuse, and also translation -- Morten

Re: [Dhis2-devs] Defect in metadata import for optionSets?

2014-12-01 Thread Morten Olav Hansen
", > "name": "One" > }] > } > > After that, I loaded /api/options.json and found only one entry, the > option with code "b65ad0e22c5". The first option was missing. It seems to > be using the "name" attribute (and not the

[Dhis2-devs] [Bug 1246220] Re: Problem with pivot tables when exporting/importing configs

2014-12-07 Thread Morten Olav Hansen
Hi Can you please try with the latest 2.17 or trunk? we have fixed a number of issues related to this. -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1246220 Title: Problem with pivot tables whe

<    5   6   7   8   9   10   11   12   13   >