wanlitao / HangfireExtension

Hangfire Extension plugins
Apache License 2.0
22 stars 32 forks source link

Duplicate key error when navigate to job details #25

Closed dragouf closed 6 years ago

dragouf commented 6 years ago

on some random jobs I get this error when I go to job details page :

An unhandled exception was thrown by the application. An item with the same key has already been added. Key: RetryCount

I get a blank page and I see that in my application logs.

It seems similar to this issue : https://github.com/sergeyzwezdin/Hangfire.Mongo/issues/70 ?

and when I have a look to JobParameter table I see same job id with multiple RetryCount.

dragouf commented 6 years ago

I think it's because I was using the nugets package Hangfire.SQLite.Core instead of this one. I think this one work perfectly even with dotnet core 2.1.