You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We might want to have in the future that the system will send automatic e-mails.
To be able to do that, we would need to have EntityResolver and EntityProxy, that are being used to resolve the identity, to handle System user.
For example, CommunityInclusionAcceptNotificationBuilder is using these entity resolvers. For the System user, the ServiceResultResolver for users will picked up. As a result, resolver will try to read user with id "system" from UsersService, which will fail.
Possible solutions:
Add a new resolver to NOTIFICATIONS_ENTITY_RESOLVERS that handles system user
Handle system user here in the similar way to how it's done here
Other ideas?
The text was updated successfully, but these errors were encountered:
We might want to have in the future that the system will send automatic e-mails.
To be able to do that, we would need to have EntityResolver and EntityProxy, that are being used to resolve the identity, to handle System user.
For example,
CommunityInclusionAcceptNotificationBuilder
is using these entity resolvers. For the System user, theServiceResultResolver
forusers
will picked up. As a result, resolver will try to read user with id "system" from UsersService, which will fail.Possible solutions:
NOTIFICATIONS_ENTITY_RESOLVERS
that handles system userThe text was updated successfully, but these errors were encountered: