Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0017330 | Openbravo ERP | A. Platform | public | 2011-05-24 11:40 | 2011-06-03 10:14 |
|
Reporter | marvintm | |
Assigned To | alostale | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP0 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0017330: Preferences do not work for check columns |
Description | Preferences can be defined at column level in a window. This means that you can basically define a default value for a specific column for a specific window via a preference.
However, this doesn't work in 3.0 for check columns; that is, when a preference is defined for a check (boolean) column in a 3.0 window, when a record is created, this preference is not applied for that field. |
Steps To Reproduce | - Define a preference for the isEmployee column in Business Partner table (value Y)
- Create a field for that column in the Business Partner header.
- Restart tomcat
- Verify that when a business partner is created, the isEmployee column is not set to "yes". |
Proposed Solution | The problem is that when a column doesn't have a default, the UIDefinition classes are automatically setting it to "false". This is correct only in the case that the super.getFieldProperties() method didn't return a value for the column, so it needs to be changed. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-05-24 11:40 | marvintm | New Issue | |
2011-05-24 11:40 | marvintm | Assigned To | => alostale |
2011-05-24 11:40 | marvintm | Modules | => Core |
2011-05-24 11:40 | marvintm | Target Version | => 3.0MP0 |
2011-05-24 11:47 | hgbot | Checkin | |
2011-05-24 11:47 | hgbot | Note Added: 0037366 | |
2011-05-24 11:47 | hgbot | Status | new => resolved |
2011-05-24 11:47 | hgbot | Resolution | open => fixed |
2011-05-24 11:47 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f9c85dd122b0825a5efd9982f6adf7edfd7856f9 [^] |
2011-05-26 07:46 | hudsonbot | Checkin | |
2011-05-26 07:46 | hudsonbot | Note Added: 0037539 | |
2011-06-03 10:14 | iperdomo | Note Added: 0037953 | |
2011-06-03 10:14 | iperdomo | Status | resolved => closed |