BeaconCMS / BeaconCMS/beacon_live_admin

LiveData path validation failure is not surfaced to the user

Open
#150 0 comments 0 reactions 0 assignees View on GitHub
bug chore roadmap
Dominant language
JavaScript
Stars
73
Forks
35
PR merge metrics
No merged PRs in 30d

Description

The form - to create a new path or edit an existing one - is not properly backed by a changeset. I think this is an artifact from a previous data model prototype, and there is currently no reason for it to not use `LiveDataAssign.changeset/2`

The effect of this issue is that attempts to create or update Live Data with an invalid path will fail silently, without showing any error message to the user.

NOTE that this will require upstream changes from beacon, as the full changeset is not publicly exposed right now, only the path changeset.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the form paths for creating and editing Live Data, then inspect how LiveDataAssign.changeset/2 is used. Coordinate the required upstream Beacon change to expose the full changeset; this is done when invalid paths produce visible validation errors instead of failing silently.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir, javascript
Domain
backend, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.