Defect #1214
closed
Notification during start of validity identity was send twice
Added by Ondřej Kopr over 6 years ago.
Updated over 6 years ago.
Description
Notification topic: CoreModuleDescriptor.TOPIC_PASSWORD_CHANGED was send twice during identity change state to valid.
Please create two different topic for TOPIC_PASSWORD_CHANGED (processors IdentityPasswordChangeNotificationProcessor and IdentitySetPasswordProcessor) template in one case sends password during another password wasn't send (also username doesn't exists in first case).
Add some skip to IdentityPasswordChangeNotificationProcessor (eq SKIP_NOTIFICATION).
Thank you for fix this.
Implementation steps:
- two notification topics will exist - for change and set password. The same template will be used as default (can be changed by notification configuration).
- event with skipping notification from 'set' password will be propagated into 'change' password processing
- username parameter will be available in both notification templates .
- Tracker changed from Task to Defect
- Status changed from New to In Progress
- % Done changed from 0 to 90
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Ondřej Kopr
- Assignee changed from Ondřej Kopr to Vít Švanda
- Status changed from Needs feedback to Closed
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
I tested it and works well (only one notification is send now). Thanks for that.
Also available in: Atom
PDF