[Dhis2-devs] [Bug 740616] Re: javascript validation broken

2011-03-23 Thread Morten Olav Hansen
This bug affected all places where a range of letter was expected. Change range to rangelength in commit r3136. ** Changed in: dhis2 Assignee: (unassigned) = Morten Olav Hansen (mortenoh) ** Changed in: dhis2 Status: New = Fix Committed -- You received this bug notification because

[Dhis2-devs] [Bug 741600] Re: Directed to wrong page after the edit user page

2011-03-24 Thread Morten Olav Hansen
Fixed in r3154 ** Changed in: dhis2 Assignee: (unassigned) = Morten Olav Hansen (mortenoh) ** 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

[Dhis2-devs] [Bug 741607] Re: Orgunit tree extended too far on Hierarchy operations page

2011-03-24 Thread Morten Olav Hansen
** Changed in: dhis2 Assignee: (unassigned) = Morten Olav Hansen (mortenoh) ** 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/741607 Title

[Dhis2-devs] [Bug 741604] Re: List sorting colour mix-up

2011-03-24 Thread Morten Olav Hansen
** Changed in: dhis2 Status: New = Confirmed ** Changed in: dhis2 Assignee: (unassigned) = Morten Olav Hansen (mortenoh) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/741604 Title

[Dhis2-devs] [Bug 741600] Re: Directed to wrong page after the edit user page

2011-03-24 Thread Morten Olav Hansen
This will only work for the cancel button. The redirect path for submit is hardcoded in struts.xml. -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/741600 Title: Directed to wrong page after the

[Dhis2-devs] [Bug 741607] Re: Orgunit tree extended too far on Hierarchy operations page

2011-03-24 Thread Morten Olav Hansen
Fix commited in r3159 ** 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/741607 Title: Orgunit tree extended too far on Hierarchy

[Dhis2-devs] [Bug 744052] Re: can't Add new orgunit

2011-03-28 Thread Morten Olav Hansen
Can you clear the cache and try again? this should have been fixed already.. ** Changed in: dhis2 Assignee: (unassigned) = Morten Olav Hansen (mortenoh) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https

[Dhis2-devs] [Bug 744967] Re: Indicator description field: Please enter at least NaN characters.

2011-03-29 Thread Morten Olav Hansen
** Changed in: dhis2 Assignee: (unassigned) = Morten Olav Hansen (mortenoh) ** 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/744967 Title

[Dhis2-devs] [Bug 744052] Re: can't Add new orgunit

2011-03-29 Thread Morten Olav Hansen
Unable to reproduce on newest rev. This was a bug in the initial implementation of validation rules, and should be gone now (but one has to clear the cache). ** Changed in: dhis2 Status: New = Invalid -- You received this bug notification because you are a member of DHIS 2 developers,

[Dhis2-devs] [Bug 754575] Re: Validation problem with category combo

2011-04-09 Thread Morten Olav Hansen
** 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/754575 Title: Validation problem with category combo Status in DHIS 2 - District

[Dhis2-devs] [Bug 705340] Re: User list paging sort order problem

2011-04-12 Thread Morten Olav Hansen
** 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/705340 Title: User list paging sort order problem Status in DHIS 2 - District Health

[Dhis2-devs] [Bug 713641] Re: export-crashes-when-orgunit-active-null

2011-04-12 Thread Morten Olav Hansen
** 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/713641 Title: export-crashes-when-orgunit-active-null Status in DHIS 2 - District

[Dhis2-devs] [Bug 760499] [NEW] DataSet - edit compulsory data elements gives exception (resourcetable not generated)

2011-04-14 Thread Morten Olav Hansen
Public bug reported: When the resource tables are not generated, the system gives an exception when trying to edit compulsory data elements (in dataset). [+] Caused by (org.h2.jdbc.JdbcSQLException): Table _CATEGORYOPTIONCOMBONAME not found; SQL statement: SELECT de.dataelementid, de.name,

[Dhis2-devs] [Bug 724165] Re: datasetsection-allow-nonunique-names

2011-04-14 Thread Morten Olav Hansen
This is now a constraint on the DB. The validation was fixed in an earlier release (there was a bug with remote validation). DataSet + Section should now be unique. ** Changed in: dhis2 Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of

[Dhis2-devs] [Bug 761690] [NEW] Min-Max Value Generation lacks client-side validation in Organisation Unit Selection

2011-04-15 Thread Morten Olav Hansen
Public bug reported: Min-Max Value Generation lacks client-side validation in Organisation Unit Selection Today, you get Success back.. with a notice about lacking org unit. ** Affects: dhis2 Importance: Undecided Assignee: Morten Olav Hansen (mortenoh) Status: New

[Dhis2-devs] [Bug 761909] [NEW] Pager is still visible if there are no objects..

2011-04-15 Thread Morten Olav Hansen
Public bug reported: Some places (e.g. Static Report) the pager is still there after you delete the last object in the list. After a page refresh, the pager is gone. ** Affects: dhis2 Importance: Undecided Status: New ** Description changed: - Some places (like Static Report) the

[Dhis2-devs] [Bug 761919] [NEW] Tally Sheet Generator - NumberFormatException sometimes..

2011-04-15 Thread Morten Olav Hansen
Public bug reported: I have an org structure: RootOrg - SubOrg Org If I select RootOrg or Org, there are no problems.. but if select SubOrg I get: [-] Exception (java.lang.NumberFormatException): For input string: DDD

[Dhis2-devs] [Bug 745624] Re: impossible to write in orgUnit group name field

2011-04-18 Thread Morten Olav Hansen
Marking as invalid, since it was already fixed in an earlier commit. ** 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://bugs.launchpad.net/bugs/745624 Title: impossible to

[Dhis2-devs] [Bug 745624] Re: impossible to write in orgUnit group name field

2011-04-18 Thread Morten Olav Hansen
What revision are you using? are you experiencing the same problem on http://dhis.uio.no/dev ? (admin/district as usual) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/745624 Title: impossible

[Dhis2-devs] [Bug 765759] [NEW] In the dashboard area for map views, removing one of the views gives an NPE

2011-04-19 Thread Morten Olav Hansen
Public bug reported: If one tries to remove on of the listed map views in the map view area in the dashboard, it returns a null-ptr exception. [-] Exception (java.lang.NullPointerException): null

[Dhis2-devs] Please do NOT commit to dhis2-trunk at this moment

2011-05-04 Thread Morten Olav Hansen
Hi everbody As you might have seen, our revision number have gone back to 1,2,3, etc. This seems to have been caused by a serious bug in bzr (we now have negative revision numbers) Lars and I are currently trying to remedy this situation, please do NOT commit anything at this moment. -- Morten

Re: [Dhis2-devs] Please do NOT commit to dhis2-trunk at this moment

2011-05-04 Thread Morten Olav Hansen
a status update for 2 days but still looks troubled.  It might be we will have to allow launchpad to stabilize before we can stabilize our own stuff. On 4 May 2011 08:50, Morten Olav Hansen morte...@gmail.com wrote: Hi everbody As you might have seen, our revision number have gone back

Re: [Dhis2-devs] Please do NOT commit to dhis2-trunk at this moment

2011-05-04 Thread Morten Olav Hansen
We should be able to use that, Lars can decide when his back. You will have to do the push --overwrite to trunk though. -- Morten On Wed, May 4, 2011 at 11:01 AM, Jo Størset stor...@gmail.com wrote: Den 4. mai 2011 kl. 10.25 skrev Morten Olav Hansen: Lars has r3509 on his laptop, so he

Re: [Dhis2-devs] Postgres restore problem

2011-05-04 Thread Morten Olav Hansen
Hi I'm no expert, but... the dhis2demo.backup file is not is a dump format. It is in plain text. So you need to do something like this: psql -d dbname -U username -f dhis2demo.backup -- Morten On Wed, May 4, 2011 at 1:40 PM, Knut Staring knu...@gmail.com wrote: Hi, I'm trying this on my

[Dhis2-devs] [Bug 777668] [NEW] exception when selecting indicator groups in chart

2011-05-05 Thread Morten Olav Hansen
Public bug reported: DHIS2 throws an exception every time a new indicator group is selected in addChart: * WARN 10:58:21,357 Error setting expression 'id' with value '[Ljava.lang.String;@716a6589' (CommonsLogger.java [1432599252@qtp-675303090-3]) ognl.MethodFailedException: Method setId

[Dhis2-devs] Update on dhis2-trunk

2011-05-05 Thread Morten Olav Hansen
Hi everybody :) It seems that our conversion from the old format (v1) to the new 2a took a long time, and caused the launchpad database to disconnect from the update process. This had the side-effect that the webpage was never updated with the correct format (and information that the upgrade was

Re: [Dhis2-devs] Build failed in Jenkins: Dhis2 Service Trunk #2602

2011-05-06 Thread Morten Olav Hansen
Somebody with access needs to upgrade the format on the build server.. -- Morten On Fri, May 6, 2011 at 10:02 AM, supp...@hisp.uio.no wrote: See http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/2602/ -- Started by an SCM change $ bzr revision-info

[Dhis2-devs] [Bug 785187] Re: Data entry forms: selection box with data elements not shown in editor full screen mode

2011-05-19 Thread Morten Olav Hansen
Fixed in revision 3670. Needed to adjust z-index of dialog to 10k (ckeditor i ). ** 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/785187

[Dhis2-devs] [Bug 704973] Re: There must be some validations for Phone Number field in User and Organisationunit module

2011-05-19 Thread Morten Olav Hansen
Any more comments here? validation of phone numbers is a minefield. Should this be a system setting? What are the requirements for a phone number? -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS.

Re: [Dhis2-devs] [Bug 787163] [NEW] GIS thematic layer 2 legend sometimes omitted from exported image

2011-05-24 Thread Morten Olav Hansen
https://launchpad.net/dhis2/+subscribe -- Morten 2011/5/24 Bjørnar Valbø 787...@bugs.launchpad.net: Intuivitet my ass! Korsen får ej meldt mej av disse bug-listene??? -Bjørnar 2011/5/23 Jan Henrik Øverland janhenrik.overl...@gmail.com Public bug reported: GIS thematic layer 2 legend

[Dhis2-devs] [Bug 769312] Re: Part of data Element list window hiden

2011-05-25 Thread Morten Olav Hansen
We are now using jQuery.dialog() here, so this should no longer be a problem (the dialog header is unable to leave the browser window) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/769312 Title:

Re: [Dhis2-devs] Sorting sections in dataset section forms?

2011-05-26 Thread Morten Olav Hansen
Just a guess but it might be caused by the cache.. can you try: hibernate.cache.use_query_cache = false in your hibernate file? I'm seeing similar problems with my paging work. -- Morten On Thu, May 26, 2011 at 4:46 PM, Jason Pickering jason.p.picker...@gmail.com wrote: Interesting that

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 brajesh.mur...@yahoo.comwrote: Hello Devs, Where i can find link to download code-style.xml which should be

Re: [Dhis2-devs] Update person

2014-02-24 Thread Morten Olav Hansen
On 24 February 2014 10:26, Morten Olav Hansen morte...@gmail.com 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't recognize that the identifier/attribute

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 pas...@jembi.org wrote: Hi, Does rev 13788http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/2.14/revision/13788 still not give us what we need? What's

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

2014-02-24 Thread Morten Olav Hansen
that we will have created in the system beforehand. This should be possible, right? We will provide some feedback after our test. Cheers, Pascal On 24 February 2014 13:04, Morten Olav Hansen morte...@gmail.com wrote: Is this regarding the update of persons, or is it related to something

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 morte

Re: [Dhis2-devs] Update person

2014-03-01 Thread Morten Olav Hansen
: 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, Morten Olav Hansen

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

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 bindasrish...@gmail.comwrote:

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

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, bus...@hisp.org 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

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

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 morte...@gmail.comwrote

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 mahen...@thoughtworks.comwrote: Hi, Is 2.15 branch same as trunk or is it some other branch? If it is some other branch,

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

2014-04-08 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 admin

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

2014-04-14 Thread Morten Olav Hansen
. 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 morte...@gmail.comwrote: 1. Is there an any way to delete a user using the API? You

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

2014-04-14 Thread Morten Olav Hansen
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 morte...@gmail.comwrote: That code is located in AbstractCrudController -- Morten On Mon, Apr

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

2014-04-15 Thread Morten Olav Hansen
} ], selfRegistered: false, password: Password1, disabled: true }, id: nWSreYohGrM } Thanks, Mahendra *Thought*Works On Mon, Apr 14, 2014 at 2:05 PM, Morten Olav Hansen morte...@gmail.comwrote: Hi We don't provide any web-api service for directly disabling

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

2014-04-15 Thread Morten Olav Hansen
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 morte...@gmail.comwrote: This should now be fixed in rev 14867. -- Morten On Mon, Apr 14, 2014 at 8:02 PM

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

2014-04-15 Thread Morten Olav Hansen
Great :) -- Morten On Tue, Apr 15, 2014 at 4:26 PM, Mahendra Kariya mahendra.kar...@thoughtworks.com wrote: Its working! :-) There was some issue with the DHIS build. It was picking up the old war file all this time. Thanks a ton! On Tue, Apr 15, 2014 at 2:24 PM, Morten Olav Hansen

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.

[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
the installation 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 1316450] [NEW] data capture offline

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

2014-05-06 Thread Morten Olav Hansen
knu...@gmail.com 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: Hi You are running version 2.13

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 larshe...@gmail.comwrote: Hi Bob, thanks for looking into this. Morten, do you think you can comment on this? I have excluded xercesImpl

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

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

2014-05-20 Thread Morten Olav Hansen
now, we try to collect that kind of information Thanh On Tue, May 20, 2014 at 3:18 PM, Morten Olav Hansen morte...@gmail.comwrote: 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

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 eddi...@gmail.com wrote: Hi, I am extracting a list of dataSets from DHIS using the Web API and I would like

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

2014-05-20 Thread Morten Olav Hansen
command using JSON that I could use to achieve my goal? On Tue, May 20, 2014 at 2:07 PM, Morten Olav Hansen morte...@gmail.comwrote: Hi Only JSON is supported right now, we hope to have other renderers available in DHIS 2.17. When you add .xml, the include/exclude functionality is bypassed

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 morte...@gmail.comwrote: 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 rme...@knowming.com wrote: Public bug reported: When doing Sharing Mangement from any object, no group is returned. Even if you write the full

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 morte...@gmail.comwrote: 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

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

Re: [Dhis2-devs] Timestamp in DataValues

2014-05-27 Thread Morten Olav Hansen
, we could see that the time part is also getting persisted. If we see value in maintaining 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 morte

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 verify

