I have added a Herald rule that fires whenever a task is modified.
Depending on what exactly is modified in the task i want to add some marker into the task title, like for example:
old title:
```My arbitrary task title```
shall be renamed to:
```[xxx] My arbitrary task title```
where what xxx is will be determined by a custom herald action.
This is an abbreviated version of my applyEffect method:
```
public function applyEffect($object, HeraldEffect $effect) {
// works perfect:
$adapter = $this->getAdapter();
$task = $adapter->getTask();
$title = $task->getTitle();
// does not change the task title:
if (some condition) {
$title = '[xxx]'.$title; // of course the replacement is more complex, but that is not the point here
$task->setTitle ( $title ); // expect the title changes
}
}
```
I have verified that the herald action is called. However, nothing changed and no error is thrown.
What do i need to add so that the task title eventually gets modified ?