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

Fix array to string conversion in errorlog writer #35614

Merged
merged 1 commit into from
Dec 19, 2022

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Dec 5, 2022

Resolves: #35589

Summary

#8946 changed log messages from string to string|array but not for the interface and all possible implementations. All loggers still worked except the errorlog one.

TODO

Checklist

@ChristophWurst ChristophWurst added bug 2. developing Work in progress labels Dec 5, 2022
@ChristophWurst ChristophWurst self-assigned this Dec 5, 2022
@ChristophWurst ChristophWurst changed the title fix(logging): Fix array to string conversion in errorlog writer Fix array to string conversion in errorlog writer Dec 5, 2022
@ChristophWurst
Copy link
Member Author

Possibly a duplicate of #34256

@Dudoleitor
Copy link

I'm the author of issue #35589. I've downloaded this pull request as .patch file and I've applied it to my nextcloud environment, it fixed the issue.
Works for me, thanks a lot!

@ChristophWurst ChristophWurst added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Dec 15, 2022
@ChristophWurst ChristophWurst marked this pull request as ready for review December 15, 2022 08:41
@ChristophWurst
Copy link
Member Author

/backport to stable25

@ChristophWurst
Copy link
Member Author

/backport to stable24

Copy link

@znerol znerol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This is good to go 👍

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst force-pushed the fix/errorlog-array-to-string-conversion branch from d1c4e4c to 58a0740 Compare December 19, 2022 08:32
@come-nc come-nc merged commit 6e22ba8 into master Dec 19, 2022
@come-nc come-nc deleted the fix/errorlog-array-to-string-conversion branch December 19, 2022 13:17
@come-nc
Copy link
Contributor

come-nc commented Dec 19, 2022

@ChristophWurst backports?

@ChristophWurst
Copy link
Member Author

/backport to stable24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
Development

Successfully merging this pull request may close these issues.

[Bug]: Array to string conversion at /lib/private/Log/Errorlog.php#46
6 participants