dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #09943
Re: [Bug 705798] [NEW] Name field got changed after changing the Display property in User Settings
Oops. This is a potential disaster. I can see from the code that we are
"temporarily" setting the "name" property to the value of "code" or whatever
is selected as display property in an interceptor right before the view is
rendered. It might be that this get persisted to the database since i) we
are using the open-session-in-view pattern for transactions/sessions and ii)
hibernate is performing "dirty-checking", which meas that all objects in a
persistent state are checked and modifications persisted when the session is
closed.
Anyone else experienced this? This feature has been there for many
years.......
On Fri, Jan 21, 2011 at 11:27 AM, Neeraj <neeraj.hisp@xxxxxxxxx> wrote:
> Public bug reported:
>
> If the user is changing the Display property then the name of
> Organisationunits got changed permanently even in DataBase also. For eg,
> if user selects code/shortname in display property and checks the
> Organisationunit ten it will show code/ shortname but if user changes
> the display propert back to name then also Organisationunit name field
> shows code/shortname, it is getting change in Database.
>
> ** 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/705798
>
> Title:
> Name field got changed after changing the Display property in User
> Settings
>
> Status in DHIS 2 - District Health Information Software:
> New
>
> Bug description:
> If the user is changing the Display property then the name of
> Organisationunits got changed permanently even in DataBase also. For
> eg, if user selects code/shortname in display property and checks the
> Organisationunit ten it will show code/ shortname but if user changes
> the display propert back to name then also Organisationunit name field
> shows code/shortname, it is getting change in Database.
>
>
>
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/705798
Title:
Name field got changed after changing the Display property in User
Settings
Status in DHIS 2 - District Health Information Software:
New
Bug description:
If the user is changing the Display property then the name of
Organisationunits got changed permanently even in DataBase also. For
eg, if user selects code/shortname in display property and checks the
Organisationunit ten it will show code/ shortname but if user changes
the display propert back to name then also Organisationunit name field
shows code/shortname, it is getting change in Database.
References