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

Clicking on save in the show post page generates an error #19

Open
tindrew opened this issue Mar 31, 2023 · 0 comments
Open

Clicking on save in the show post page generates an error #19

tindrew opened this issue Mar 31, 2023 · 0 comments

Comments

@tindrew
Copy link
Owner

tindrew commented Mar 31, 2023

Clicking save on show page if comment field is empty returns an error

key :tags not found in: %{action: "/posts", changeset: #Ecto.Changeset<action: :insert, changes: %{post_id: 7}, errors: [content: {"can't be blank", [validation: :required]}], data: #Blog.Comments.Comment<>, valid?: false>, conn: %Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{changeset: #Ecto.Changeset<action: :insert, changes: %{post_id: 7}, errors: [content: {"can't be blank", [validation: :required]}], data: #Blog.Comments.Comment<>, valid?: false>, current_user: #Blog.Accounts.User<meta: #Ecto.Schema.Metadata<:loaded, "users">, id: 1, email:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant