Skip to content
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

NRE in query editor #14497

Closed
sebastienros opened this issue Oct 12, 2023 · 0 comments · Fixed by #14501
Closed

NRE in query editor #14497

sebastienros opened this issue Oct 12, 2023 · 0 comments · Fixed by #14501
Assignees
Labels
Milestone

Comments

@sebastienros
Copy link
Member

https://localhost:5001/Admin/Queries/Sql/Query

image

Don't fill anything and hit Query

Exception:

NullReferenceException: Object reference not set to an instance of an object.
AspNetCoreGeneratedDocument.Views_Admin_Query.ExecuteAsync() in Query.cshtml
-
    <textarea id="monaco_textarea" hidden>@json</textarea>
}
@{
    string sqlmode = "text/x-sql";
    if (Model.FactoryName.Contains("Sqlite"))
    {
        sqlmode = "text/x-sqlite";
    }
    else if (Model.FactoryName.Contains("Mysql"))
    {
        sqlmode = "text/x-mysql";
@hishamco hishamco self-assigned this Oct 12, 2023
@MikeAlhayek MikeAlhayek added this to the 1.x milestone Nov 3, 2023
@MikeAlhayek MikeAlhayek modified the milestones: 1.x, 1.8 Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants