-
Notifications
You must be signed in to change notification settings - Fork 6
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
Uncaught SyntaxError: Unexpected token '<' (http://localhost:8080/[object%20Module]:1:1) #6
Comments
Hello @allenvpn312, what version of the component are you using? |
Hi, I am using version 16.4.1.
On Fri, Jan 21, 2022 at 5:29 AM Paola De Bartolo ***@***.***> wrote:
Hello @allenvpn312 <https://github.com/allenvpn312>, what version of the
component are you using?
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACIXSWJOMLFVT356WAHL2NTUXFNVLANCNFSM5KZNYBRQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
--
Regards,
Allen
|
My question was about which version of vcf-pdf-viewer-flow are you using, is it 2.0.0 (for Vaadin 22) or 1.0.1 (for Vaadin 14)? Thanks. |
Oh, sorry. I’m using Vaadin 14 so it’s version 1.0.1.
On Fri, Jan 21, 2022 at 11:17 AM Paola De Bartolo ***@***.***> wrote:
My question was about which version of vcf-pdf-viewer-flow are you using,
is it 2.0.0 (for Vaadin 21) or 1.0.1 (for Vaadin 14)? Thanks.
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACIXSWJ3O6EQYGDCD6OMJZDUXGWK3ANCNFSM5KZNYBRQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
--
Regards,
Allen
|
Hi again, I wasn't able to reproduce your issue. There's a new version out, see https://vaadin.com/directory/component/pdf-viewer/1.0.2. Can you tell me if the issue remains with this new version? If so, can you share a small example so I can reproduce the issue? Regards |
Ok, I apply the updated version and let you know. Thanks
On Fri, Jan 28, 2022 at 7:17 AM Paola De Bartolo ***@***.***> wrote:
Hi again, I wasn't able to reproduce your issue. There's a new version
out, see https://vaadin.com/directory/component/pdf-viewer/1.0.2. Can you
tell me if the issue remains with this new version? If so, can you share a
small example so I can reproduce the issue?
Regards
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACIXSWPAP5MYTBRCJJ62VBLUYKXPHANCNFSM5KZNYBRQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
--
Regards,
Allen
|
Receiving error when opening pdfviewer. This only happens on the first call. Subsequent calls does not receive this error. Below is the sample code.
`pdfReport.generate(); // Generate report
var is = new ByteArrayInputStream(pdfReport.getOutputStream().toByteArray());
resource = new StreamResource(filing.getTaxReport().getCode(), () -> is);
resource.setContentType("application/pdf");
resource.setCacheTime(0);`
The text was updated successfully, but these errors were encountered: