Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0055122Openbravo ERPB. User interfacepublic2024-03-08 10:202024-04-10 10:49
ngarcia 
jarmendariz 
urgentmajoralways
closedfixed 
5
 
PR24Q2PR24Q2 
Core
https://gitlab.com/openbravo/product/openbravo/-/commit/3bec778b70a5bbcc3f45e1792d10c962a6964bd3 [^]
No
0055122: 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 => PR24Q2
2024-04-10 09:18hgbotNote Added: 0163009
2024-04-10 10:49hgbotResolutionopen => fixed
2024-04-10 10:49hgbotNote Added: 0163022
2024-04-10 10:49hgbotStatusscheduled => closed
2024-04-10 10:49hgbotFixed in Version => PR24Q2
2024-04-10 10:49hgbotNote Added: 0163023

Notes
(0163009)
hgbot   
2024-04-10 09:18   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1189 [^]
(0163022)
hgbot   
2024-04-10 10:49   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1189 [^]
(0163023)
hgbot   
2024-04-10 10:49   
Directly closing issue as related merge request is already approved.

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

Fixed ISSUE-55122: 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
---