← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 733843] [NEW] trailing-spaces-distinguish-category-options

 

On 3 September 2011 19:35, ola testuser <733843@xxxxxxxxxxxxxxxxxx> wrote:
> On 2 September 2011 21:53, jason.p.pickering
> <733843@xxxxxxxxxxxxxxxxxx>wrote:
>
>> Seems that a fix in the UI would be a starting point. There are many
>> inconsistencies between the UI and the model (a bigger issue), and at
>> least to prevent the problem from happening in new
>> databases/implementations, I would fix it immediately.
>>
>> In regards to the underlying problem, not being able to have category
>> options in multiple categories, this is obviously a much bigger issue
>> (and even allowed by the model and logic in some parts but not the
>> UI), which I maintain still needs to be fixed at some point.
>>
>> And a few weeks ago we already agreed to fix this:
> http://www.mail-archive.com/dhis2-devs@xxxxxxxxxxxxxxxxxxx/msg12706.html
> https://blueprints.launchpad.net/dhis2/+spec/extend-category-and-groupsets-model-with-concepts

Well yes and no.  There is the longer term fix which we have agreed
to.  That is, tying the concepts to the categoryoptions, but that is a
fairly significant piece of work.

What I am specifically referring to is the practice of deliberately or
accidentally having extra white space in names of all sorts (currently
its an issue with orgunit codes which have been probably cut and
pasted from excel for example).  Its very easy to fix this (before the
larger overhaul) but I just raise some concerns over the impact it
might have on existing databases.  I don't really have time to assess
all the implications, but I can foresee a few things might get broken.

Regards
Bob

>
> Ola
> ---------
>
>
>
>> On Fri, Sep 2, 2011 at 8:47 PM, Bob Jolliffe <bobjolliffe@xxxxxxxxx>
>> wrote:
>> > https://blueprints.launchpad.net/dhis2/+spec/trailing-whitespace
>> >
>> > On 2 September 2011 19:46, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:
>> >> Made blueprint.
>> >>
>> >> On 12 March 2011 14:17, jason.p.pickering <733843@xxxxxxxxxxxxxxxxxx>
>> wrote:
>> >>> Public bug reported:
>> >>>
>> >>> Two category options were created
>> >>> "Doctors"
>> >>> and
>> >>> "Doctors ".
>> >>>
>> >>> Was accepted upon insert, but fails when exported/imported with DXF.
>> >>>
>> >>> ** Affects: dhis2
>> >>>     Importance: Undecided
>> >>>         Status: New
>> >>>
>> >>> --
>> >>> You received this bug notification because you are a member of DHIS 2
>> >>> coordinators, which is the registrant for DHIS.
>> >>> https://bugs.launchpad.net/bugs/733843
>> >>>
>> >>> Title:
>> >>>  trailing-spaces-distinguish-category-options
>> >>>
>> >>> Status in DHIS 2 - District Health Information Software:
>> >>>  New
>> >>>
>> >>> Bug description:
>> >>>  Two category options were created
>> >>>  "Doctors"
>> >>>  and
>> >>>  "Doctors ".
>> >>>
>> >>>  Was accepted upon insert, but fails when exported/imported with DXF.
>> >>>
>> >>
>> >
>> > --
>> > You received this bug notification because you are a member of DHIS 2
>> > India Developers, which is subscribed to DHIS.
>> > https://bugs.launchpad.net/bugs/733843
>> >
>> > Title:
>> >  trailing-spaces-distinguish-category-options
>> >
>> > Status in DHIS 2 - District Health Information Software:
>> >  New
>> >
>> > Bug description:
>> >  Two category options were created
>> >  "Doctors"
>> >  and
>> >  "Doctors ".
>> >
>> >  Was accepted upon insert, but fails when exported/imported with DXF.
>> >
>> > To manage notifications about this bug go to:
>> > https://bugs.launchpad.net/dhis2/+bug/733843/+subscriptions
>> >
>>
>> --
>> You received this bug notification because you are a member of DHIS 2
>> India Developers, which is subscribed to DHIS.
>> https://bugs.launchpad.net/bugs/733843
>>
>> Title:
>>  trailing-spaces-distinguish-category-options
>>
>> Status in DHIS 2 - District Health Information Software:
>>  New
>>
>> Bug description:
>>  Two category options were created
>>  "Doctors"
>>  and
>>  "Doctors ".
>>
>>  Was accepted upon insert, but fails when exported/imported with DXF.
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/dhis2/+bug/733843/+subscriptions
>>
>
> --
> You received this bug notification because you are a member of DHIS 2
> India Developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/733843
>
> Title:
>  trailing-spaces-distinguish-category-options
>
> Status in DHIS 2 - District Health Information Software:
>  New
>
> Bug description:
>  Two category options were created
>  "Doctors"
>  and
>  "Doctors ".
>
>  Was accepted upon insert, but fails when exported/imported with DXF.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/733843/+subscriptions
>

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

Title:
  trailing-spaces-distinguish-category-options

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  Two category options were created
  "Doctors"
  and 
  "Doctors ". 

  Was accepted upon insert, but fails when exported/imported with DXF.

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


References