Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0045931 | Openbravo ERP | 00. Application dictionary | public | 2021-02-20 14:32 | 2021-03-24 07:31 |
|
Reporter | neil_smith | |
Assigned To | cberner | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR21Q2 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Production - QA Approved |
Regression date | 2020-11-27 |
Regression introduced in release | PR21Q1 |
Regression introduced by commit | https://gitlab.com/openbravo/product/openbravo/-/commit/809d27effffdab2849401ef6ae46b0887286d4f3#7ecaebbbea2c3445dde3c7bf33d33a14aff5dd7e_128_127 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0045931: Create Fields button in Window, tabs and fields-Tab not working (0 fields created) |
Description | It is not possible to create fields in a tab anymore using the 'Create Fields' procedure (AD_TAB_IMPORT0) |
Steps To Reproduce | Create a window with a tab based on the C_BPARTNER table for example.
Click on button 'Create Fields'
-> 0 Fields created |
Proposed Solution | The problem is in the AD_TAB_IMPORT function.
You added a join on the USER_TAB_COLUMNS in last version and you do a join on the name of the table and name of the column
In the USER_TAB_COLUMN, all the names (tablename and columnname) are uppercased!
When you join on the tablename and columnname, use UPPER() on both.
-> utc.table_name = UPPER(t.tablename) AND utc.column_name = UPPER(c.Columnname)
I can only guess that this change was not tested at all... The only way to make it work would be that the table name and column names would all be in uppercase in the dictionnary (and it is not the case) |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0046126 | PR21Q1.1 | closed | cberner | Create Fields button in Window, tabs and fields-Tab not working (0 fields created) | caused by | feature request | 0044155 | | closed | platform | Make DBSM support Postgres tsvector column |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-02-20 14:32 | neil_smith | New Issue | |
2021-02-20 14:32 | neil_smith | Assigned To | => platform |
2021-02-20 14:32 | neil_smith | Modules | => Core |
2021-02-20 14:32 | neil_smith | Triggers an Emergency Pack | => No |
2021-03-23 13:36 | cberner | Assigned To | platform => cberner |
2021-03-23 13:40 | cberner | OBNetwork customer | => No |
2021-03-23 13:40 | cberner | Regression level | => Production - QA Approved |
2021-03-23 13:40 | cberner | Regression date | => 2020-11-27 |
2021-03-23 13:40 | cberner | Regression introduced in release | => PR21Q1 |
2021-03-23 13:40 | cberner | Regression introduced by commit | => https://gitlab.com/openbravo/product/openbravo/-/commit/809d27effffdab2849401ef6ae46b0887286d4f3#7ecaebbbea2c3445dde3c7bf33d33a14aff5dd7e_128_127 [^] |
2021-03-23 13:40 | cberner | Severity | critical => major |
2021-03-23 13:57 | hgbot | Merge Request Status | => open |
2021-03-23 13:57 | hgbot | Note Added: 0126850 | |
2021-03-24 06:54 | alostale | Relationship added | caused by 0044155 |
2021-03-24 07:00 | alostale | Status | new => scheduled |
2021-03-24 07:31 | hgbot | Merge Request Status | open => approved |
2021-03-24 07:31 | hgbot | Note Added: 0126873 | |
2021-03-24 07:31 | hgbot | Resolution | open => fixed |
2021-03-24 07:31 | hgbot | Status | scheduled => closed |
2021-03-24 07:31 | hgbot | Fixed in Version | => PR21Q2 |
2021-03-24 07:31 | hgbot | Note Added: 0126874 | |