Skip to content
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

Can't generate attestation with my commune name #21

Open
sigeal opened this issue Mar 26, 2021 · 3 comments
Open

Can't generate attestation with my commune name #21

sigeal opened this issue Mar 26, 2021 · 3 comments

Comments

@sigeal
Copy link

sigeal commented Mar 26, 2021

Attestation generation failed with "Saint-Laurent des Combes" as commune name, with error :

Uncaught (in promise) TypeError: options.size must be of type number or n, but was actually of type null

It works with whatever other commune name (ie. Châtignac) and every other data identical.

Environment : Windows 10 - Firefox 87.0
Also tested on Windows 10 with Chrome and Vivaldi
Also tested on Android 11 with Firefox or Samsung browser

@Guillaumeh3
Copy link

C'est un problème de longueur du nom.

@sigeal
Copy link
Author

sigeal commented Mar 27, 2021

Thanks for the hint, now at least I have a workaround.
The old version worked perfectly though, even with long commune names...

@JV-conseil
Copy link

@sigeal If your commune name is longer than 19 characters, the JS script generating the PDF will bug 👉 I've opened an issue #20 about it and proposed a bug correction #19.

Here is a list of the 2109 French cities impacted by this bug 🐛 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants