- in IDE:- open the core/units/email_templates/email_template_eh.php file for editing
- in the \EmailTemplateEventHandler::mapPermissions method:- set $permissions['OnMassApprove'] key to the Array ('self' => true)
- set $permissions['OnMassDecline'] key to the Array ('subitem' => 'debug')
- comment out $permissions['OnSend'] key
 
- save changes
 
- in Admin Console:- login
- go to Website & Content → E-mail Templates section
- select any event
- press the Enable toolbar button
- confirm, that page reloaded and no error happened
- press the Add toolbar button
- confirm, that new email template form is displayed and no error happened
- close the new email template form
- press the Disable toolbar button
- confirm, that you've got Permission mappings not defined for event email-template <- email-template:OnMassDecline exception and no notices
- press the Send toolbar button
- confirm, that you've got Permission mappings not defined for event email-template <- email-template:OnSend exception and no notices
 
Details
Details
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Branch
- branches/5.2.x
- Lint
- Lint OK 
- Unit
- No Unit Test Coverage 
- Build Status
- Buildable 1313 - Build 1313: arc lint + arc unit