Skip to content

error writing to database #50

Description

@MURBASLMS

HI, thanks for looking after this handy plugin.

just noticed a bug when filter is on.

i think down to someone leaving the very long name with spaces and having been copied and uploaded a few times:

<p><img src="https://ourmoodle/draftfile.php/3960/user/draft/75143285/DALL%C2%B7E%202023-02-05%2016.47.19%20-%20A%20silhouette%20of%20the%20head%20of%20a%20person%20in%20profile%20against%20a%20realistic%20Nebula%20where%20we%20can%20also%20see%20the%20brain%20of%20the%20person.%20copy%203.png" alt="" role="presentation" class="img-fluid atto_image_button_left" width="1024" height="689"><br></p>

results in an error writing to database and the section in which this is present does not appear.

switch off image opt filter in course, error goes away.

in another course, same thing. Altered file name and no error.

using mdl 3.11 latest
image opt latest
psgql

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions