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

Edit image drawer errors when opening SVGs #15461

Closed
licitdev opened this issue Sep 7, 2022 · 0 comments · Fixed by #15463
Closed

Edit image drawer errors when opening SVGs #15461

licitdev opened this issue Sep 7, 2022 · 0 comments · Fixed by #15463
Assignees
Labels

Comments

@licitdev
Copy link
Member

licitdev commented Sep 7, 2022

Describe the Bug

The image edit drawer gets stuck in loading with an error when opened from the image interface, if image is an SVG.

Screen.Recording.2022-09-08.at.12.34.38.AM.mov

image

To Reproduce

Click the Edit Image button on the image interface with a SVG image value.

Errors Shown

Uncaught (in promise) SyntaxError: Invalid arguments (at message-compiler.esm-bundler.js:32:19)
    at createCompileError (message-compiler.esm-bundler.js:32:19)
    at createCoreError (core-base.esm-bundler.js:324:12)
    at parseNumberArgs (core-base.esm-bundler.js:927:15)
    at number (core-base.esm-bundler.js:855:46)
    at vue-i18n.esm-bundler.js:391:40
    at wrapWithDeps (vue-i18n.esm-bundler.js:325:23)
    at Proxy.n (vue-i18n.esm-bundler.js:391:16)
    at image-editor.vue:109:9
    at renderFnWithContext (runtime-core.esm-bundler.js:853:21)
    at renderSlot (runtime-core.esm-bundler.js:2968:55)

What version of Directus are you using?

9.17.4

What version of Node.js are you using?

v16

What database are you using?

SQLite

What browser are you using?

Chrome

How are you deploying Directus?

running locally

@licitdev licitdev self-assigned this Sep 7, 2022
@licitdev licitdev changed the title Inability to load the edit image drawer from image interface Edit image drawer errors when opening SVGs Sep 7, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant