server-ux icon indicating copy to clipboard operation
server-ux copied to clipboard

[17.0] date_range : editing a field in a form with studio throws error

Open therbin200 opened this issue 1 year ago • 0 comments
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:

  1. Open view form with studio
  2. Edit the invisible condition of a field
  3. Click on new rule

Expected behavior The list of the field and the conditions must appears.

therbin200 avatar Jul 02 '24 12:07 therbin200