Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0055123Openbravo ERPB. User interfacepublic2024-03-08 10:202024-04-10 10:49
ngarcia 
jarmendariz 
urgentmajoralways
closedfixed 
5
 
PR24Q1.2PR24Q1.2 
Core
https://gitlab.com/openbravo/product/openbravo/-/commit/3bec778b70a5bbcc3f45e1792d10c962a6964bd3 [^]
No
0055123: Error when trying to use Form Personalization
Error when trying to use Form Personalization:

Error occured: java.lang.IllegalStateException: freemarker.template.TemplateModelException: get(fields) failed on instance of org.openbravo.client.application.window.OBViewFieldHandler
It cannot be tested in livebuilds because:

Form Personalization is a Premium Feature only available for Professional and Enterprise Edition subscribers.
Learn more about the benefits of Openbravo's Professional and Enterprise Editions.

Open the Product window
Click on Form Personalization entry
Check the following error is shown in a pop-up:

Error occured: java.lang.IllegalStateException: freemarker.template.TemplateModelException: get(fields) failed on instance of org.openbravo.client.application.window.OBViewFieldHandler

Attached the log
No tags attached.
blocks defect 0054895 closed jarmendariz Error when trying to use Form Personalization 
Issue History
2024-04-08 12:10AugustoMauchTypedefect => backport
2024-04-08 12:10AugustoMauchTarget Version => PR24Q1.2
2024-04-10 09:20hgbotNote Added: 0163010
2024-04-10 10:49hgbotResolutionopen => fixed
2024-04-10 10:49hgbotStatusscheduled => closed
2024-04-10 10:49hgbotFixed in Version => PR24Q1.2
2024-04-10 10:49hgbotNote Added: 0163020
2024-04-10 10:49hgbotNote Added: 0163021

Notes
(0163010)
hgbot   
2024-04-10 09:20   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1190 [^]
(0163020)
hgbot   
2024-04-10 10:49   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 8d7eed237e20ce7097b8ffd36ccb50304a3b57ed
Author: Javier Armendáriz <j.armendariz@orisha.com>
Date: 10-04-2024 09:19:12
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/8d7eed237e20ce7097b8ffd36ccb50304a3b57ed [^]

Fixed ISSUE-55123: Fixed error in Form Personalization by properly initializing config objects

In the particular case of Form Personalization, tabsGridConfig and systemGridConfig are not properly initialized and
set as null even if it is an Optional. Form Personalization is now accesible by ensuring that those values remains optionals and not null.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
---
(0163021)
hgbot   
2024-04-10 10:49   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1190 [^]