Pivottable export broken in demo/sampler

throws exception when clicking on export

https://demo.jmix.io/sampler/#main/0/sample?id=pivottable-data-export

Hello!

Thank you for reporting the problem. The reason is the missing fonts in the docker image. We will try to fix it.

@Pinyazhin I now run into the same issue on my deployed environment.

how did you fix this? Will this be resolved in a future platform update? It is quite urgent since I need to get this working on production.
If it will not be resolved soon can you provide a workaround? I’m also deploying as a docker image.

ps. I checked the github repo but there’s no recent commit GitHub - cuba-platform/sampler: CUBA Platform Components Sampler https://demo.cuba-platform.com/sampler

This is a problem of docker image you use. Try to add to your Dockerfile:

RUN apk add --no-cache ttf-dejavu

Notice that the Jmix Sampler repo is: GitHub - jmix-framework/jmix-ui-samples: Jmix UI Samples. Online at https://demo.jmix.io/sampler

1 Like