Skip to content

[BUG] Error 500 on embed with one field #348

@dbrody

Description

@dbrody

Versions Used
Kaffy: 0.11.0
Phoenix: 1.8.1
Elixir: 1.19.1

What's actually happening?
Throws an error: no match of right hand side value: when viewing a model with an embed with one field.

What should happen instead?
The page should render properly.

Screenshots
If applicable, add screenshots to help explain your problem.
Image
Seems like one attribute does not properly fit the list matching on line 102.

Error happens with:
Image

Fixed when:
Image

Issue:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions