[ckan-dev] PDF Preview broken in CKAN 2.1

Vitor Baptista vitor at vitorbaptista.com
Thu Aug 15 14:09:56 UTC 2013


Quickly looking into demo, it seems that pdfjs' minified version in
https://github.com/okfn/ckan/blob/master/ckanext/pdfpreview/theme/public/vendor/pdfjs/pdf.min.js
is
broken. Looking in pdf.js' issues, it seems they had problems with
minification already (https://github.com/mozilla/pdf.js/issues/2479). As
our pdf.min.js version is 10 months old, while pdf.js is 2 months, I guess
we should re-minify it.

Could you try to do it?

Dominik, does it make sense to you?

Vítor Baptista

Developer  |  http://vitorbaptista.com |
LinkedIn<http://www.linkedin.com/in/vitorbaptista>|
@vitorbaptista <http://twitter.com/vitorbaptista>

The Open Knowledge Foundation <http://okfn.org>

*Empowering through Open Knowledge*

http://okfn.org/  |  @okfn <http://twitter.com/okfn>  |  OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter/>



2013/8/15 Ralf Krüdewagen <user66 at arcor.de>

> Hi,
>
> after upgrading from CKAN 2.0.x to 2.1 the PDF Preview does not work any
> more. The embedded PDF preview window appears, but the content of the PDF
> doc is not shown. This happens with local and remote files.
>
> Example on CKAN demo site:
>
> http://demo.ckan.org/dataset/pdf-test/resource/5597e098-83bb-4ffd-835b-2e94688007b8
>
> And on my site:
>
> http://demo.offene-daten.me/dataset/pdf-test/resource/f725204e-297b-44dd-bd1f-69764e34618b
>
> Any idea what can be done to fix this?
>
> Cheers
> Ralf
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130815/c4d7d544/attachment-0001.html>


More information about the ckan-dev mailing list