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

Bug - Snippets and Pictures/Smileys #504

Closed
BurtGummer opened this issue Oct 19, 2023 · 6 comments
Closed

Bug - Snippets and Pictures/Smileys #504

BurtGummer opened this issue Oct 19, 2023 · 6 comments
Labels
1 - 🐞 bug 🐞 An issue with the system. 4 - internal Issue/MR 4 - verified This issue or pull request was verified.

Comments

@BurtGummer
Copy link

Hello,

I try the Snippet-Function on Znuny 6.5.4 and have 2 problems:

image

  1. If I enter smileys/emoji with WIN + . the smileys will not be saved. After saving there are the black ? symbols.
  2. Same problem with a picture, If i save I get the error from the screenshot
@KaldungJr
Copy link

Hello,

How large is the image file you tried to add to the snippet? What kind of database are you using for your system?

@BurtGummer
Copy link
Author

Hello @KaldungJr,

the image has only some KB. We use Debian 11 with the Mariadb version 10.5.21. The thing is, we can use bigger pictures and smileys in the other text fields from znuny.

@KaldungJr KaldungJr self-assigned this Nov 6, 2023
@KaldungJr
Copy link

Hello @BurtGummer,

The reason emojis can't be saved is because the default database character set of Znuny does not support utf8mb4. As to the image not being saved, you said it was only a couple of KB which might be too large of an image file anyways since the default size for templates is 64 KB.

Workaround: You can increase the column size with this SQL command ALTER TABLE standard_template MODIFY COLUMN text MEDIUMTEXT;

@KaldungJr KaldungJr added 1 - 🐞 bug 🐞 An issue with the system. 4 - verified This issue or pull request was verified. labels Nov 6, 2023
@rkaldung
Copy link
Contributor

@BurtGummer Both issues are on our list, but the character set change won't come quickly. The column size is already addressed to development.

@rkaldung
Copy link
Contributor

Internal Issue 773

@rkaldung
Copy link
Contributor

rkaldung commented Jan 4, 2024

Solved in Znuny LTS 6.5.5 with commit 901f10f and in Znuny 7.0.14 with 4f381e1

@rkaldung rkaldung closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - 🐞 bug 🐞 An issue with the system. 4 - internal Issue/MR 4 - verified This issue or pull request was verified.
Development

No branches or pull requests

3 participants