-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
OrchardCore.OpenId.Tasks.OpenIdBackgroundTask[0], An error occurred while pruning tokens from the database. Object does not match target type #14539
Comments
Can't repro by just enabling these 2 features (see below) but there is nothing to prune, but I can see the query well executed in the background task (I set the period to 1 minute for testing).
|
Can you check what you have in the |
Unfortunately, I factory reset my Docker several times during testing my code base with |
No problem |
In some model classes we changed a field Are you starting nodes that use an existing database that were created from a previous version? |
We start with a blank database and:
|
Okay I will try to repro tomorrow |
Which database are you using? As a reminder I noticed that with |
I'm using MySQL 8 |
By code I created and saved some Can you check if you have any error but before importing your contents or only partially? And if you have time, check your OpenId tables, all prefixed with the Otherwise try to clean and rebuild your app, maybe some bad package restores. I confirm, at least for |
Looks like a reflection issue, since you are now using 1.7.2 I would assume that you have old versions of yessql around and now they are conflicting with the new one. Try to do a deep clean of your repository to get rid of older versions of yessql. |
During the last 2 or 3 days, I have been attempting to reproduce this issue but without any success. Since this issue cannot be reproduced, there are nothing which can be done here. |
Cool then, thanks for having tried it again |
I still have the same issue with Postgresql. I also added a comment with the reproduction steps for Orchard Core on the issue in the yessql repository, see: |
Environment
To Reproduce
I'm just using Orchard Core normally then suddenly, these exceptions appear in my Docker logs stream.
Expected behavior
No exception thrown.
Logs
The text was updated successfully, but these errors were encountered: