Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0015941 | Openbravo ERP | 00. Application dictionary | public | 2011-02-10 16:56 | 2011-05-03 00:01 | |||||||
Reporter | xabiermerino | |||||||||||
Assigned To | egoitz | |||||||||||
Priority | high | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | 2.50MP26 | |||||||||||
Target Version | 2.50MP28 | Fixed in Version | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0015941: Error when check as identifier the column C_Calendar_ID in the table C_year | |||||||||||
Description | The window Open/Close Period Control does not work if the column C_Calendar_ID of the table C_Year is checked as identifier. This error appears: Error: java.lang.Exception: CODE=0ERROR: column reference "c_calendar_id" is ambiguous | |||||||||||
Steps To Reproduce | - As System Administrator go to Application Dictionary || Tables and Columns - Select C_yeear and go to column - Select C_Calendar_ID - Check 'Used as Record Identifier' - Compile and restart Tomcat - As Openbravo Admin go to Open/Close Period COntrol - Realize that the error appears | |||||||||||
Proposed Solution | The problem is the validation 'C_Calendar and C_Year of an organization'. It should be: @C_CALENDAR_ID@ IN (SELECT DISTINCT(C_CALENDAR_ID) FROM AD_ORG WHERE AD_ORG_ID=AD_ORG_GETCALENDAROWNER(@AD_ORG_ID@)) Note: It should be better the calusule EXISTS instead of IN. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2011-02-10 16:56 | xabiermerino | New Issue | ||||||||||
2011-02-10 16:56 | xabiermerino | Assigned To | => alostale | |||||||||
2011-02-10 16:56 | xabiermerino | Modules | => Core | |||||||||
2011-02-10 16:56 | xabiermerino | OBNetwork customer | => Yes | |||||||||
2011-02-14 08:22 | alostale | Status | new => scheduled | |||||||||
2011-03-01 14:03 | alostale | Assigned To | alostale => adrianromero | |||||||||
2011-04-26 12:32 | egoitz | Assigned To | adrianromero => egoitz | |||||||||
2011-04-26 13:38 | egoitz | Assigned To | egoitz => adrianromero | |||||||||
2011-04-26 16:10 | dalsasua | Issue Monitored: networkb | ||||||||||
2011-04-29 09:04 | egoitz | Assigned To | adrianromero => egoitz | |||||||||
2011-04-29 13:34 | hgbot | Checkin | ||||||||||
2011-04-29 13:34 | hgbot | Note Added: 0036222 | ||||||||||
2011-04-29 13:34 | hgbot | Status | scheduled => resolved | |||||||||
2011-04-29 13:34 | hgbot | Resolution | open => fixed | |||||||||
2011-04-29 13:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.50/rev/8f21eaa989d09d78995a7db49ed8979a79b661ee [^] | |||||||||
2011-05-02 12:04 | xabiermerino | Note Added: 0036252 | ||||||||||
2011-05-02 12:04 | xabiermerino | Status | resolved => closed | |||||||||
2011-05-03 00:01 | anonymous | sf_bug_id | 0 => 3296505 | |||||||||
2011-05-19 17:41 | dalsasua | Relationship added | related to 0017281 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|