Cloning Action Trigger can fail to clone environment and parameters
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Evergreen |
Confirmed
|
Medium
|
Unassigned | ||
Bug Description
EG 3.4
OpenSRF 3.2
PG 9.6
Evergreen suffers from a bug when cloning an action trigger definition. The interface asks the user if they would like to also clone the environment. When staff chose "yes", Evergreen doesn't always* clone the environment. It's unclear when/where/why it doesn't work because it does work sometimes. It seems that it fails more often than not though.
This bug was reported in 2011: bug 728055 with basically the same issue.
I propose that we clone the environment and parameters as a matter of course without the added choice. It's more clicking and I would venture that everyone generally wants to clone that stuff with the template (because it's probably broken without it).
There is a database function already written that does this. Not sure how long this link will work but here it is: https:/
Code attached as well ( clone_action_
| summary: |
- Cloning Action Triggers fails to clone environment and parameters + Cloning Action Trigger can fail to clone environment and parameters |

Update - as of 3.13 / Angularized interface:
Cloning an action trigger now prompts to ask whether or not you wish to clone the environment, and it worked in my tests.
However, it still does not clone parameters.