BenoitTalbot / bungeni-portal

Automatically exported from code.google.com/p/bungeni-portal
0 stars 0 forks source link

Admin->Settings does not save settings correctly #701

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.login as admin
2.go to adminstration->settings
3.uncheck the checkboxes and change some of the settings and hit save
4.refresh the page

What is the expected output? What do you see instead?

The saved settings must be shown correctly on the refrehsed settings page.
However, sometimes checkboxes come out unchecked ...or some of the numerical 
parameters dont get saved at all.

Original issue reported on code.google.com by ashok.ha...@gmail.com on 23 Mar 2011 at 1:29

GoogleCodeExporter commented 9 years ago
Below is an example of how settings are currently duplicated in the settings 
table -- 

select * from settings where name='clerks_office_notification';
 setting_id | object_id | object_type |  propertysheet   |            name            | value | type 
------------+-----------+-------------+------------------+----------------------
------+-------+------
          1 |           |             | IBungeniSettings | clerks_office_notification | 1     | Bool
          2 |           |             | IBungeniSettings | clerks_office_notification | 1     | Bool
          3 |           |             | IBungeniSettings | clerks_office_notification | 1     | Bool
          4 |           |             | IBungeniSettings | clerks_office_notification | 1     | Bool
          5 |           |             | IBungeniSettings | clerks_office_notification | 1     | Bool
          6 |           |             | IBungeniSettings | clerks_office_notification | 1     | Bool
          7 |           |             | IBungeniSettings | clerks_office_notification | 1     | Bool
          8 |           |             | IBungeniSettings | clerks_office_notification | 1     | Bool
          9 |           |             | IBungeniSettings | clerks_office_notification | 1     | Bool

Original comment by ashok.ha...@gmail.com on 23 Mar 2011 at 1:37

GoogleCodeExporter commented 9 years ago
Fixed in r7981

Original comment by borona.m...@gmail.com on 24 Mar 2011 at 10:24

GoogleCodeExporter commented 9 years ago

Original comment by ashok.ha...@gmail.com on 8 Jul 2011 at 11:22