[2.0.0-beta5] Sources bad on derivable contexts should validate the default option

Created on 17 November 2024, about 1 month ago

Problem/Motivation

thanks to @smovs in 📌 [2.0.0-beta5] Preselect option when only one available Active , a little bug has been found when switching from sources which are both derivable contexts (see comment #6).

Error like :
The submitted value xxxx in the Referenced entities element is not allowed.
where xxxx is the derivable_context selected with the old source injected into the default value for derivable context of the new source.

Let's tackle this with proper checks in DerivableContextSourceBase

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France just_like_good_vibes PARIS

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024