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
{{ message }}
Repository navigation
field.Required now allows details. sweep for usage and proper messages #7118
@deads2k Would you mind providing slightly more detail on the requested task?
I assume what we're talking about is reviewing the 242 (thanks, git-grep!) uses of field.Required and adding extra data about "why" a particular error is thrown, but it's not entirely clear from the bug description.
I assume what we're talking about is reviewing the 242 (thanks, git-grep!) uses of field.Required and adding extra data about "why" a particular error is thrown, but it's not entirely clear from the bug description.
Yes, that's correct. I haven't looked through upstream usages to see what sort of descriptions they are adding, but on our side I'd like to see us indicate a reason if a field is required because of the value of a different field. Otherwise, knowing its a required error is sufficient.
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.
Activity
sgallagher commentedon Mar 28, 2016
@deads2k Would you mind providing slightly more detail on the requested task?
I assume what we're talking about is reviewing the 242 (thanks, git-grep!) uses of field.Required and adding extra data about "why" a particular error is thrown, but it's not entirely clear from the bug description.
deads2k commentedon Mar 28, 2016
Yes, that's correct. I haven't looked through upstream usages to see what sort of descriptions they are adding, but on our side I'd like to see us indicate a reason if a field is required because of the value of a different field. Otherwise, knowing its a required error is sufficient.
sgallagher commentedon Mar 28, 2016
@deads2k OK, so I should ignore the cases where we are just checking for simple presence?
deads2k commentedon Mar 28, 2016
Right, there's no value in repeating ourselves.
Add details for field.Required
Add details for field.Required
Add details for field.Required
Add details for field.Required
Add details for field.Required
Add details for field.Required
Add details for field.Required
Add details for field.Required
4 remaining items
Add details for field.Required
Add details for field.Required
Add details for field.Required
Add details for field.Required
bparees commentedon Feb 2, 2018
@deads2k @mfojtik I assume this really needs to be broken down into separate issues for each api resource that isn't doing this correctly today.
openshift-bot commentedon May 4, 2018
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting
/lifecycle frozen.If this issue is safe to close now please do so with
/close./lifecycle stale
openshift-bot commentedon Jun 3, 2018
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting
/remove-lifecycle rotten.Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting
/lifecycle frozen.If this issue is safe to close now please do so with
/close./lifecycle rotten
/remove-lifecycle stale
openshift-bot commentedon Jul 3, 2018
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting
/reopen.Mark the issue as fresh by commenting
/remove-lifecycle rotten.Exclude this issue from closing again by commenting
/lifecycle frozen./close