[18.0] web_m2x_options: Error in developer mode.
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 39/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start by tracing the many2one barcode field module named in the console error and the options it passes to the many2one field; the payload does not identify source files or tests. Find why the listed m2o_options_props keys are rejected when entering the affected mode, then reproduce the blank monitor screen and confirm the module loads without the console error. The issue has had no comment for 216 days, so getting guidance may be difficult.
Written by the indexing model from the issue text.
Description
When entering developer mode, the monitor screen goes blank, and the console displays the following error:
Uncaught Error: Error while loading "@web/views/fields/many2one_barcode/many2one_barcode_field":
Error: Invalid object: unknown key 'm2o_options_props_create', unknown key 'm2o_options_props_create_edit', unknown key 'm2o_options_props_limit', unknown key 'm2o_options_props_search_more', unknown key 'm2o_options_props_open', unknown key 'm2o_options_props'
startModule http://localhost:18069/web/assets/9078c85/web.assets_web.min.js:41
startModules http://localhost:18069/web/assets/9078c85/web.assets_web.min.js:40
addJob http://localhost:18069/web/assets/9078c85/web.assets_web.min.js:5
define http://localhost:18069/web/assets/9078c85/web.assets_web.min.js:10
http://localhost:18069/web/assets/9078c85/web.assets_web.min.js:9894
web.assets_web.min.js:41:227
The following modules failed to load because of an error:
Array [ "@web/views/fields/many2one_barcode/many2one_barcode_field" ]
web.assets_web.min.js:23:27
The following modules could not be loaded because they have unmet dependencies, this is a secondary error which is likely caused by one of the above problems:
Array(23) [ "@web/views/fields/many2one_reference/many2one_reference_field", "@web/views/fields/properties/card_properties_field", "@web/views/fields/properties/properties_field", "@web/views/fields/properties/property_definition", "@web/views/fields/properties/property_value", "@web/views/fields/radio/radio_field", "@web/views/fields/reference/reference_field", "@web/views/fields/selection/filterable_selection_field", "@web/views/fields/selection/selection_field", "@web/views/fields/statusbar/statusbar_field", … ]
web.assets_web.min.js:26:29
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 2.2k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 30
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OCA/web
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
[19.0] web_timeline: ValueError "Invalid field 'date_start:month'" when grouping by a date fieldPossibly taken @stferraro claimed this today. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
[19.0] web_m2x_options: system parameter + m2o options not working properly when no recordsPossibly taken @CristhianAC claimed this 11 days ago. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
Maintainers usually reply within 1 day
-
Migration to version 20.0Possibly taken A pull request linked to this issue is open or already merged. Openhelp wanted no stale work in progress
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 1-2 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
Similar issues
-
bug package:workers-shared
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cloudflare/workers-sdk#16924 · 1 comment ·
Maintainers usually reply within 1 day
-
dashboard
Difficulty 2/5 Half a day Newbie friendliness 78/100
damodharg6/payledger#9 ·
-
parse: child keys like `007`, `1e3`, `0x1f`, `-1` make the parent an empty array and hide the valueOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
area/mobile area/ui good first issue
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
natemoo-re/ultrahtml#102 ·