Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0050045 | Openbravo ERP | A. Platform | public | 2022-08-24 10:47 | 2022-08-24 10:53 | |||||||
Reporter | ignacio_deandres | |||||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | high | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | duplicate | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 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 | 0050045: Cannot use Property Fields in display logic of a button. | |||||||||||
Description | Cannot use Property Fields in display logic of a button. | |||||||||||
Steps To Reproduce | 1. As Sysadmin create a Property field in the sales order window header. For example, with this property: businessPartner.businessPartnerCategory 2. Edit the display logic of the Copy Lines button to use the new property field: @processed@='N' & @C_BP_Group_ID@='B1DD8B371643421C987EF1D5B358D5E9' 3. As Group Admin go to the Sales Order window and note that the view generation fails with this error in the stack trace and see attached the file with the error given in the UI: Caused by: org.openbravo.base.util.CheckException: Property with C_BP_Group_ID does not exist for entity Order at org.openbravo.base.model.Entity.getPropertyByColumnName(Entity.java:591) ~[classes/:?] at org.openbravo.client.application.window.OBViewFieldHandler.getFields(OBViewFieldHandler.java:163) ~[classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor535.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | error.png (17,462) 2022-08-24 10:47 https://issues.openbravo.com/file_download.php?file_id=17430&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2022-08-24 10:47 | ignacio_deandres | New Issue | ||||||||||
2022-08-24 10:47 | ignacio_deandres | Assigned To | => Triage Platform Base | |||||||||
2022-08-24 10:47 | ignacio_deandres | File Added: error.png | ||||||||||
2022-08-24 10:47 | ignacio_deandres | Modules | => Core | |||||||||
2022-08-24 10:47 | ignacio_deandres | Triggers an Emergency Pack | => No | |||||||||
2022-08-24 10:50 | caristu | Relationship added | blocks 0049191 | |||||||||
2022-08-24 10:53 | caristu | Relationship added | duplicate of 0049187 | |||||||||
2022-08-24 10:53 | caristu | Status | new => closed | |||||||||
2022-08-24 10:53 | caristu | Resolution | open => duplicate | |||||||||
2022-08-24 10:53 | caristu | Relationship deleted | blocks 0049191 |
There are no notes attached to this issue. |