[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 Olav Hansen

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 knu...@gmail.com 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
, Jason On Tue, May 27, 2014 at 1:03 PM, Morten Olav Hansen morte...@gmail.com wrote: Hm, yes.. I see that. I guess the idea is that time dimension doesn't really matter for aggregate values. I don't see any harm in supporting multiple ISO formats, so if you could provide a patch

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

[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 because you

[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 because you

[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) -- You

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

Re: [Dhis2-devs] Metadata filtering in API no longer working?

2014-06-11 Thread Morten Olav Hansen
On Wed, Jun 11, 2014 at 8:50 AM, Knut Staring knu...@gmail.com wrote: $.getJSON( url, function( json ) { console.dir(json); }); $.ajax({ url: URL, dataType: 'json' }).done(function(data) { $.each(data.organisationUnits, function(idx) { console.log(root + idx + : + this.id);

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

2014-06-11 Thread Morten Olav Hansen
Hi This should now be working in rev 15615. /api/users/OYLGMiazHtW.json?fields=:all,userCredentials[:all] Please try it out and report any issues back -- Morten On Tue, Jun 10, 2014 at 1:33 PM, Morten Olav Hansen morte...@gmail.com wrote: Hi All our endpoint have now been switched our

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

2014-06-11 Thread Morten Olav Hansen
. This might break backwards compatibility of the api, as the older api was giving out all the fields by default including nested objects. Is this the expected behaviour? Thanks, Aravind On Wed, Jun 11, 2014 at 1:19 PM, Morten Olav Hansen morte...@gmail.com wrote: Hi This should now

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

2014-06-11 Thread Morten Olav Hansen
) and some of our domain logic is based on this type. Are we missing something in our query? Please let us know. Thanks in advance, Kiran. On Wed, Jun 11, 2014 at 3:16 PM, Morten Olav Hansen morte...@gmail.com wrote: Yes, This is by design, :all merely means give me all property on current

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

2014-06-11 Thread Morten Olav Hansen
includeChildren/includeDescendants should now be available in rev 15619. -- Morten On Wed, Jun 11, 2014 at 12:15 PM, Morten Olav Hansen morte...@gmail.com wrote: On Wed, Jun 11, 2014 at 12:03 PM, Kiran Prakash kprak...@thoughtworks.com wrote: Is it possible to keep backward compatibility

Re: [Dhis2-devs] Exporting and Importing Individual Records program Meta data

2014-06-12 Thread Morten Olav Hansen
Import/export of tracker metadata is coming to 2.16 On Jun 12, 2014 9:13 AM, Adebusoye Anifalaje bus...@hisp.org wrote: Hi Prosper, That’s right. No meta data export for programs (yet). Hope this will change soon. Regards, Busoye On 12 Jun 2014, at 07:27, Prosper BT ptb3...@gmail.com

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

2014-06-12 Thread Morten Olav Hansen
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 dnmut...@gmail.com wrote: Hi Team, I am importing org unit data via the api using curl, on running the script, this is the error I am getting.

Re: [Dhis2-devs] Need to pass credentials from external site

2014-06-12 Thread Morten Olav Hansen
Hi, i test this on our demo server (http://apps.dhis2.org/dev) and this works fine: $.post('/dev/dhis-web-commons-security/login.action?authOnly=true', { j_username: admin, j_password: district }) Is the request coming from the same server? remember that x-domain auth is not supported by default

Re: [Dhis2-devs] Issues importing ProgramStageSection

2014-06-12 Thread Morten Olav Hansen
Hi, The tracker metadata web-api should still be considered wip (it's new for 2.16). I haven't tested with programStageSections at all. I will have a look at it. -- Morten On Thu, Jun 12, 2014 at 10:49 AM, Mansi Singhal msing...@thoughtworks.com wrote: Hello All, We were trying to create

Re: [Dhis2-devs] Need to pass credentials from external site

2014-06-12 Thread Morten Olav Hansen
, Jun 12, 2014 at 10:38 AM, Morten Olav Hansen morte...@gmail.com wrote: Hi, i test this on our demo server (http://apps.dhis2.org/dev) and this works fine: $.post('/dev/dhis-web-commons-security/login.action?authOnly=true', { j_username: admin, j_password: district }) Is the request coming

Re: [Dhis2-devs] Need to pass credentials from external site

2014-06-12 Thread Morten Olav Hansen
/snapshot/en/implementer/html/ch08s03.html Knut On Thu, Jun 12, 2014 at 10:38 AM, Morten Olav Hansen morte...@gmail.com wrote: Hi, i test this on our demo server (http://apps.dhis2.org/dev) and this works fine: $.post('/dev/dhis-web-commons-security/login.action?authOnly=true

Re: [Dhis2-devs] Issues importing ProgramStageSection

2014-06-12 Thread Morten Olav Hansen
of that relationship, so to attach it, you would also send a programStage update in the same metadata body. -- Morten On Thu, Jun 12, 2014 at 11:34 AM, Morten Olav Hansen morte...@gmail.com wrote: That sounds weird. Abyor or Tran, could you have a look at it? -- Morten On Thu, Jun 12, 2014 at 11:26

Re: [Dhis2-devs] Issues importing ProgramStageSection

2014-06-12 Thread Morten Olav Hansen
PROGRAMSTAGEID; SQL statement: insert into programstage_dataelements (compulsory, allowprovidedelsewhere, sort_order, displayInReports, allowDateInFuture, programstageid, dataelementid) values (?, ?, ?, ?, ?, ?, ?) [23502-173] On Thu, Jun 12, 2014 at 3:28 PM, Morten Olav Hansen morte

Re: [Dhis2-devs] Issues importing ProgramStageSection

2014-06-12 Thread Morten Olav Hansen
Hi Mansi Could you try out rev 15650 and see if it works for you? -- Morten On Thu, Jun 12, 2014 at 1:06 PM, Morten Olav Hansen morte...@gmail.com wrote: Yes, I'm looking into this now, seems like we are using a Set for programStageDataElements some places, and a List other places.. Btw

Re: [Dhis2-devs] Access to Apps

2014-06-13 Thread Morten Olav Hansen
Yes, we are planing to support this (maybe 2.17) On Jun 13, 2014 2:04 PM, Olav Poppe olav.po...@me.com wrote: I assume this was meant for the list. 13. juni 2014 kl. 11:46 skrev Knut Staring knu...@gmail.com: I very much second this, since we are for example working on Apps to import OU

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

2014-06-17 Thread Morten Olav Hansen
Hi Kiran There was as a very stupid bug there, I'm sorry. It should have been fixed in rev 15711 -- Morten On Tue, Jun 17, 2014 at 8:25 AM, Kiran Prakash kprak...@thoughtworks.com wrote: Hello, Recent serialization changes have broken UserSetting and SystemSetting services. These

Re: [Dhis2-devs] User Creation failing via Metadata API.

2014-06-17 Thread Morten Olav Hansen
Hi We are using metadata api to create user, the post payload looks like this. { users: [ { disabled: false, Why do you have this here? this is part of userCredentials organisationUnits: [ { name: MSF,

Re: [Dhis2-devs] Fwd: User Creation failing via Metadata API.

2014-06-17 Thread Morten Olav Hansen
There have been no changes to UserCredentials, and it doesn't require an idStore since it's handled differently in the importer. I will have a look at it -- Morten On Tue, Jun 17, 2014 at 12:46 PM, Kiran Prakash kprak...@thoughtworks.com wrote: please ignore that* id: 0* line. I tested it

Re: [Dhis2-devs] Fwd: User Creation failing via Metadata API.

2014-06-17 Thread Morten Olav Hansen
Can you give some more details about the error you get? is it just not updating, or is it giving you an exception? some kind of conflict report? -- Morten On Tue, Jun 17, 2014 at 12:48 PM, Morten Olav Hansen morte...@gmail.com wrote: There have been no changes to UserCredentials

Re: [Dhis2-devs] Fwd: User Creation failing via Metadata API.

2014-06-17 Thread Morten Olav Hansen
: class org.hisp.dhis.user.UserCredentials (DefaultIdentifiableObjectManager.java [375879558@qtp-1739190459-0]) On Tue, Jun 17, 2014 at 4:23 PM, Morten Olav Hansen morte...@gmail.com wrote: Can you give some more details about the error you get? is it just not updating, or is it giving

Re: [Dhis2-devs] Fwd: User Creation failing via Metadata API.

2014-06-17 Thread Morten Olav Hansen
call. On Tue, Jun 17, 2014 at 4:47 PM, Morten Olav Hansen morte...@gmail.com wrote: Hm, ok. So you are creating a new user, right? I see it says, updated: 1, which means it selected the wrong strategy. -- Morten On Tue, Jun 17, 2014 at 12:56 PM, Kiran Prakash kprak

  1   2   3   4   5   6   7   8   9   10   >