Infinite loading in create/update form if "Allow specific files extensions" is enabled for a field

Feature(s) impacted

Create/update forms

Observed behavior

When trying to create a new entity having a FilePicker field with the “Allow specific files extensions” option enabled, all select fields are blocked in an infinite loading loop preventing form submission.

Expected behavior

Using the “Allow specific files extensions” shouldn’t break forms.

Failure Logs

Uncaught TypeError: this.filesExtensions is not iterable
    get filesExtensionsForButton https://app.forestadmin.com/assets/client-b807f349c96f30cf33b7b935d1ba6a2f.js:1
    get https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    untrack https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    get https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    n https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    Ae https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    o https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    tag https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    track https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    m https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    oe https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    create https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    <anonymous> https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    evaluate https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    evaluateSyscall https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    evaluateInner https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    evaluateOuter https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    next https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    _execute https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    execute https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    handleException https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    handleException https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    throw https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    evaluate https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    _execute https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    execute https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    rerender https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    render https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    _renderRoots https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    Nt https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    _renderRoots https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    _renderRootsTransaction https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    _revalidate https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    invoke https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    flush https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    flush https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    _end https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    end https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    _run https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    _join https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    join https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    h https://app.forestadmin.com/assets/vendor-25c062144d2db8f56ffda7fca6e0e8b7.js:58
    compute https://app.forestadmin.com/assets/client-b807f349c96f30cf33b7b935d1ba6a2f.js:1
    i https://app.forestadmin.com/assets/chunk.8.3b260da1aa01fe8cd42c.js:1
client-b807f349c96f30cf33b7b935d1ba6a2f.js:1:1426456

Context

Please provide in this mandatory section, the relevant information about your configuration:

  • Project name: DaaS
  • Team name: Charitips
  • Environment name: Development/Staging/Production
  • Agent type & version: “forest-express-sequelize”: “^8.4.8”

Hi @matthieu,

Thanks a lot for your report.

I can reproduce this issue on my end. This is a recent regression.
I’m opening a bug report as of now, and I’ll let you know asap once it’s fixed!

Thanks again.

Hello @matthieu,

The issue should be fixed by now.
Could you please check that it’s working well on your side?

Thanks again for your report and patience.

Hello @adriguy,

I confirm that it’s fixed.

Thanks for the quick fix!

1 Like