Steps to reproduce:
- Go to Host->Triggers or Trigger prototypes (also Templates->Triggers, trigger prototypes)
- Select some triggers and press Mass update
- Select "Replace dependencies"
- Add trigger of template and press update to get error "Cannot add dependency from a host to a template."
- Again press Add trigger and choose trigger in popup
Redirected to Triggers page
Should be mass update page with selected trigger