teable icon indicating copy to clipboard operation
teable copied to clipboard

Bug found in copying share link

Open jaherron opened this issue 2 years ago • 4 comments

When trying to copy the sharing link after enabling sharing for a view, the copy button causes this error in the browser console. I don't know if this is a real bug in the software or just an artifact of me running a self-hosted instance.

[viewId]-b6bf1d65ae94c4f0.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'writeText')
    at y ([viewId]-b6bf1d65ae94c4f0.js:1:18731)
    at test.n.<computed> (_app-0cdcc7521fdc94d5.js:95:15319)
    at Object.eB (framework-922e6b3f191606ca.js:25:14910)
    at eH (framework-922e6b3f191606ca.js:25:15064)
    at framework-922e6b3f191606ca.js:25:33370
    at re (framework-922e6b3f191606ca.js:25:33469)
    at rt (framework-922e6b3f191606ca.js:25:33883)
    at framework-922e6b3f191606ca.js:25:39339
    at uP (framework-922e6b3f191606ca.js:25:96306)
    at eM (framework-922e6b3f191606ca.js:25:14048)

jaherron avatar Mar 27 '24 15:03 jaherron

It looks like the browser doesn't support the clipboard API. What is your browser and whether you have enabled https?

tea-artist avatar Mar 27 '24 16:03 tea-artist

I am self-hosting Teable, so it isn't behind HTTPS. I am using Google Chrome.

jaherron avatar Apr 04 '24 03:04 jaherron

We are using this API for the copy/paste feature, so it only works behind HTTPS.

tea-artist avatar Apr 04 '24 05:04 tea-artist

Is there any way to add the SSL cert for the domain I'm using to my self-hosted instance?

jaherron avatar Apr 05 '24 01:04 jaherron

I'm closing this as not planned since I applied HTTPS to Teable using Nginx Proxy Manager.

jaherron avatar Apr 16 '24 19:04 jaherron