[18.0] web_m2x_options: Error in developer mode.

Aperta
#3,172 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
39/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

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

Image

Lingua principale
JavaScript
Stelle
1.2k
Fork
2.2k
Merge medio
3g 15h
PR unite (30g)
30

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OCA/web

Tutte le issue di OCA/web

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.