OpenCerts/opencerts-website

Pressing Print button results in DataCloneError

Closed this issue · 2 comments

Description

When trying to print a document on the /viewer page by pressing the Print button I receive no visual clue on anything happening. I checked the console and found two consecutive DataCloneErrors, see attached screenshot:

2020-07-06-214827_1365x767_scrot

This still worked yesterday (according to a friend), so this might be related to a new release?

I have neither found a workaround nor been able to test the newest version locally.


Environment

Mozilla Firefox for Ubuntu 76.0.1 (64-bit)


Reproduction steps

  1. Go to https://opencerts.io
  2. Select opencert file or drag and drop the demo
  3. Press the Print button
Expected results:
  • Default print action or visual error message
Actual results:
  • Nothing

Hi,

Thanks for the report. The bug has been introduced yesterday while adding security attributs to the iframe (Open-Attestation/decentralized-renderer-react-components@78512d8)

I've made a patch (Open-Attestation/decentralized-renderer-react-components@20d4ce8) and just deployed it.

Let me know if the issue is fixed on your side

Yes, this fixed the issue. I am now able to print certificates as expected!