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

[4.2.6] - Unable to save/edit articles with umlauts in filenames during frontend editing #39515

Closed
tgurr opened this issue Dec 28, 2022 · 4 comments
Labels

Comments

@tgurr
Copy link

tgurr commented Dec 28, 2022

Steps to reproduce the issue

Using frontend editing. Try to edit an existing article or create a new one and add for example a picture with umlauts in its file name. This only appears to affect frontend editing, the same works fine when editing the article in the backend as administrator.

  1. Add a picture
    01_add_picture
  2. Pick a picture with umlauts
    01_pick_file_with_umlauts
  3. Try to save the article
  4. Experience the following error:

Screenshot_20221228_123303

Screenshot_20221228_123230

It's reproducible when creating a new article just consisting of the following code:

<p><img src="dateien/103/images/jubiläum_november_2015.jpg" alt="jubilaeum november 2015" style="margin: 5px 20px;"></p>

When first renaming the file replacing umlauts the same works fine.

Expected result

No error - work like before in Joomla 3.x

Actual result

Experience a timout/fatal error

System information (as much as possible)

From Joomla system information:

  • Database: 10.5.18-MariaDB
  • Database charset: utf8_general_ci
  • Database connection charset: utf8mb4_general_ci
  • PHP: 8.0.26 (but also reproducible on 7.4.33)
  • Default Cassiopeia template
  • JCE Editor

Additional comments

This wasn't an issue and worked fine before in Joomla 3.x before upgrading to Joomla 4.x. Raising the PHP execution timeout also doesn't help as the PHP-FPM process is taking 100% CPU no matter how long it runs until running into the timeout/error.

@ReLater
Copy link
Contributor

ReLater commented Dec 28, 2022

Could you please test with TinyMce? To confirm that it is a Joomla core issue.

@tgurr
Copy link
Author

tgurr commented Dec 28, 2022

Apparently this issue has already reported before #39193 and would be fixed by joomla-framework/filter#50 if it would be merged instead of the bugreport just being closed as completed where it is NOT. Found this after searching for another problem and stumbling upon https://www.joomlacontenteditor.net/support/forum/109751-photo-filename-with-umlauts-cannot-save-article which mentioned the bugreport and the PR (and that it's also reproducible on TinyMCE).

@Hackwar Hackwar added the bug label Feb 22, 2023
@deltapapa01
Copy link

deltapapa01 commented Apr 23, 2023

Hello,
I can confirm the bug!
I have tested it with a different editor, template and language.
However, the articles can be saved as Super User, everything below (so as Admin) does not work. So after pressing save nothing happens, no error output at all.
I use Joomla 4.3 and PHP 8.2.0

Hope #39193 will be reopen!

WBR,
deltapapa

@richard67
Copy link
Member

Closing as having a pull request. Please test #41451 . Thanks in advance.

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

No branches or pull requests

6 participants