This error i have in module subform, but you can find this in other media fields.
Module saved successfully.
We have an error "The form cannot be submitted as it's missing required data. Please correct the marked fields and try again." And additional error message near the media field: "Select a Background Image. This value is not valid" (This error is for Custom HTML module).
Video with all steps
Labels |
Added:
No Code Attached Yet
|
@sergeytolkachyov What happens if you change the file name extension from "JPG" to "jpg"? Just an idea.
I tried a jpg, JPG and webp. I have this problem on 2 different sites.
@richard67 that's NOT the Joomla's media field. @sergeytolkachyov try to solve this by either uninstalling JCE or ask them to fix THEIR code
I see now. The screenshot shows indeed not the core field. Thanks @dgrammatiko for clarification.
Closing as not a core issue.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-10-05 14:13:46 |
Closed_By | ⇒ | richard67 |
@richard67 @dgrammatiko This bug with core media manager. I have uninstalled JCE before
Reopening due to previous comment.
Status | Closed | ⇒ | New |
Closed_Date | 2022-10-05 14:13:46 | ⇒ | |
Closed_By | richard67 | ⇒ |
I can confirm the issue.
It's the reworked MIME validation (JS).
Use an existing(!) file with uppercase file extension. "PNG", "JPG" or so and you'll see the failure message and cannot save even if the file exists and has correct MimeType.
I have this issue with lowercased webp files
Looks like another bug that already existed before 4.2.3 and has nothing to do with 38425. Sorry!
Made a test with a blank Jommla 4.2.2.
Only change with 4.2.3:
Sorry again! After update to 4.2.3: Nothing has changed. NO preview. No warning.
Im giving up.
On all other Joomla 4.2.3 sites I can confirm the issue but not on the newly installed 4.2.2; updated to 4.2.3.
I also tested with newly installed JCE on the newly installed Joomla: No issues.
Thank you. "Allowed Extensions" didn't change the preview but this addition (red arrow) brings back the preview in my case:
This has nothing to do with the changed setting:
AND, strange but true: All 4.2.3 pages I've tested again some minutes ago do NOT show a warning any longer or block saving just because of the uppercase extension.
If I remember correctly I just updated Firefox last night. I don't know...
well
i'm more incline to classify this
like a documentation issue
quite tempted to close it
@sergeytolkachyov
Can you reproduce the warning issue on a clean installation? I have nothing more to contribute here for the time being...
@sergeytolkachyov Can you reproduce the warning issue on a clean installation? I have nothing more to contribute here for the time being...
I'll try tomorrow
@alikon @richard67 Clean Joomla 4.2.3 installation.
Hello, we have almost the same problem with Joomla version 4.2.4.
But with articles (Intro Image and Full Article Image) and only with webp. (And yes, webp is allowed as a legal image extension).
You can choose a webp image and save the article the first time (image is saved too) - after that the error appears (value invalid).
But this problem exists only if a relative path is given.
If you enter the complete address to the image instead, no error appears after saving.
But this can't be the solution of the problem ...
Best regards
Labels |
Added:
bug
|
@sergeytolkachyov What happens if you change the file name extension from "JPG" to "jpg"? Just an idea.