← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 483096] Re: Orgunit shortname field should be as long as name field in db

 

2009/11/16 Lars Helge Øverland <larshelge@xxxxxxxxx>

> > So your proposed solution is to keep the length but remove the
> > uniqueness?
> >
> >
> Nope that constraint is also relied upon. I guess people who are doing
> manual imports can change the length constraint in the database at their
> own
> risk.
>

The issue is the same if we use the import routine: How do we deal with
thousands of orgunit imports? What do you currently do with long names?

Knut



> --
> Orgunit shortname field should be as long as name field in db
> https://bugs.launchpad.net/bugs/483096
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
>
> Status in DHIS 2 - District Health Information Software: New
>
> Bug description:
> Having the shortname field in the database limited to only 25 characters
> makes it hard to import facilities (especially in combination with the other
> constraints of NOT NULL and UNIQUE (the latter should be removed, see
> https://bugs.launchpad.net/dhis2/+bug/370791).
>
> If we do want to limit the lengths of shortnames users can enter, this
> should be an administrative setting.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Cheers,
Knut Staring

Follow ups

References