Skip to content

Form values are null #2

@timohayes

Description

@timohayes

I am using your library in a self-hosted application. No matter what values I set for the schedule or cron expression, the values are never used. I stepped into the library while debugging, and in the ManageBasePage.cs, in the callback for the CommandWithResponseDispatcher, these lines always return null from the inner Tasks (lines 106 and 107):

var schedule = Task.Run(() => context.Request.GetFormValuesAsync($"{jobMetadata.DisplayName.Replace(" ", string.Empty)}_schedule")).Result.FirstOrDefault();
var cron = Task.Run(() => context.Request.GetFormValuesAsync($"{jobMetadata.DisplayName.Replace(" ", string.Empty)}_cron")).Result.FirstOrDefault();

Any idea on why or how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions