Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
oluwagbenga-joloko opened this issue Dec 8, 2022 · 0 comments

Comments

@oluwagbenga-joloko
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant