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

error writing to database #50

Open
MURBASLMS opened this issue Jul 25, 2023 · 0 comments
Open

error writing to database #50

MURBASLMS opened this issue Jul 25, 2023 · 0 comments

Comments

@MURBASLMS
Copy link

MURBASLMS commented Jul 25, 2023

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

andrewhancox added a commit to andrewhancox/moodle-filter_imageopt that referenced this issue Jan 31, 2024
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

1 participant