Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: NotificationInfo.TargetNotifiers needs to be virtual in order for NHibernate to proxy it #6496

Closed
RicardoLans opened this issue Jul 25, 2022 · 0 comments
Assignees
Milestone

Comments

@RicardoLans
Copy link

Introduced in Abp v7.3
PR 6466

There is a new public property introduced on NotificationInfo class, but this property also needs to be virtual, cause NHibernate is now not able to proxy this class giving error:

The following types may not be used as proxies:
Abp.Notifications.NotificationInfo: method SetTargetNotifiers should be 'public/protected virtual' or 'protected internal virtual'
Abp.Notifications.NotificationInfo: method get_TargetNotifiers should be 'public/protected virtual' or 'protected internal virtual'
@RicardoLans RicardoLans changed the title NotificationInfo.TargetNotifiers needs to be virtual in order for NHibernate to proxy it Bug: NotificationInfo.TargetNotifiers needs to be virtual in order for NHibernate to proxy it Jul 25, 2022
@ismcagdas ismcagdas added this to the v7.3.1 milestone Jul 26, 2022
@ismcagdas ismcagdas self-assigned this Jul 26, 2022
@ismcagdas ismcagdas modified the milestones: v7.3.1, v7.4 Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants