Skip to content

Deserialise error an Actor Reminder when using GetReminderAsync() #1464

@olitomlinson

Description

@olitomlinson

Expected Behavior

Calling .GetReminderAsync(String reminderName) shouldn't throw the following exception :

2025-02-21 19:33:53 Specified argument was out of the range of valid values.    at Dapr.Actors.Runtime.ConverterUtils.ConvertTimeSpanValueFromISO8601Format(String valueString)
2025-02-21 19:33:53    at Dapr.Actors.Runtime.ReminderInfo.DeserializeAsync(Stream stream)
2025-02-21 19:33:53    at Dapr.Actors.Runtime.DefaultActorTimerManager.DeserializeReminderAsync(Stream stream, ActorReminderToken token)
2025-02-21 19:33:53    at Dapr.Actors.Runtime.DefaultActorTimerManager.GetReminderAsync(ActorReminderToken token)
2025-02-21 19:33:53    at Dapr.Actors.Runtime.Actor.GetReminderAsync(String reminderName)

Actual Behavior

Should deserialize the Reminder correctly.

Steps to Reproduce the Problem

  • Create a Reminder on an Actor (await this.RegisterReminderAsync("Report", null, TimeSpan.FromSeconds(15), TimeSpan.FromSeconds(15));)
  • Call GetReminderAsync("Report")

Release Note

RELEASE NOTE:

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions