Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014818 | Openbravo ERP | A. Platform | public | 2010-10-07 14:14 | 2010-10-20 00:00 |
|
Reporter | shuehner | |
Assigned To | mtaal | |
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 2.50MP23 | 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 | 0014818: Check for views on each dal-startup are to 'verbose' |
Description | Now that DAL supports views the ad_column definition for views needs to conform to the usual rules (i.e. for a column named ad_client_id a table named ad_client) needs to exist.
Some modules contain incorrect definitions for their views as up to now and could get away with it as i.e. those might be in an ad_column entry which is not used (example used by an not display ad_field record only).
As module owners cannot be expected to fix this for all modules immediately and may need some month (and no urgency for them, if they don't use their views via dal (which they couldn't so far)) the warning display needs to be not so intrusive like it is now.
I.e. use the 'usual' policy of 'warning' developers and 'not scaring' users. |
Steps To Reproduce | on current pi
install org.openbravo.advpaymentmngt module (i.e. latest hg)
see output of any dal-startup (tomcat startup, generate.entities)
|
Proposed Solution | Change logging output to be not so intrusive (i.e. no stacktrace if they don't give a benefit (i.e. BaseForeignKeyDomainType:51 perhaps) and downgrade loglevels for the other errors perhaps (warning or info or nothing (perhaps only for views as for normal tables those checks should probably stay at level error like they are now)) |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0014817 | | closed | mirurita | This module contains incorrect ad_column definitions for some of its views |
|
Attached Files | generate.entities.txt (55,834) 2010-10-07 14:15 https://issues.openbravo.com/file_download.php?file_id=3189&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2010-10-07 14:14 | shuehner | New Issue | |
2010-10-07 14:14 | shuehner | Assigned To | => alostale |
2010-10-07 14:15 | shuehner | Assigned To | alostale => mtaal |
2010-10-07 14:15 | shuehner | Relationship added | related to 0014817 |
2010-10-07 14:15 | shuehner | File Added: generate.entities.txt | |
2010-10-07 17:25 | shuehner | Note Added: 0031652 | |
2010-10-11 08:57 | alostale | Status | new => scheduled |
2010-10-11 08:57 | alostale | fix_in_branch | => pi |
2010-10-14 19:34 | hgbot | Checkin | |
2010-10-14 19:34 | hgbot | Note Added: 0031860 | |
2010-10-14 19:34 | hgbot | Status | scheduled => resolved |
2010-10-14 19:34 | hgbot | Resolution | open => fixed |
2010-10-14 19:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8f1e3114223e139c894ec23a272731dc9398ee34 [^] |
2010-10-18 17:39 | hudsonbot | Checkin | |
2010-10-18 17:39 | hudsonbot | Note Added: 0031929 | |
2010-10-19 10:27 | marvintm | Note Added: 0031955 | |
2010-10-19 10:27 | marvintm | Status | resolved => closed |
2010-10-20 00:00 | anonymous | sf_bug_id | 0 => 3090872 |
Notes |
|
|
|
|
(0031860)
|
hgbot
|
2010-10-14 19:34
|
|
Repository: erp/devel/pi
Changeset: 8f1e3114223e139c894ec23a272731dc9398ee34
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Oct 14 19:34:11 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8f1e3114223e139c894ec23a272731dc9398ee34 [^]
fixes issue 14818: Check for views on each dal-startup are to 'verbose'
---
M src/build.xml
M src/org/openbravo/base/gen/GenerateEntitiesTask.java
M src/org/openbravo/base/gen/ModelProviderComponent.java
M src/org/openbravo/base/gen/gen_entity.oaw
M src/org/openbravo/base/model/Column.java
M src/org/openbravo/base/model/ModelProvider.java
M src/org/openbravo/base/model/domaintype/BaseForeignKeyDomainType.java
M src/org/openbravo/base/session/OBPropertiesProvider.java
---
|
|
|
|
|
|
|
Checked that when installing an old version of the module which still doesn't have the fixes for the views issue, no warnings or errors were raised on the rebuild window. |
|