DE alternative name constraint

Hi Devs,

I am getting this error

ERROR 2012-06-18 06:30:34,032 ERROR: duplicate key value violates
unique constraint "dataelement_alternativename_key"

with a DHIS 1.4 XML file import. We are running the latest 2.8.

Has this constraint always been there or is this something new?

Best regards,
Jason

Hi Devs,

I am getting this error

ERROR 2012-06-18 06:30:34,032 ERROR: duplicate key value violates
unique constraint "dataelement_alternativename_key"

with a DHIS 1.4 XML file import. We are running the latest 2.8.

Has this constraint always been there or is this something new?

At least since rev1 on launchpad as far as I can see. Only change
since then is that the length is increased from 160 to 230. Both of
which seem oddly arbitrary but there was no doubt a rationale :slight_smile:

···

On 18 June 2012 06:32, Jason Pickering <jason.p.pickering@gmail.com> wrote:

Best regards,
Jason

_______________________________________________
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

its a blocker must be eradicated soon… Jason.

···

On Mon, Jun 18, 2012 at 2:35 PM, Bob Jolliffe bobjolliffe@gmail.com wrote:

On 18 June 2012 06:32, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Devs,

I am getting this error

ERROR 2012-06-18 06:30:34,032 ERROR: duplicate key value violates

unique constraint “dataelement_alternativename_key”

with a DHIS 1.4 XML file import. We are running the latest 2.8.

Has this constraint always been there or is this something new?

At least since rev1 on launchpad as far as I can see. Only change

since then is that the length is increased from 160 to 230. Both of

which seem oddly arbitrary but there was no doubt a rationale :slight_smile:

Best regards,

Jason


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


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


Regards,
Brajesh