Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0054895Openbravo ERPB. User interfacepublic2024-03-08 10:202024-04-10 08:52
ngarcia 
jarmendariz 
urgentmajoralways
closedfixed 
5
 
PR24Q3 
Core
https://gitlab.com/openbravo/product/openbravo/-/commit/3bec778b70a5bbcc3f45e1792d10c962a6964bd3 [^]
No
0054895: 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.
depends on backport 0055122PR24Q2 closed jarmendariz Error when trying to use Form Personalization 
depends on backport 0055123PR24Q1.2 closed jarmendariz Error when trying to use Form Personalization 
caused by feature request 0053358 closed jarmendariz Configurable Organization Time Zone 
log 54895.log (36,968) 2024-03-08 11:05
https://issues.openbravo.com/file_download.php?file_id=19533&type=bug
Issue History
2024-03-08 10:20ngarciaNew Issue
2024-03-08 10:20ngarciaAssigned To => Triage Platform Base
2024-03-08 10:20ngarciaModules => Core
2024-03-08 10:20ngarciaTriggers an Emergency Pack => No
2024-03-08 10:20ngarciaIssue Monitored: networkb
2024-03-08 10:41PracticsIssue Monitored: Practics
2024-03-08 10:55ngarciaRelationship addedcaused by 0053358
2024-03-08 11:05ngarciaFile Added: 54895.log
2024-03-08 11:06ngarciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27657#r27657
2024-03-08 11:06ngarciaRegression introduced by commit => https://gitlab.com/openbravo/product/openbravo/-/commit/3bec778b70a5bbcc3f45e1792d10c962a6964bd3 [^]
2024-03-21 23:19AugustoMauchStatusnew => acknowledged
2024-04-08 08:42AugustoMauchAssigned ToTriage Platform Base => jarmendariz
2024-04-08 12:10AugustoMauchStatusacknowledged => scheduled
2024-04-08 16:13hgbotNote Added: 0162925
2024-04-09 09:18AugustoMauchStatusscheduled => resolved
2024-04-09 09:18AugustoMauchFixed in SCM revision => https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1187/diffs?commit_id=2c238c7083c84385a7dfa72998226c9fb0e66f70 [^]
2024-04-09 09:18AugustoMauchResolutionopen => fixed
2024-04-10 08:52hgbotStatusresolved => closed
2024-04-10 08:52hgbotNote Added: 0163005
2024-04-10 08:52hgbotFixed in Version => PR24Q3
2024-04-10 08:52hgbotNote Added: 0163006

Notes
(0162925)
hgbot   
2024-04-08 16:13   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1187 [^]
(0163005)
hgbot   
2024-04-10 08:52   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1187 [^]
(0163006)
hgbot   
2024-04-10 08:52   
Directly closing issue as related merge request is already approved.

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

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