fix(19.7): RB-IN-02 a failing Applies marks its My account section
An action whose Applies failed was dropped with no signal, so a section whose Status succeeded showed a normal card with a button silently missing. The section is now also sent with error: true, and My account shows its error line. The error field's description, the cabana README and the My account docs say so; the OpenAPI document and the SPA schema types are regenerated.
This commit is contained in:
@@ -341,9 +341,10 @@ type AccountContributionView struct {
|
||||
// section has none or its status could not be loaded.
|
||||
Status string `json:"status"`
|
||||
Actions []AccountContributionActionView `json:"actions"`
|
||||
// Error is true when the section's status could not be loaded (the
|
||||
// plugin's Status failed); the other sections are answered as usual.
|
||||
// Absent otherwise.
|
||||
// Error is true when the section's status or one of its actions could
|
||||
// not be loaded (the plugin's Status or an action's Applies failed; that
|
||||
// action is left out); the other sections are answered as usual. Absent
|
||||
// otherwise.
|
||||
Error bool `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user