odoo / odoo/docker

Error when creating new user

Open
#416 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
1.2k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I get this error when I create user with odoo running inside docker.

Uncaught Promise > Failed to execute 'querySelectorAll' on 'Element': '"]' is not a valid selector.
SyntaxError: Failed to execute 'querySelectorAll' on 'Element': '"]' is not a valid selector.
    at classToStyle (https://my.domain.com:63620/web/assets/118-420afd0/web.assets_backend.min.js:9622:192)
    at toInline (https://my.domain.com:63620/web/assets/118-420afd0/web.assets_backend.min.js:9635:179)
    at Class._toInline (https://my.domain.com:63620/web/assets/118-420afd0/web.assets_backend.min.js:9690:231)
    at Class.commitChanges (https://my.domain.com:63620/web/assets/118-420afd0/web.assets_backend.min.js:9689:107)
    at Class.commitChanges (https://my.domain.com:63620/web/assets/115-13a047e/web.assets_common.min.js:4728:371)
    at https://my.domain.com:63620/web/assets/118-420afd0/web.assets_backend.min.js:4772:250
    at _.map._.collect (https://my.domain.com:63620/web/assets/115-13a047e/web.assets_common.min.js:154:270)
    at Class.commitChanges (https://my.domain.com:63620/web/assets/118-420afd0/web.assets_backend.min.js:4772:184)
    at https://my.domain.com:63620/web/assets/118-420afd0/web.assets_backend.min.js:4503:659```

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing user creation with Odoo running in Docker and inspect the JavaScript entry points named in the trace: classToStyle, toInline, and commitChanges. Determine which input produces the invalid '"]' selector and verify the error no longer occurs during user creation; the issue does not identify a source file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.