You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
We included the above dockerfile as a builder in our custom one for share like this FROM pdfjs-build:1.0.0 as pdfjs-builder
Apply this patch to the PdfJs.js in share all kudos to Axel, thanks!
FROM alfresco/alfresco-governance-share-community:7.1.0
.../...
# Update pdfsjs (see docker-pdfjs-builder/Dockerfile)
# This last pdfjs version requires some hacks in the alfresco's pdfjs script
RUN rm $TOMCAT_DIR/webapps/share/components/preview/PdfJs-min.js
COPY preview/PdfJs.js $TOMCAT_DIR/webapps/share/components/preview/PdfJs.js
# Remove the alfresco built-in one
RUN rm -fr $TOMCAT_DIR/webapps/share/components/preview/pdfjs
# Copy the pdfjs "artifact" created in the builder container
COPY --from=pdfjs-builder /tmp/pdfjs $TOMCAT_DIR/webapps/share/components/preview/pdfjs
It would be very cool if you guys could include a patch in a future release :)
Thanks in advance,
Luis
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello there,
FROM alfresco/alfresco-governance-share-community:7.1.0
How to reproduce it:
/myfiles
share/page/document-details?nodeRef=workspace://SpacesStore/XXXXX
Problem: the pdfjs used by

/share
is rendering blank pdf documents:Workaround:
FROM pdfjs-build:1.0.0 as pdfjs-builder
It would be very cool if you guys could include a patch in a future release :)
Thanks in advance,
Luis
The text was updated successfully, but these errors were encountered: