Skip to content

Selecting Embed Content in Frontify finder UI throws an unhandled error.  #1

@oluwagbenga-joloko

Description

@oluwagbenga-joloko

Steps to Repo

  • Add an Embed content external URL to a project on Frontify's website
  • Try to select the file in the Frontify Finder

Actual behaviour

  • The UI stops responding and the Choose file button is disabled

Possible solutions

  1. Provide a way to handle this error
  2. Provide a way to Exclude embed content from Frontify finder UI since they cannot be downloaded.

Find below the error shown on the browser console

frontify-workspace.ffcd0e5889619d04cfb3.js:2 Uncaught TypeError: Cannot read properties of null (reading 'replace')
    at Tc.Module.OExternalAssetChooser.filterAssetsProperties (frontify-workspace.ffcd0e5889619d04cfb3.js:2:620526)
    at Tc.Module.OExternalAssetChooser.onAssetChooserAssetChosen (frontify-workspace.ffcd0e5889619d04cfb3.js:2:620200)
    at n.notify (frontify-common.6e8d3bd382087249a3d6.js:2:116793)
    at d.fire (frontify-common.6e8d3bd382087249a3d6.js:2:116076)
    at d.handleChooseButtonClick (frontify-common.6e8d3bd382087249a3d6.js:2:732185)
    at HTMLButtonElement.<anonymous> (frontify-common.6e8d3bd382087249a3d6.js:2:729685)
    at HTMLDivElement.dispatch (frontify-vendors.7381c3d7bf1b07230887.js:2:7752114)
    at g.handle (frontify-vendors.7381c3d7bf1b07230887.js:2:7750109)
    at r.__trace__.r.__trace__ (inline-script-content.js:146:30)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions