Multiple active events exist for single event no registration program

Hello all.

After migrate from 2.15 to 2.16 version, we try to save data in a single event without registration, but show this error: “Multiple active events exist for single event no registration program …”.

This program works fine in 2.15 version. In this form we capture multiple records without registration.

Thank you very much.

···


Best regards,

**Ing. Marko David Garcia M.
**

Hi Marko,

Can you run the statement below to test if the single event no registration you were using has more than 1 active instance?

_select * _

*FROM programinstance pi INNER JOIN program p *

  • on pi.programid=p.programid where p.uid=‘xxx’*

In which, xxx is your program uid.

You can get uid of that program by going to Programs/Attributes > Program > Click on the program and select Show details. The id field is in the end of the details div.

For single event without registration, it is suppose to have one instance only.

If it has more than one instance somehow, DHIS will alert this kind of message.

So, if you do have multiple instance, my suggestion is

  • delete other instances, but first, move event data to the instance you want to keep.
···

Best regards,

Châu Thu Trân
HISP Viet Nam
Email: tran.hispvietnam@gmail.com

On Fri, Aug 29, 2014 at 4:00 AM, Marko David Garcia markodavidgm@gmail.com wrote:

Hello all.

After migrate from 2.15 to 2.16 version, we try to save data in a single event without registration, but show this error: “Multiple active events exist for single event no registration program …”.

This program works fine in 2.15 version. In this form we capture multiple records without registration.

Thank you very much.

Best regards,

**Ing. Marko David Garcia M.
**


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Thank you very much.

It Works !!!

···

2014-09-01 3:02 GMT-05:00 Tran Chau tran.hispvietnam@gmail.com:

Hi Marko,

Can you run the statement below to test if the single event no registration you were using has more than 1 active instance?

_select * _

*FROM programinstance pi INNER JOIN program p *

  • on pi.programid=p.programid where p.uid=‘xxx’*

In which, xxx is your program uid.

You can get uid of that program by going to Programs/Attributes > Program > Click on the program and select Show details. The id field is in the end of the details div.

For single event without registration, it is suppose to have one instance only.

If it has more than one instance somehow, DHIS will alert this kind of message.

So, if you do have multiple instance, my suggestion is

  • delete other instances, but first, move event data to the instance you want to keep.


Cordialmente,

Ing. Marko David Garcia M.
Estudiante de Maestría en Ingeniería Telemática

Universidad del Cauca

Best regards,

Châu Thu Trân
HISP Viet Nam
Email: tran.hispvietnam@gmail.com

On Fri, Aug 29, 2014 at 4:00 AM, Marko David Garcia markodavidgm@gmail.com wrote:

Hello all.

After migrate from 2.15 to 2.16 version, we try to save data in a single event without registration, but show this error: “Multiple active events exist for single event no registration program …”.

This program works fine in 2.15 version. In this form we capture multiple records without registration.

Thank you very much.

Best regards,

**Ing. Marko David Garcia M.
**


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp