Skip to content

Bug - Snippets and Pictures/Smileys #504

Closed

Description

@BurtGummer

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

Activity

  1. KaldungJr commented on Oct 30, 2023

    @KaldungJr

    Hello,

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

  2. BurtGummer commented on Oct 30, 2023

    @BurtGummer
    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.

  3. self-assigned this
    on Nov 6, 2023
  4. KaldungJr commented on Nov 6, 2023

    @KaldungJr

    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;

  5. rkaldung commented on Nov 10, 2023

    @rkaldung
    Member

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

  6. rkaldung commented on Nov 10, 2023

    @rkaldung
    Member

    Internal Issue 773

  7. rkaldung commented on Jan 4, 2024

    @rkaldung
    Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1 - 🐞 bug 🐞An issue with the system.3 - internal Issue/MRA Znuny internal issue/MR has been created.3 - verifiedThis issue or pull request was verified.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions