Re: [Dhis2-devs] Issue with database locale change causing resource tables to fail

2018-07-11 Thread Victor Garcia
Hi Elmarie, Based on the log I cannot say that it is the same issue, but we have experienced some similar problems with servers in different time zones, mainly when the timezone has daylight saving and it falls at midnight (0:00:00.000). Our guess was that DHIS2 sets by default the hour to

[Dhis2-devs] Analytics: aggregation from to month

2018-01-22 Thread Victor Garcia
Hi all, As of 2.27 the aggregation from weeks to months in analytics was changed: weeks are attributed to the month where they have four days or more. But we are experiencing some unexpected behavior in 2.28. As an example here I paste a row extracted from _periodstructure table in demo server:

Re: [Dhis2-devs] Unable to update password using API in 2.28

2017-12-07 Thread Victor Garcia
t; -- >> Morten Olav Hansen >> Senior Engineer, DHIS 2 >> University of Oslo >> http://www.dhis2.org >> >> On Mon, Dec 4, 2017 at 9:53 PM, Victor Garcia <vgarcia...@gmail.com> >> wrote: >> >>> Hi all, >>> >>> I am having troubles

[Dhis2-devs] Recommendations on the use of "lastupdated" in different timezones

2017-08-30 Thread Victor Garcia
Hi all, I would like to have your insights on how to use the "lastupdated" field correctly in different timezones. Our use case is that we want to export events from one instance to another, and we want to export only the events that have been modified since the previous export. To do that we

Re: [Dhis2-devs] [Dhis2-users] CANNOT CREATE PROGRAM STAGE SECTIONS in v. 2.27

2017-06-30 Thread Victor Garcia
Same problem here. Reported a few days ago (https://jira.dhis2.org/browse/DHIS2-1871). This issue is reproducible in demo server. Regards, Víctor On 29 June 2017 at 19:16, Georgi Chakarov wrote: > I am a superuser and I have access to all! I was able to

Re: [Dhis2-devs] Expected "inter-stage" behaviour of ASSIGN program rule action

2017-05-23 Thread Victor Garcia
> that assigns "the other way". You will be able to query data from all other > program stages when calculating and assigning values to helper fields. > > Best regards, > Markus > > 22. mai 2017 kl. 16.32 skrev Victor Garcia <vgarcia...@gmail.com>: >

Re: [Dhis2-devs] Expected "inter-stage" behaviour of ASSIGN program rule action

2017-05-22 Thread Victor Garcia
Hi all, does anyone have any insight about this issue? It is fundamental to understand the behaviour of ASSIGN program rules in order to design the programs. Thanks, Víctor On 15 May 2017 at 17:26, Victor Garcia <vgarcia...@gmail.com> wrote: > Hi all, > > I have a que

[Dhis2-devs] Expected "inter-stage" behaviour of ASSIGN program rule action

2017-05-15 Thread Victor Garcia
Hi all, I have a question regarding the behaviour of ASSIGN activity type in program rules when the program has several stages. Our context is a program with three stages (opening, consultation, closure). In analysis we want to show data from opening and closure stages in the same table. Since

[Dhis2-devs] Translations of dataelement descriptions on Tracker Capture

2016-11-18 Thread Victor Garcia
Hi all, we just noticed that translations of dataelement descriptions are not shown on tracker capture when clicking on the dataelement name. Form name is translated, but description is always shown in reference language. Checked today on demo server. Thank you, Víctor

[Dhis2-devs] Program rule actions of type ASSIGN not working on SCHEDULED events

2016-11-10 Thread Victor Garcia
Hi all, we have noticed a buggy behavior when using program rule actions of type ASSIGN in scheduled events. The program rule is correctly evaluated, but the program rule action does not assign the desired value to the dataelement in that event. This happens only when the event is created using

Re: [Dhis2-devs] Maintenance App: translations erased after element edition

2016-11-07 Thread Victor Garcia
It is working now. Thanks a lot Mark! On 4 November 2016 at 16:14, Mark Polak <m...@dhis2.org> wrote: > Hey Victor, > > It should be resolved now. > > Sorry for it taking a while and any translations you might have lost :( > > On Tue, Oct 25, 2016 at 3:09 PM, Victor G

[Dhis2-devs] Maintenance App: translations erased after element edition

2016-10-25 Thread Victor Garcia
Hi all, we have detected a buggy behavior in Maintenance App regarding translations. Let's suppose we have a dataelement with some translations. If we open the dataelement for edition, and update it, then the translations are erased. This issue can be easily tested in demo server, and it affects

Re: [Dhis2-devs] Issue while importing Charts/Tables

2016-10-18 Thread Victor Garcia
Hi all, we have checked that this issue is still present. It can be verified easily in demo server. For example, a reportTable retrieved as GET https://play.dhis2.org/demo/api/25/metadata?reportTables:filter=id:eq:tWg9OiyV7mu and later imported as POST https://play.dhis2.org/demo/api/25/metadata

Re: [Dhis2-devs] [HELP] Timezone impact of DHIS Server

2016-09-27 Thread Victor Garcia
Hi Sultan Ahamar, in MSF-OCBA our servers in field have the default timezone of the region. We decide to do that because we have some scripts (like backups and, sometimes, server reboots) that must be run at night. In this way we can have the same server configuration for all of them. But next

Re: [Dhis2-devs] Upgrading DHIS2 from 2.21 to 2.24 and using new exporter/importer

2016-09-12 Thread Victor Garcia
Hi Morten, Sultan, I think we know the reason of duplicates: categoryOptionGroups are shared between categoryOptionGroupSets, for example, ">= 15" is used in three categoryOptionGroupSets (Paediatrics, HIV and general). In the API, categoryOptionGroups appear duplicated as many times as they are

[Dhis2-devs] User cannot edit their own objects in 2.21

2016-09-08 Thread Victor Garcia
Hi all, we have realized that at some point in 2.21 development the access control for elements that don't have an explicit "Add/Update Private" authority (like ReportTables, Charts and Dashboards) stopped working as expected. For example, users can save a ReportTable as favorite, but they cannot

Re: [Dhis2-devs] Metadata importer: buggy behavior when importing unordered orgunits

2016-09-02 Thread Victor Garcia
t; -- >> Morten Olav Hansen >> Senior Engineer, DHIS 2 >> University of Oslo >> http://www.dhis2.org >> >> On Thu, Sep 1, 2016 at 1:30 PM, Victor Garcia <vgarcia...@gmail.com> >> wrote: >> >>> Version 2.24r23585. >>> New import

Re: [Dhis2-devs] Metadata importer: buggy behavior when importing unordered orgunits

2016-09-01 Thread Victor Garcia
Version 2.24r23585. New importer endpoint: /api/24/metadata On 1 September 2016 at 03:01, Morten Olav Hansen <mor...@dhis2.org> wrote: > What version if DHIS and which endpoint are you using? > > > On Wednesday, 31 August 2016, Victor Garcia <vgarcia...@gmail.com> wrot

[Dhis2-devs] Metadata importer: buggy behavior when importing unordered orgunits

2016-08-31 Thread Victor Garcia
Hi all, we have found a strange behavior in the new metadata importer. Let's create two related orgunits, "Project" (parent) and "Health Site" (child), and export them using the new exporter which defaults to order by 'name'. The payload will contain "Project" first and "Health Site" later.

[Dhis2-devs] Self registered user: dataViewOrgunit is left empty

2016-08-29 Thread Victor Garcia
Hi all, we want to allow our users to access freely our system to play with the data (entry and analysis) but limited to a specific part of the hierarchy. For that, we have enabled self-registration in DHIS2 and selected the orgunit we want them to use. Once a user is self-registered, the

Re: [Dhis2-devs] Self registered user: dataViewOrgunit is left empty

2016-08-29 Thread Victor Garcia
I forgot to mention that this behavior is reproducible at online demo server. Regards On 29 August 2016 at 16:16, Victor Garcia <vgarcia...@gmail.com> wrote: > Hi all, > > we want to allow our users to access freely our system to play with the > data (entry and ana

[Dhis2-devs] Missing Description field in Orgunitgroup element

2016-08-24 Thread Victor Garcia
Hi all, we have realized that the Orgunitgroup element does not contain a Description field, in opposition to Orgunit and Orgunitgroupset which do contain this field. Could it be included? For us it would be quite useful. I can create a blueprint if needed, unless there is a reason for not

Re: [Dhis2-devs] Resource to obtain a dataset form template.

2016-08-01 Thread Victor Garcia
y of Oslo > http://www.dhis2.org > > On Sat, Jul 30, 2016 at 9:43 AM, Knut Staring <knu...@gmail.com> wrote: > >> Hi Victor, you are more likely to get a reply to this from next week, >> when people are starting to return from holiday. >> >> Knut &g

Re: [Dhis2-devs] Resource to obtain a dataset form template.

2016-07-29 Thread Victor Garcia
Hi again, Does someone have any insight on this issue? At least if data-entry module is going to be deprecated in the short-term, or if a built-in mechanism to obtain the dataset form template will be implemented. Thanks! Víctor On 22 July 2016 at 11:49, Victor Garcia <vgarcia...@gmail.

Re: [Dhis2-devs] Data import through API in zip format

2016-07-28 Thread Victor Garcia
gzip to compress your file instead of zip? Then >> it should (I think) be possible to have nginx handle the decompression >> for you. ie. try this: >> >> curl -H "Content-Type: application/json" -H "Content-Encoding: gzip" >> -u admin:district -d @da

Re: [Dhis2-devs] Data import through API in zip format

2016-07-28 Thread Victor Garcia
ter encountering a ZIP file header byte whilst expecting > valid JSON). > > On Thu, Jul 28, 2016 at 12:10 PM, Victor Garcia <vgarcia...@gmail.com> > wrote: > >> Thanks, >> >> Just to clarify, I have tried using extensions, but it does not seem to >> work for

Re: [Dhis2-devs] Data import through API in zip format

2016-07-28 Thread Victor Garcia
zip it >>> down before. >>> >>> I'm not 100% sure it will work, but this is how our metadata endpoints >>> work. >>> >>> -- >>> Morten Olav Hansen >>> Senior Engineer, DHIS 2 >>> University of Oslo >>> http://w

Re: [Dhis2-devs] Data import through API in zip format

2016-07-28 Thread Victor Garcia
it down > before. > > I'm not 100% sure it will work, but this is how our metadata endpoints > work. > > -- > Morten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Thu, Jul 28, 2016 at 11:12 AM, Victor Garcia &l

[Dhis2-devs] Data import through API in zip format

2016-07-28 Thread Victor Garcia
Hi all, searching in the documentation I couldn't find a way to import a data file in zip format through the API. I know it is possible to do it using the user interface (import/export module), but we need to use the API. Is it supported? This problem arises in contexts with a poor connection,

[Dhis2-devs] Resource to obtain a dataset form template.

2016-07-22 Thread Victor Garcia
Hi all, I have a question regarding data-entry module and its roadmap. Currently, we have a webapp that uses a resource included in this module to provide the users with a dataset form template. It is "/dhis-web-dataentry/loadForm.action?dataSetId=". Our app relies completely on this resource,

Re: [Dhis2-devs] Multilingual analytics - DE and IND filter does not use translations

2016-01-11 Thread Victor Garcia
uired is to change name:like:XYZ to > displayName:like:XYZ. > > -- > Morten > > On Tue, Dec 22, 2015 at 3:45 PM, Victor Garcia <vgarcia...@gmail.com> > wrote: > >> Hi all, >> >> in analytics apps, we have noticed that DE & IND filters don't use t

[Dhis2-devs] Multilingual analytics - DE and IND filter does not use translations

2015-12-22 Thread Victor Garcia
Hi all, in analytics apps, we have noticed that DE & IND filters don't use the translated name to do the search. For example, if we are working in Spanish and we want to search for this dataelement English: "Donors: Hepatitis B exams" Spanish: "Donantes: Exámenes de Hepatitis B" we have to

Re: [Dhis2-devs] meta-data translations in analysis apps in 2.21

2015-12-02 Thread Victor Garcia
Wow! I am so happy to read this :-). Really very great news. Thanks to the team!! On 2 December 2015 at 13:02, Marta Vila wrote: > great news > > big thanks to the team!!! > > On 1 December 2015 at 21:18, Lars Helge Øverland > wrote: >> >> Hi, >> >>

[Dhis2-devs] DataEntry: dataelement description not showing translation

2015-10-13 Thread Victor Garcia
Hi all, we have noticed that the dataelement description that it is shown in Data Entry screen when you hover the dataelement is not translated (it always shows the description in the reference language). Checked in dhis2 demo with version 2.20. Regards, Víctor

Re: [Dhis2-devs] Moving directly from 2.18 to 2.20

2015-09-03 Thread Victor Garcia
Thank you both for the comments. They are reassuring ;-) On 3 September 2015 at 09:46, Jason Pickering wrote: > And, be sure to remove everything in the tomcat/webapps/dhis directory (or > your local equivalent happens to be). You do not want to upgrade the WAR >

[Dhis2-devs] Moving directly from 2.18 to 2.20

2015-09-03 Thread Victor Garcia
Hi all, we are planning to move from version 2.18 to 2.20 (without installing 2.19) and we have some concerns about the risks. We are only using aggregated values (but we'll use trackedEntities in the future) and, looking at the upgrade notes, it seems that there is nothing to be worried about.

[Dhis2-devs] DHIS2 App: edit custom js and css

2015-09-03 Thread Victor Garcia
Hi all, we want to share with the community an app that allows to edit the custom javascript and css files that can be added to the DHIS instance (I mean these files https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s48.html). The app allows to edit the files directly in the browser with

Re: [Dhis2-devs] Problems in generating Resource Tables

2015-08-24 Thread Victor Garcia
Hi, we have experienced the same problem in our dhis instances (using version 2.18), and also about 10th August. We have no idea about the reason, but it would be good to find it out so we can know if it is going to happen again in the future. To solve the issue, try with: 1. In Data

Re: [Dhis2-devs] Problems in generating Resource Tables

2015-08-24 Thread Victor Garcia
for this in 2.19 so you should be good by upgrading your instance. regards, Lars On Mon, Aug 24, 2015 at 4:03 PM, Victor Garcia vgarcia...@gmail.com wrote: Hi, we have experienced the same problem in our dhis instances (using version 2.18), and also about 10th August. We have no idea

Re: [Dhis2-devs] [Bug 1471276] [NEW] available selection of data elements and indicators in wrong language in version 2.19

2015-07-21 Thread Victor Garcia
=name:like:' + filter : ''); and it works. How can we move forward on this? On 14 July 2015 at 16:22, Victor Garcia vgarcia...@gmail.com wrote: Hi all, is there any news on this issue? Víctor On 3 July 2015 at 17:11, Rishi rsu...@barcelona.msf.org wrote: Public bug reported: Dear all

[Dhis2-devs] Analytics resource doesn't return DE translations in 2.19

2015-07-21 Thread Victor Garcia
Hi all, we had notice that, in 2.19 (and 2.20), the API calls to analytics resource don't return the translations of the data elements. However, it did it in 2.18. For the same API call, dataelements are translated in 2.18, but they are not in 2.19. Regards, Víctor

[Dhis2-devs] Data analysis: user org unit parameter

2015-07-16 Thread Victor Garcia
Hi all, in pivot tables and data visualizar, the visualization seems to fail when using user org unit as Organisation Unit if the user is assigned to several org units. Only one of them is correctly displayed (with name and values), and the others appear as undefined with no values. This can be

Re: [Dhis2-devs] [Bug 1471276] [NEW] available selection of data elements and indicators in wrong language in version 2.19

2015-07-14 Thread Victor Garcia
Hi all, is there any news on this issue? Víctor On 3 July 2015 at 17:11, Rishi rsu...@barcelona.msf.org wrote: Public bug reported: Dear all, Related to thread: https://lists.launchpad.net/dhis2-users/msg07563.html When making a new pivot table or graph using the data visualizer the

Re: [Dhis2-devs] [Dhis2-users] Data set with complete button

2015-07-13 Thread Victor Garcia
Hi Channara, maybe you can try with custom script https://www.dhis2.org/doc/snapshot/en/developer/html/dhis2_developer_manual_full.html#d5173e4531. In the script, first check the state of complete button and then, depending on that value, make all entryfields readonly. On 8 July 2015 at 10:41,

Re: [Dhis2-devs] Dataentry: translation of dataset name not shown

2015-06-22 Thread Victor Garcia
Great Lars, thank you! Víctor On 22 June 2015 at 17:24, Lars Helge Øverland larshe...@gmail.com wrote: Hi Victor, good spot. This is fixed now in trunk (r 19491) and 2.19. regards, Lars On Mon, Jun 22, 2015 at 1:51 PM, Victor Garcia vgarcia...@gmail.com wrote: Hi all, I have

[Dhis2-devs] Dataentry: translation of dataset name not shown

2015-06-22 Thread Victor Garcia
Hi all, I have noticed that the translations of dataset name are not shown in the dataentry screen (the dropdown in the green box where you select the data set). However, if you log in with a user that has the ALL authority, the translations are correctly shown. I am using latest 2.19. Tried

[Dhis2-devs] Pivot tables: custom dimensions disappear when searching indicators

2015-06-18 Thread Victor Garcia
Hi all, we have found an issue in pivot tables and visualizer. When searching for an indicator using the search bar, the content of custom dimensions disappears. This issue can be easily replicated in demo server: - In pivot tables, search for an indicator (for example, write ANC in the search

Re: [Dhis2-devs] [Bug 1464211] Re: validation not relevant

2015-06-12 Thread Victor Garcia
Hi Jim, thanks for the explanation. To verify if it was a configuration error, we have created a fresh dhis instance for versions 2.18 and 2.19, and in both cases the initial value of publicaccess for default dataelementcategoryoption is --. Maybe it has been disconfigured at some time. It

Re: [Dhis2-devs] [Bug 1464211] [NEW] validation not relevant

2015-06-11 Thread Victor Garcia
Hi all, we have experienced the same problem with permissions in data-approval screen. We have two users: one has all the authorities except ALL; the other has all the authorities, including ALL. Both users are assigned to the same data capture and data analysis org units, both are assigned all

[Dhis2-devs] Category option group sets not working in data analysis

2015-06-02 Thread Victor Garcia
Hi all, I have defined a simple category option group set with two category option groups, and set data dimension = yes to be able to use it in data analysis. But it does not seem to work as expected. When selecting that category as dimension in pivot tables, it does not show any values, just a

Re: [Dhis2-devs] Is it possible to change the passwd of the users using the API??

2015-05-27 Thread Victor Garcia
Hi all, taking up this thread, there has been any progress with version 2.19? I have been trying all the combinations suggested here in version 2.19, but with no success. Thank you! On 17 February 2015 at 16:56, Jose Garcia Muñoz josem...@gmail.com wrote: Sorry guys but do you have any news

Re: [Dhis2-devs] Collaborative development of DHIS2 apps

2014-12-09 Thread Victor Garcia
Capture and ask him if there a public repository for this that app. Then you can contribute and we can update the app in the app store. Kind regards, Mark Polak m...@thedutchies.com mar...@ifi.uio.no +47 970 36 752 On 08 Dec 2014, at 23:33, Victor Garcia vgarcia...@gmail.com wrote: Hi

[Dhis2-devs] Collaborative development of DHIS2 apps

2014-12-08 Thread Victor Garcia
Hi all, I was wondering if there is a way to collaborate in the development of DHIS2 apps (the ones in the app store) just as there is with the trunk. In particular, I am interested in Tabular Tracker Capture, firstly for translating into Spanish and maybe later for adding some functionality.