The data is saved correctly to the file’s content file (e.g. /content/downloads/lorem-ipsum.pdf.txt) – nothing bad happens – but the user experience isn’t good since the user gets an error message and the orange “status” bar at the bottom of the Panel (Revert | Save) does not disappear although the content is saved.
I have set the entries.files (see below) option to false. When I remove this option, I can save files without an error message.
I also tested with user fields. When I try to update a user and the entries.users option is set to false I get the error message. When I remove the option the error doesn’t occur.
Describe the bug
When I’m saving a file (e.g. pdf, jpg, etc.) via the panel I got the following error.
I think it’s this file:
https://github.com/distantnative/search-for-kirby/blob/main/src/models/Index/hasRules.php#L43
Steps to reproduce
Expected behavior
Error message shouldn’t appear ;-)
Additional context
The data is saved correctly to the file’s content file (e.g.
/content/downloads/lorem-ipsum.pdf.txt
) – nothing bad happens – but the user experience isn’t good since the user gets an error message and the orange “status” bar at the bottom of the Panel (Revert | Save) does not disappear although the content is saved.I have set the
entries.files
(see below) option tofalse
. When I remove this option, I can save files without an error message.I also tested with user fields. When I try to update a user and the
entries.users
option is set tofalse
I get the error message. When I remove the option the error doesn’t occur.Specifications