Defect #2149
closed
Notification about account creation is sent even if the operation fails
Added by Alena Peterová over 4 years ago.
Updated over 4 years ago.
Description
Tested on version 10.1.0
When creation of the account fails on the system, notification about account creation with the password (acc:newPassword, provisioning-send-notification-processor) is sent, but it shouldn't be. Also when this operation is retried and it fails again, the notification is sent again.
Note: if the system is unavailable or read-only, the notification isn't sent (that is correct). The issue may be reproduced only if the create operation fails on the system, e.g.:
- some constraint in DB fails
- value too long for a column in DB
- Target version set to 10.2.0
- Status changed from New to In Progress
- Status changed from In Progress to New
- Status changed from New to In Progress
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 0 to 90
- Status changed from Needs feedback to In Progress
- Assignee changed from Radek Tomiška to Vít Švanda
I did code review, new condition should be moved to overriden AbstractEntityEventProcessor#conditional(EntityEvent) method instead.
Support method is used mainly for processor registration + with conditional method usage is not needed to cast content type.
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Radek Tomiška
- Status changed from Needs feedback to Closed
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 90 to 100
I did test and review, it's awesome, thx!
Also available in: Atom
PDF