Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0009425 | Openbravo ERP | C. Security | public | 2009-06-09 13:36 | 2009-06-17 11:06 | |||||||
| Reporter | networkb | |||||||||||
| Assigned To | alostale | |||||||||||
| Priority | immediate | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 30 | OS Version | |||||||||
| Product Version | 2.40MP3 | |||||||||||
| Target Version | Fixed in Version | 2.40MP6 | ||||||||||
| 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 | 0009425: The login variable @#AD_User_ID@ is not being properly used. | |||||||||||
| Description | The login variable @#AD_User_ID@ is not being properly used. This variable is being compared with the correct value. Is being compared with the value in @AD_User_ID@ instead of @#AD_User_ID@ | |||||||||||
| Steps To Reproduce | -Login as system administrator -Go to window,tabs and fiel window. -find the Partner window and go to the partner (header) tab -Add a new where clause as follwing: C_BPARTNER.Createdby = @#AD_User_ID@ This clause is added in order to see in the window only the partner created by the logged partner. -Compile the partner window: ant compile.development -Dtab=Partner -Restar tomcat -Login as openbravo admin -Go to partner window (master data management>partner) -Create a new partner -Go to contact tab. -Create a new contact. -In edition mode the contact is not shown but in relation it is. -Go back to the header tab. The previously created partner is shown in realation but not in edition view. This happens because once you enter in the contact window the AD_USER_ID variable is filled because the table used in this window is the AD_USER, and then the where clause defined does not work properly because the the @AD_USER_ID@ variable is used instead of @#AD_USER_ID@ variable. | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2009-06-10 17:11 | psarobe | Type | defect => backport | |||||||||
| 2009-06-10 17:11 | psarobe | fix_in_branch | => 2.40 | |||||||||
| 2009-06-15 12:01 | hgbot | Checkin | ||||||||||
| 2009-06-15 12:01 | hgbot | Note Added: 0017294 | ||||||||||
| 2009-06-15 12:01 | hgbot | Status | scheduled => resolved | |||||||||
| 2009-06-15 12:01 | hgbot | Resolution | open => fixed | |||||||||
| 2009-06-15 12:01 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/204e71d99682bf24751354ca5b17b850921f3abb [^] => http://code.openbravo.com/erp/stable/2.40/rev/f868586264c92b770f64ac642222a5526612d564 [^] | |||||||||
| 2009-06-17 09:39 | psarobe | Fixed in Version | => 2.40MP6 | |||||||||
| 2009-06-17 11:06 | psarobe | Status | resolved => closed | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||