iTop
iTop copied to clipboard
N°7385 - Trigger on mention executed even if it's not a mention with @
Internal
I'm moving this PR to "Functional review" even though the technical one didn't occur yet, so the important point can be discussed before going any further.
Functional review:
- Expected behavior: Only trigger a mention, if the hyperlink starts with the corresponding marker (e.g.
@forPerson) - Target version: 3.2.x if code changes are not too risky, 3.3.0 otherwise. Will be determined, once PR is corrected
Code review : the preceding character must be dehardcoded from '@' to the one given in the configuration, depending on the object class. Also consider a multi-byte safe function.