[Dhis2-devs] [Bug 1614543] Re: Dry run Alters Data 2.23

2016-08-24 Thread Morten Olav Hansen
Hi Tim

This should now be fixed in 2.23, and 2.24

** Changed in: dhis2
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1614543

Title:
  Dry run Alters Data 2.23

Status in DHIS:
  Fix Released

Bug description:
  Hello devs!

  Just found in 2.23 a bug that will alter metadata during a dry run.

  Also, if someone come point me at the documentation for the logic for
  updating existing objects? Right now if a name is the same, it will
  alter the existing code and uid to the incoming code and uid rather
  than erroring out, which to me seems like a bad idea to ever edit a
  UID.

  You can see an example of this here:

  The video is in 4k, so if you have trouble seeing it at 1080p, go ahead and 
download it from this link.
  https://drive.google.com/file/d/0B9eJ8PZ_4csMd1ZYQnBVb081X1k/view?usp=sharing

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1614543/+subscriptions

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1616733] [NEW] standard report sharing removed on update

2016-08-24 Thread jason.p.pickering
Public bug reported:

Steps to reproduce.
1) Create a standard report and upload to the server
2) Save it
3) Change the sharing of the report and save it. 
4) Edit the report again and upload the same report from Step 1. 
5) Note that the sharing which you applied in 3 has been removed.

Affects all versions AFAIK.

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1616733

Title:
  standard report sharing removed on update

Status in DHIS:
  New

Bug description:
  Steps to reproduce.
  1) Create a standard report and upload to the server
  2) Save it
  3) Change the sharing of the report and save it. 
  4) Edit the report again and upload the same report from Step 1. 
  5) Note that the sharing which you applied in 3 has been removed.

  Affects all versions AFAIK.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1616733/+subscriptions

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1614956] Re: Dataset Import/Export does not affect custom entry form

2016-08-24 Thread Morten Olav Hansen
Hi Tim

In 2.25 and later this whole component have been thrown out, so I'm not
sure how much time we should use maintain it, please also note that even
if you select "export with deps" it can still miss some objects (and
most likely always include too much)

>From 2.23 we have included a new component for doing complete data set /
program exports, which is probably much closer to what you are looking
for, we are hoping to extend this functionality to include more objects
in the future (like validation groups, indicators etc), the use-case for
this is when you are moving something like a data set from server A to
server B.

In 2.23 this functionality can only be accessed through the web-api:
/api/dataSets/ID/metadata (.json / .xml)
/api/programs/ID/metadata (.json / .xml)

For 2.24 and later we have included a simple UI for doing 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/1614956

Title:
  Dataset Import/Export does not affect custom entry form

Status in DHIS:
  Fix Released

Bug description:
  A few things going on here:

  TL:DR
  1. Dataset export does not contain the  tag as a child 
.
  2. Dataset uploads with  as a child of  has no effect 
on the custom form
  3. Dataset uploads with  as a child of  with 
matching entry under  still has no effect on custom form

  Long Form:
  1. I'm not sure where the intended location of the dataEntryForm custom HTML. 
If it is supposed to live as a child of , then all is fine. If it is 
supposed to live in  with a link to it in  as I 
suspect, then exporting the dataSet should probably come with the 
 even if "Export With Dependencies" is _not_ checked. It is 
also strange to see the custom HTML twice when you do export with Dependencies. 
Which one is correct? It can also constrain a questionable connection if the 
custom form is very large, as the xml file is now doubled in size.

  2. If I alter an exiting custom form in the  section and try
  to upload the xml for it, it will not have any affect. See the video
  of this in action and the link to the xml file I'm using to do this on
  the play demo site. This behavior is the exact same for 2.23, where I
  first encountered it.

  3. As above, if I alter an exiting custom form in the 
  section of the xml file, and try to upload the xml for it, it will not
  have any affect. See the video of this in action and the link to the
  xml file I'm using to do this on the play demo site. This behavior is
  the exact same for 2.23, where I first encountered it.

  Steps to Reproduce:
  1. Log in as superuser
  2. Download the following xml files, alter the name,shortname,code,uid and 
upload to playdemo
  3. Make a an additional change to the custom form and upload to play demo, 
notice nothing actually changes.

  Without the Entry Form
  https://drive.google.com/open?id=0B9eJ8PZ_4csMcHlIalZTcUNGWkk

  With the Entry Form
  https://drive.google.com/open?id=0B9eJ8PZ_4csMRTNHanNYbmJGUFk

  Video In Action:
  https://drive.google.com/open?id=0B9eJ8PZ_4csMYmtYWnJJN1Rtc2M

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1614956/+subscriptions

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

Regards,

Víctor
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1616481] [NEW] Event visualizer, fixed periods are removed

2016-08-24 Thread Lars Helge Øverland
Public bug reported:

In Event visualizer app, DHIS version 2.24. Chrome browser.

Steps:

- Select a data element.

- Select a few fixed periods.

- Click update.

> All available and selected periods are removed. They should not.

** Affects: dhis2
 Importance: High
 Assignee: Jan Henrik Øverland (janhenrik-overland)
 Status: Confirmed

** Changed in: dhis2
Milestone: None => 2.25

** Changed in: dhis2
 Assignee: (unassigned) => Jan Henrik Øverland (janhenrik-overland)

** Changed in: dhis2
   Importance: Undecided => High

** 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/1616481

Title:
  Event visualizer, fixed periods are removed

Status in DHIS:
  Confirmed

Bug description:
  In Event visualizer app, DHIS version 2.24. Chrome browser.

  Steps:

  - Select a data element.

  - Select a few fixed periods.

  - Click update.

  > All available and selected periods are removed. They should not.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1616481/+subscriptions

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Using SMS Commands for data capture

2016-08-24 Thread Jasper Timm
Hi Zubair,

Thanks for the quick response but I don't think it answered the questions I
asked regarding how to specify the OrgUnit and Period at all.

Also, in the case where no OrgUnit is specified in the SMS, I'm assuming
given there is a 'User belongs to more than one OrgUnit' message that DHIS2
attempts to guess the user by the phone number the SMS was received from
and uses the OrgUnit the user is assigned to?

And for the multiple messages then - I assume you need to split the
submission up into multiple SMSs with the same 'header' (command name,
orgunit, period?) and separate lists of the key,value pairs for the data
elements?

As in:

MSG1 = "report   de1,1 de2,0 de3,4"
MSG2 = "report   de4,2 de5,2" e.t.c.

Which makes it a bit tricky when it comes to considering the submission
'complete' I suppose. I guess then you'd have to allow partial submissions
to complete the form.

Thanks,

- Jasper

On Wed, Aug 24, 2016 at 1:04 PM, Zubair Asghar Raja 
wrote:

> Hi Jasper,
>
> please find the answers in line.
>
>
>
>
> On 24. aug. 2016 13:58, Jasper Timm wrote:
>
> Hi there,
>
> We're considering using the SMS Commands functionality of DHIS2 to receive
> data from the data capture Android App when there is no internet
> connectivity.
>
> I'm working from the documentation here:
> 
> http://dhis2.github.io/dhis2-docs/master/en/user/
> html/mobile_sms_command.html
>
> Unfortunately it still leaves a few questions:
>
> - How do you specify the OrgUnit and Period? Does the discussion from this
> thread still apply? (
> 
> https://lists.launchpad.net/dhis2-users/msg06122.html) If so - how does
> the parser differentiate when you specify BOTH OrgUnit and Period? Where
> does one assign codes to the OrgUnits?
>
>
>
>
>
>
>
> *   SMSCommand is associated with a Parser and parser is attached to
> certain Programs (with/without registration).1. Create SMSCommand
>2. Edit SMSCommand3. Set response messages to be sent to the
> originating user.4. Set codes for data elements ( for example age,
> height, orgunit etc ) *
>
>
> - What happens when a message is longer than one SMS message?
>
> *  When text is longer then one SMS(160 characters) then it will be
> sent as multiple SMSes each having <= 160 characters. *
>
>
> It'd be great to see these answers in the documentation itself.
>
> Thanks,
>
> - Jasper
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
> --
> Zubair Asghar
> Software Developer, DHIS2
> University of Oslowww.dhis2.org
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Using SMS Commands for data capture

2016-08-24 Thread Zubair Asghar Raja

Hi Jasper,

please find the answers in line.




On 24. aug. 2016 13:58, Jasper Timm wrote:

Hi there,

We're considering using the SMS Commands functionality of DHIS2 to 
receive data from the data capture Android App when there is no 
internet connectivity.


I'm working from the documentation here: 
http://dhis2.github.io/dhis2-docs/master/en/user/html/mobile_sms_command.html


Unfortunately it still leaves a few questions:

- How do you specify the OrgUnit and Period? Does the discussion from 
this thread still apply? 
(https://lists.launchpad.net/dhis2-users/msg06122.html) If so - how 
does the parser differentiate when you specify BOTH OrgUnit and 
Period? Where does one assign codes to the OrgUnits?
*   SMSCommand is associated with a Parser and parser is attached to 
certain Programs (with/without registration).


   1. Create SMSCommand
   2. Edit SMSCommand
   3. Set response messages to be sent to the originating user.
   4. Set codes for data elements ( for example age, height, 
orgunit etc )

*


- What happens when a message is longer than one SMS message?
*  When text is longer then one SMS(160 characters) then it will be sent 
as multiple SMSes each having <= 160 characters. *


It'd be great to see these answers in the documentation itself.

Thanks,

- Jasper




___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


--
Zubair Asghar
Software Developer, DHIS2
University of Oslo
www.dhis2.org

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Read only field on custom form

2016-08-24 Thread Elmarie Claasen
Hi Alex,

 

Thank you very much that is working. 

 

Regards,

 

Elmarie Claasen

Hisp logo

Project Manager

Health Information Systems Program

Tel:  041-367 1027

Cell: 082 374 2209

E-mail:   elma...@hisp.org

Skype:  elmarie.claasen52 

 

 

This message and any attachments are subject to a disclaimer published at  
 
http://www.hisp.org/policies.html#comms_disclaimer .   Please read the 
disclaimer before opening any attachment or taking any other action in terms of 
this electronic transmission. 
If you cannot access the disclaimer, kindly send an email to  
 disclai...@hisp.org and a copy will be provided to 
you. By replying to this e-mail or opening any attachment you agree to be bound 
by the provisions of the disclaimer. 

 

From: Alex Tumwesigye [mailto:atumwesi...@gmail.com] 
Sent: 22 August 2016 09:03 AM
To: Elmarie Claasen
Cc: DHIS 2 developers; dhis2-us...@lists.launchpad.net
Subject: Re: [Dhis2-users] Read only field on custom form

 

Dear Elmarie,

 

Please try 

 



 

Alex

 

On Sun, Aug 21, 2016 at 11:27 PM, Elmarie Claasen  wrote:

Hi all,

 

I am using 2.23 revision 23051 2016-08-03 17:41

 

I have a custom form for which I want data element value to be read-only. 

 

I have tried various ways but cannot seem to find the exact fit. Current source 
code is like this: 

 



 

 

Also tried readonly=”true” which does seem to work halfway because it still 
allows the removal and editing of the value but does not store the changed 
value and then gives a “Data stored offline” message in the UI and asking if 
you want to sync the offline data. If you say yes it just runs and runs. Only 
way to clear the message is to clear browser cache. We don’t really want to use 
this option because then we need to teach them to clear browser cache when they 
still have data stored offline to get rid of that message which is contrary to 
usual training. 

 

Can anyone assist with the code to make the data element value read only on a 
custom form please?

 

Regards,

 

Elmarie Claasen

Hisp logo

Project Manager

Health Information Systems Program

Tel:  041-367 1027

Cell: 082 374 2209

E-mail:   elma...@hisp.org

Skype:  elmarie.claasen52 

 

 

This message and any attachments are subject to a disclaimer published at  
 
http://www.hisp.org/policies.html#comms_disclaimer .   Please read the 
disclaimer before opening any attachment or taking any other action in terms of 
this electronic transmission. 
If you cannot access the disclaimer, kindly send an email to  
 disclai...@hisp.org and a copy will be provided to 
you. By replying to this e-mail or opening any attachment you agree to be bound 
by the provisions of the disclaimer. 

 

 

This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer.  Please read the disclaimer 
before opening any attachment or taking any other action in terms of this 
electronic transmission.  If you cannot access the disclaimer, kindly send an 
email to disclai...@hisp.org and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the provisions 
of the disclaimer.


___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-us...@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp





 

-- 

Alex Tumwesigye

 

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda

Kampala

Uganda
+256 774149 775, + 256 759 800161

Skype ID: talexie


IT Consultant (Servers, Networks and Security, Health Information Systems - 
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "


-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to disclai...@hisp.org 
 and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Getting a "Series/Categories items not selected" message in Data Visualizer when dataelements details are in the favourite

2016-08-24 Thread Nathan Floor
Hi Everyone,

I am reopening this thread (sorry), because although the chart is
being properly shown in the data visualizer app (if we open it from
the pivot table app),
it is still not being rendered in the dashboards (where we just got
the message "No Series/Categories items selected"). In fact at the
moment even if we try
and view one of our saved favourites, we get the same error in the
visualizer app.

We are using version 2.23 revision 22941 of DHIS2.

This problem only happens in the data visualizer and the dashboard,
the pivot tables are fine.

Would it be possible to have a look at it?

Thanks,

*regards,*


*Nathan Floor*

*Software Developer*

*Jembi Health Systems NPC* *|  SOUTH AFRICA*

*Mobile: +27 79 592 2831 <%2B27%2079%20615%200366> | Office: +27 21 701
0939 <%2B27%2021%20701%200939> | Skype: **nathanfloor*
*E-mail: **nathan.fl...@jembi.org *


*This e-mail contains proprietary and confidential information some or all
of which may be legally privileged. It is for the intended recipient only.
If an addressing or transmission error has misdirected this e-mail, please
notify the author by replying to this e-mail and then deleting same. If you
are not the intended recipient you must not use, disclose, distribute,
copy, print or rely on this e-mail. Jembi Health Systems NPO, its
subsidiaries and associated companies is not liable for the security of
information sent by e-mail and accepts no liability of whatsoever nature
for any loss, damage or expense resulting, directly or indirectly, from the
access of this e-mail or any attachments hereto.*
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Using SMS Commands for data capture

2016-08-24 Thread Jasper Timm
Hi there,

We're considering using the SMS Commands functionality of DHIS2 to receive
data from the data capture Android App when there is no internet
connectivity.

I'm working from the documentation here:
http://dhis2.github.io/dhis2-docs/master/en/user/html/mobile_sms_command.html

Unfortunately it still leaves a few questions:

- How do you specify the OrgUnit and Period? Does the discussion from this
thread still apply? (https://lists.launchpad.net/dhis2-users/msg06122.html)
If so - how does the parser differentiate when you specify BOTH OrgUnit and
Period? Where does one assign codes to the OrgUnits?

- What happens when a message is longer than one SMS message?

It'd be great to see these answers in the documentation itself.

Thanks,

- Jasper
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Dataelement not loading in Dataelement group in DHIS2.23

2016-08-24 Thread Guy Ekani
Hello Team,
Please how many dataelements could we load in datalement group window? 
because in our Test-server we have about 3.000 dataelement and it's not loading 
in DHIS 2.23, but was previously loading well in Dhis 2.21
Please help, = EKANI Guy 
 



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Can't open App Management module

2016-08-24 Thread Knut Staring
This reminds me of an error we had with the Maintenance module in Chrome
version 52. It seems to be working in Firefox, but not with the latest
Chrome version.

Knut

On Wed, Aug 24, 2016 at 11:24 AM, Em Le Hong 
wrote:

> Hi Dev,
>
> In DHIS2 Version 2.24 R.23579
>
> I try to open App Management module but it keeps loading for long time and
> can't open it. I try it with local server and online demo server
> https://play.dhis2.org/demo on different computers, got the same problem.
>
> Thanks,
>
> --
> Company: *HISP-Vietnam*
> Name: Em Le Hong
> Phone: +84 126 7171 650
> Skype: em.hispvietnam
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Can't open App Management module

2016-08-24 Thread Em Le Hong
Hi Dev,

In DHIS2 Version 2.24 R.23579

I try to open App Management module but it keeps loading for long time and
can't open it. I try it with local server and online demo server
https://play.dhis2.org/demo on different computers, got the same problem.

Thanks,

-- 
Company: *HISP-Vietnam*
Name: Em Le Hong
Phone: +84 126 7171 650
Skype: em.hispvietnam
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp