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

Copy original URI button is broken / throws JS error #390

Open
jvendetti opened this issue Feb 7, 2025 · 0 comments
Open

Copy original URI button is broken / throws JS error #390

jvendetti opened this issue Feb 7, 2025 · 0 comments
Assignees

Comments

@jvendetti
Copy link
Member

Steps to reproduce:

  • Navigate to the Classes tab for any ontology in BioPortal
  • Select any class in the class tree
  • In the Details pane, click the "Copy original URI" button next to the class ID

The ID isn't copied to the clipboard, and the developer console shows a JS error:

application-96b038b81bc337faeb68edb55ab4ebc7cc15c08ce8aec65a58dbe2a4bde57cfb.js:32 Error invoking action "click->clipboard#copy"

Error: Missing target element "source" for "clipboard" controller
    at e.get (application-96b038b81bc337faeb68edb55ab4ebc7cc15c08ce8aec65a58dbe2a4bde57cfb.js:4:15243)
    at e.copy (application-96b038b81bc337faeb68edb55ab4ebc7cc15c08ce8aec65a58dbe2a4bde57cfb.js:32:14060)
    at wd.invokeWithEvent (application-96b038b81bc337faeb68edb55ab4ebc7cc15c08ce8aec65a58dbe2a4bde57cfb.js:31:5963)
    at wd.handleEvent (application-96b038b81bc337faeb68edb55ab4ebc7cc15c08ce8aec65a58dbe2a4bde57cfb.js:31:5352)
    at fd.handleEvent (application-96b038b81bc337faeb68edb55ab4ebc7cc15c08ce8aec65a58dbe2a4bde57cfb.js:31:1429)
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

2 participants