[17.0] web_m2x_options: raising "OwlError: Invalid props for component 'Many2ManyTagsAvatarUserField': unknown key 'searchLimit'"

Open
#3,155 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start with the web_m2x_options field handling and compare how it passes props to Many2ManyTagsAvatarUserField; the error identifies searchLimit as the rejected key. Check the related issue #2934 for context. Done when opening a project_todo card in the 17.0 kanban view no longer raises this OwlError.

Written by the indexing model from the issue text.

Description

bug

Module

web_m2x_options

Describe the bug and To Reproduce

Developer mode on. Go to project_todo app, kanban view, when clicking in a card the error arises. I think is just another manifestation of #2934.

17.0

Additional context

UncaughtPromiseError > OwlError
Uncaught Promise > Invalid props for component 'Many2ManyTagsAvatarUserField': unknown key 'searchLimit'
OwlError: Invalid props for component 'Many2ManyTagsAvatarUserField': unknown key 'searchLimit'
    Error: Invalid props for component 'Many2ManyTagsAvatarUserField': unknown key 'searchLimit'
        at Object.validateProps (http://localhost:17069/web/assets/debug/web.assets_web.js:10774:19) (/web/static/lib/owl/owl.js:3214)
        at Field.template (eval at compile (http://localhost:17069/web/assets/debug/web.assets_web.js:13312:20), <anonymous>:17:13) (/web/static/lib/owl/owl.js:5752)
        at Fiber._render (http://localhost:17069/web/assets/debug/web.assets_web.js:9343:38) (/web/static/lib/owl/owl.js:1783)
        at Fiber.render (http://localhost:17069/web/assets/debug/web.assets_web.js:9335:18) (/web/static/lib/owl/owl.js:1775)
        at ComponentNode.initiateRender (http://localhost:17069/web/assets/debug/web.assets_web.js:10015:23) (/web/static/lib/owl/owl.js:2455)
Dominant language
JavaScript
Stars
1.2k
Forks
2.2k
Avg merge
3d 15h
Merged PRs (30d)
30

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OCA/web

All issues in OCA/web

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.