Skip to content

[stable5.7] fix(ai): handle invalid JSON and possible null for smart replies#12616

Open
backportbot[bot] wants to merge 1 commit intostable5.7from
backport/12615/stable5.7
Open

[stable5.7] fix(ai): handle invalid JSON and possible null for smart replies#12616
backportbot[bot] wants to merge 1 commit intostable5.7from
backport/12615/stable5.7

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot bot commented Mar 19, 2026

Backport of PR #12615

AI-assisted: OpenCode (Claude Haiku 4.5)
Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com>
@kesselb kesselb force-pushed the backport/12615/stable5.7 branch from 86f030c to ac7839a Compare March 20, 2026 11:19
@kesselb kesselb enabled auto-merge March 20, 2026 11:19
@ChristophWurst
Copy link
Copy Markdown
Member

There was 1 error:

1) OCA\Mail\Tests\Unit\Controller\MessagesControllerTest::testSmartReplyNoUser
TypeError: Mock_IMailManager_3ae05ac0::getMessage(): Argument #1 ($uid) must be of type string, null given, called in /home/runner/work/mail/mail/nextcloud/apps/mail/lib/Controller/MessagesController.php on line 919

/home/runner/work/mail/mail/nextcloud/apps/mail/lib/Controller/MessagesController.php:919
/home/runner/work/mail/mail/nextcloud/apps/mail/tests/Unit/Controller/MessagesControllerTest.php:1428

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants