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

NEXT-8440 - Copy Link to Clipboard in Media Manager throws error #748

Closed
AlexBachmann opened this issue Apr 15, 2020 · 3 comments
Closed

Comments

@AlexBachmann
Copy link
Contributor

Description
If you select a media item in the media manager and click on the "Copy to Clipboard" ("Link kopieren") button on the right side, a javascript error is thrown:

Cannot read property 'copyToClipboard' of undefined

The reason is, that the const domUtils = Shopware.Utils.dom; constant is not available in the copyItemLink() method in platform/src/Administration/Resources/app/administration/src/app/component/media/sw-media-media-item/index.js

@shopwareBot
Copy link

Hello,

thank you for creating this issue.
I have opened a ticket on our Issue Tracker for you. See the ticket link: https://issues.shopware.com/issues/NEXT-8440

Please use this ticket to track the state of your issue.

@pantrtxp pantrtxp changed the title Copy Link to Clipboard in Media Manager throws error NEXT-8440 - Copy Link to Clipboard in Media Manager throws error May 7, 2020
@mmularski
Copy link

Cannot reproduce that issue on the 6.2-BoostDay branch

image

@pantrtxp
Copy link
Contributor

Okay, guess someone has fixed that already 🤷‍♂️
Can not reproduce it too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants