What causes Organisation Unit is closed for the selected period?

Hello Devs!

It looks like all the OUs are somehow locked on the play demo site at this time. Was this something a user did, and if so, what would be the way to fix this? Links to the documentation are certainly welcome.

···

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007

Hi Timothy!

The org units have two attributes called opening and closed dates, the period of the data entry needs to be inside the interval between those two dates.

Hope it help!

Marc

···

On 27 Feb 2017 8:50 p.m., “Timothy Harding” tharding@baosystems.com wrote:

Hello Devs!

It looks like all the OUs are somehow locked on the play demo site at this time. Was this something a user did, and if so, what would be the way to fix this? Links to the documentation are certainly welcome.

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007


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

Thank you Marc,

Unfortunately, it does not answer the question, as the closed date in this case is empty (for all spot checked Org Units):

···

On Mon, Feb 27, 2017 at 2:53 PM, Marc Garnica marcgarnica13@gmail.com wrote:

Hi Timothy!

The org units have two attributes called opening and closed dates, the period of the data entry needs to be inside the interval between those two dates.

Hope it help!

Marc

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007

On 27 Feb 2017 8:50 p.m., “Timothy Harding” tharding@baosystems.com wrote:

Hello Devs!

It looks like all the OUs are somehow locked on the play demo site at this time. Was this something a user did, and if so, what would be the way to fix this? Links to the documentation are certainly welcome.

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007


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

Hi Tim

I will have a look

···

On Tue, Feb 28, 2017 at 3:00 AM, Timothy Harding tharding@baosystems.com wrote:

Thank you Marc,

Unfortunately, it does not answer the question, as the closed date in this case is empty (for all spot checked Org Units):


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

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007

On Mon, Feb 27, 2017 at 2:53 PM, Marc Garnica marcgarnica13@gmail.com wrote:

Hi Timothy!

The org units have two attributes called opening and closed dates, the period of the data entry needs to be inside the interval between those two dates.

Hope it help!

Marc

On 27 Feb 2017 8:50 p.m., “Timothy Harding” tharding@baosystems.com wrote:

Hello Devs!

It looks like all the OUs are somehow locked on the play demo site at this time. Was this something a user did, and if so, what would be the way to fix this? Links to the documentation are certainly welcome.

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007


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

This should be fixed in 226 and master now

···

On Tue, Feb 28, 2017 at 9:08 AM, Morten Olav Hansen morten@dhis2.org wrote:

Hi Tim

I will have a look

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Tue, Feb 28, 2017 at 3:00 AM, Timothy Harding tharding@baosystems.com wrote:

Thank you Marc,

Unfortunately, it does not answer the question, as the closed date in this case is empty (for all spot checked Org Units):


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

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007

On Mon, Feb 27, 2017 at 2:53 PM, Marc Garnica marcgarnica13@gmail.com wrote:

Hi Timothy!

The org units have two attributes called opening and closed dates, the period of the data entry needs to be inside the interval between those two dates.

Hope it help!

Marc

On 27 Feb 2017 8:50 p.m., “Timothy Harding” tharding@baosystems.com wrote:

Hello Devs!

It looks like all the OUs are somehow locked on the play demo site at this time. Was this something a user did, and if so, what would be the way to fix this? Links to the documentation are certainly welcome.

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007


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

Many thanks Morten as always!

If you have time to expand, I set up a duplicate server with the same revision as 2.26 and did not encounter this problem, so I’m wondering what about the demo db caused it?

···

On Mon, Feb 27, 2017 at 9:25 PM, Morten Olav Hansen morten@dhis2.org wrote:

This should be fixed in 226 and master now

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Tue, Feb 28, 2017 at 9:08 AM, Morten Olav Hansen morten@dhis2.org wrote:

Hi Tim

I will have a look

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Tue, Feb 28, 2017 at 3:00 AM, Timothy Harding tharding@baosystems.com wrote:

Thank you Marc,

Unfortunately, it does not answer the question, as the closed date in this case is empty (for all spot checked Org Units):


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

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007

On Mon, Feb 27, 2017 at 2:53 PM, Marc Garnica marcgarnica13@gmail.com wrote:

Hi Timothy!

The org units have two attributes called opening and closed dates, the period of the data entry needs to be inside the interval between those two dates.

Hope it help!

Marc

On 27 Feb 2017 8:50 p.m., “Timothy Harding” tharding@baosystems.com wrote:

Hello Devs!

It looks like all the OUs are somehow locked on the play demo site at this time. Was this something a user did, and if so, what would be the way to fix this? Links to the documentation are certainly welcome.

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007


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

It was a code issue, but if your org unit did not have start/end date, they would not be affected (and always be seen as open)

···

On Wed, Mar 1, 2017 at 12:15 AM, Timothy Harding tharding@baosystems.com wrote:

Many thanks Morten as always!

If you have time to expand, I set up a duplicate server with the same revision as 2.26 and did not encounter this problem, so I’m wondering what about the demo db caused it?

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007

On Mon, Feb 27, 2017 at 9:25 PM, Morten Olav Hansen morten@dhis2.org wrote:

This should be fixed in 226 and master now

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Tue, Feb 28, 2017 at 9:08 AM, Morten Olav Hansen morten@dhis2.org wrote:

Hi Tim

I will have a look

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Tue, Feb 28, 2017 at 3:00 AM, Timothy Harding tharding@baosystems.com wrote:

Thank you Marc,

Unfortunately, it does not answer the question, as the closed date in this case is empty (for all spot checked Org Units):


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

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007

On Mon, Feb 27, 2017 at 2:53 PM, Marc Garnica marcgarnica13@gmail.com wrote:

Hi Timothy!

The org units have two attributes called opening and closed dates, the period of the data entry needs to be inside the interval between those two dates.

Hope it help!

Marc

On 27 Feb 2017 8:50 p.m., “Timothy Harding” tharding@baosystems.com wrote:

Hello Devs!

It looks like all the OUs are somehow locked on the play demo site at this time. Was this something a user did, and if so, what would be the way to fix this? Links to the documentation are certainly welcome.

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007


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