Skip to content

[FIX] mail: fix channel and role mention test in discuss app#5162

Open
alexkuhn wants to merge 1 commit into
master-owl3-migrationfrom
master-owl3-migration-1-aku
Open

[FIX] mail: fix channel and role mention test in discuss app#5162
alexkuhn wants to merge 1 commit into
master-owl3-migrationfrom
master-owl3-migration-1-aku

Conversation

@alexkuhn
Copy link
Copy Markdown

Partial revert of 1

Tests were wrongly adapted: the mentions have an extra space when adding the mentions in composer while composing, but the recovering part from starting edition of a message with already some mentions should not have the extra spaces (message content is trimmed).

The tests were likely adapted because the tests were not passing due to prior steps that insert mention by hand in composer, and there was probably a issue in owl 3 code where the composer's input value of thread was reused with the extra whitespace.

@robodoo
Copy link
Copy Markdown

robodoo commented May 13, 2026

This PR targets the un-managed branch odoo-dev/odoo:master-owl3-migration, it needs to be retargeted before it can be merged.

@mcm-odoo mcm-odoo force-pushed the master-owl3-migration branch from 45ff4dd to 8b01dce Compare May 13, 2026 10:59
Partial revert of [1]

Tests were wrongly adapted: the mentions have an extra space when
adding the mentions in composer while composing, but the recovering
part from starting edition of a message with already some mentions
should not have the extra spaces (message content is trimmed).

The tests were likely adapted because the tests were not passing due
to prior steps that insert mention by hand in composer, and there was
probably a issue in owl 3 code where the composer's input value of
thread was reused with the extra whitespace.

[1]: ecbf491
@alexkuhn alexkuhn force-pushed the master-owl3-migration-1-aku branch from 7b64d94 to 4832f21 Compare May 13, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants