You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jeff why should this be fixed instead of hidden_field? I have been scratching my head for weeks as to why the dynamic forms do not work in a single-cluster case, and it comes down to this change. when the cluster is fixed, the form does not have a cluster field, and as such none of the data-option-for-cluster-* options work at all. This makes it very hard to share apps between clusters.
@karcaw, let's move the discussion back to this ticket instead of the original PR.
I'm not sure I can fix this, or at least, I can't fix it immediately. As #3858 indicates, this breaks preset (one click) applications.
The logic to determine if an app is preset (one click) then all the attributes have to be fixed. This must have been why I fixed the cluster attribute, as if there's only 1 cluster configured, then it must be fixed and can then possibly be a preset app.
You can see my discord post here: https://discourse.openondemand.org/t/issues-with-dynamic-form/3663
I dug into this issue for a while and found this change, and swapping it back to
hidded_field
, suddenly all the cluster options start working.Originally posted by @karcaw in #1812 (comment)
For clarity here's the offending expression, specifically the
else
block.ondemand/apps/dashboard/app/models/batch_connect/app.rb
Lines 467 to 478 in 162835e
The text was updated successfully, but these errors were encountered: