server-ux
server-ux copied to clipboard
[17.0] date_range : editing a field in a form with studio throws error
trafficstars
Module
date_range
Describe the bug
The edition of a field in a form view with studio (simple as adding a domain on invisible condition) throws and error :
Caused by: TypeError: Cannot read properties of undefined (reading 'dateRanges') at TreeEditor.getValueEditorInfo (https://xxxxx/web/assets/debug/web.assets_web.js:205170:42) (/date_range/static/src/js/tree_editor.esm.js:49)
To Reproduce
Affected versions:
Steps to reproduce the behavior:
- Open view form with studio
- Edit the invisible condition of a field
- Click on new rule
Expected behavior The list of the field and the conditions must appears.