Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032543Openbravo ERPA. Platformpublic2016-03-23 16:562022-02-01 08:05
NaroaIriarte 
Triage Platform Base 
normalminoralways
acknowledgedopen 
5
 
 
Core
No
0032543: Strange behavior when trying to close the "Preference" window.
If a preference is created in form view, saved and after that, without closing the form view, the field "Visible at User" is modified, it is not possible to close the "Preference" window.
As System Admin.

1- Go to "Preference" window.
2- Click on the "Create new record in a form" button.
3- In the "Property" field, select "Default View Setting".
4- In the "Value" field, write N.
5- Click on the save button.
6- Modify the "Visible at User field" change it and select the blank option.
7- Click on the save button.
8- Try to close the "Preference" window by clicking the x of the tab.
9- Realize that the window is not correctly closed.


The following js error is shown in the console:

EventHandler.js:6151 Uncaught TypeError: Cannot set property 'title' of undefined
setTabTitle @ TabSet.js:1702
updateTabTitle @ a063148….js:25524
setHasChanged @ a063148….js:28372
itemChangeActions @ a063148….js:29690
itemChanged @ a063148….js:29676
handleChanged @ FormItem.js:9250
invokeSuper @ Class.js:1550
Super @ Class.js:1368
handleChanged @ ComboBoxItem.js:1087
storeValue @ FormItem.js:9216
_updateValue @ FormItem.js:9119
invokeSuper @ Class.js:1550
Super @ Class.js:1368
_updateValue @ ComboBoxItem.js:1054
handleEditorExit @ ComboBoxItem.js:820
checkForEditorExit @ FormItem.js:12193
destroy @ FormItem.js:2630
destroy @ a063148….js:2889
invokeSuper @ Class.js:1550
Super @ Class.js:1368
destroy @ a063148….js:50372
invokeSuper @ Class.js:1550
Super @ Class.js:1368
destroy @ a063148….js:51106
map @ Array.js:848
_destroyItems @ DynamicForm.js:1587
destroy @ DynamicForm.js:1596
invokeSuper @ Class.js:1550
Super @ Class.js:1368
destroy @ a063148….js:30366
destroy @ a063148….js:23886
destroy @ Canvas.js:5959
destroy @ a063148….js:2487
destroy @ Canvas.js:5959
destroy @ a063148….js:2487
removeTabs @ TabSet.js:1961
invokeSuper @ Class.js:1550
Super @ Class.js:1368
removeTabs @ a063148….js:15941
removeTab @ TabSet.js:1904
closeClick @ TabSet.js:2123
invokeSuper @ Class.js:1550
Super @ Class.js:1368
doCloseClick @ a063148….js:15743
OB.Utilities.callAction @ a063148….js:3729
saveCallback @ a063148….js:22848
doActionAfterAutoSave @ a063148….js:22886
closeClick @ a063148….js:23143
closeClick @ a063148….js:15733
_tabIconClick @ TabSet.js:2102
tabIconClick @ TabBar.js:308
_tabIconClickHandler @ TabBar.js:302
_firePartEvent @ Canvas.js:18884
firePartEvent @ Canvas.js:18876
handleMouseDown @ StatefulCanvas.js:1734
bubbleEvent @ EventHandler.js:4746
doHandleMouseDown @ EventHandler.js:1742
handleMouseDown @ EventHandler.js:1580
dispatch @ EventHandler.js:6147
(anonymous function) @ VM239553:3
No tags attached.
png issuePreferenceWindow.png (150,780) 2016-07-15 11:14
https://issues.openbravo.com/file_download.php?file_id=9629&type=bug
png
Issue History
2016-03-23 16:56NaroaIriarteNew Issue
2016-03-23 16:56NaroaIriarteAssigned To => platform
2016-03-23 16:56NaroaIriarteModules => Core
2016-03-23 16:57NaroaIriarteTriggers an Emergency Pack => No
2016-07-15 11:14NaroaIriarteFile Added: issuePreferenceWindow.png
2016-07-15 11:24NaroaIriarteSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12660#r12660
2016-07-18 11:55alostaleStatusnew => acknowledged
2022-02-01 08:05alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.