ERROR in Abp.EntityHistory.EntityHistoryHelper: Unexpected State - Unchanged
See original GitHub issueVersions
- Abp 4.10.0
- .Net Framework 4.6.2
Description and Source Error
Log is full of the following lines not present with Abp v.4.9.0;
12:14:13. T 53] ERROR (Abp.EntityHistory.EntityHistoryHelper:0) - Unexpected State - Unchanged
12:14:13. T 53] ERROR (Abp.EntityHistory.EntityHistoryHelper:0) - Unexpected State - Unchanged
12:14:14. T 53] ERROR (Abp.EntityHistory.EntityHistoryHelper:0) - Unexpected State - Unchanged
...
Severity level
Non blocking issue
Remarks
Browsing the source code of EntityHistoryHelper
, I have seen some refactoring and the introduction of a base class.
Logs lines are due to a
default:
Logger.ErrorFormat("Unexpected {0} - {1}", nameof(entityChangeType), entityChangeType);
I don’t know if it hides some major problem.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Object reference not set to an instance of an object (Entity ...
I feel this is happening because Telerik is using second thread to some job with the report and this second thread doesn't have...
Read more >AbpEntityChanges is not recorded for module
(Since you have AbpEntityChanges table in your database, it means you do.) public class ReportDesignDbContext : AbpDbContext { // IDbSets // ...
Read more >Articles Tutorials | AspNet Boilerplate
ASP.NET Boilerplate provides an infrastructure to automatically log all entity and property changes. The saved fields for an entity change are: The related ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
INFO
probably won’t be suitable. Having State in Detached/Unchanged is normal. Therefore, such additional inform should be debug levelOr
INFO
, instead