formio / formio.js

JavaScript powered Forms with JSON Form Builder
https://formio.github.io/formio.js
MIT License
1.87k stars 1.06k forks source link

FormBuilder warnings: missing projectId & misspelled option "isUseWorkerDisabled" #5706

Open ParhamShD opened 1 month ago

ParhamShD commented 1 month ago

Describe the bug Similar to #4164, but instead of errors, there are now warnings

To Reproduce

  1. Go to FomBuilder demo page: https://formio.github.io/formio.js/app/builder
  2. Open Developer Console (F12)
  3. See the warning in the console:
    Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    formio.full.min.js:2 Could not load project settings: Missing projectId
    (anonymous) @ formio.full.min.js:2
  4. Drag and drop a Checkbox control to the form
  5. See the warning in the console:
    ace.js:1 misspelled option "isUseWorkerDisabled"
    o @ ace.js:1
    setOption @ ace.js:1
    (anonymous) @ ace.js:1
    setOptions @ ace.js:1
    (anonymous) @ formio.full.min.js:2
    Promise.then (async)
    addAce @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    attachElement @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    attach @ formio.full.min.js:2
    attach @ formio.full.min.js:2
    attach @ formio.full.min.js:2
    attach @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    attachComponents @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    attach @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    attachComponents @ formio.full.min.js:2
    attach @ formio.full.min.js:2
    editComponent @ formio.full.min.js:2
    onDrop @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    e.emit @ formio.full.min.js:2
    W @ formio.full.min.js:2
    q @ formio.full.min.js:2
    ace.js:1 misspelled option "isUseWorkerDisabled"
    o @ ace.js:1
    setOption @ ace.js:1
    (anonymous) @ ace.js:1
    setOptions @ ace.js:1
    (anonymous) @ formio.full.min.js:2
    Promise.then (async)
    addAce @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    attachElement @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    attach @ formio.full.min.js:2
    attach @ formio.full.min.js:2
    attach @ formio.full.min.js:2
    attach @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    attachComponents @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    attach @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    attachComponents @ formio.full.min.js:2
    attach @ formio.full.min.js:2
    editComponent @ formio.full.min.js:2
    onDrop @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    (anonymous) @ formio.full.min.js:2
    e.emit @ formio.full.min.js:2
    W @ formio.full.min.js:2
    q @ formio.full.min.js:2

    Expected behavior No warnings in the console

Screenshots image

Sidiro23 commented 1 month ago

Thank you for reporting this issue. I am able to reproduce it and have logged a ticket for the backlog. We are always willing to review any contributions to resolve this issue from the open-source community.

For internal reference: FIO-8739