Uh oh!
There was an error while loading. Please reload this page.
fix(share): Return empty string if no label is set - #48673
Conversation
susnux
commented
Oct 12, 2024
/backport to stable30 |
provokateurin
left a comment
There was a problem hiding this comment.
Oh then you can actually revert #47551 where I thought this was intended but wrongly documented!
It was already broken before 30 as well, so please backport to 29 and 28 as well.
susnux
commented
Oct 14, 2024
I am not sure. The PHP documentation is only stating strings, but the DB accepts null. I personally think |
come-nc
commented
Oct 14, 2024
I thought some DB will treat null and empty string the same anyway and so we cannot differentiate in DB, no? |
provokateurin
commented
Oct 14, 2024
Yeah, Oracle treats empty strings as NULL. |
* Resolves: #48629 While the database supports NULL, the typing has always said it only returns *string*. So to not break any apps that might trust the typings we should return `''` if the database is set to `NULL`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This reverts commit 01c4fa3. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
susnux
commented
Oct 14, 2024
Done |
susnux
commented
Oct 14, 2024
/backport to stable29 |
provokateurin
commented
Oct 14, 2024
@susnux not 28? |
susnux
commented
Oct 16, 2024
/backport to stable28 |
Summary
While the database supports NULL, the typing has always said it only returns string. So to not break any apps that might trust the typings we should return
''if the database is set toNULL.Checklist