[JIRA] (JENKINS-60247) Introduce a default fallback view in ViewGroupMixIn#getPrimaryView() when no views defined

5 views
Skip to first unread message

o.v.nenashev@gmail.com (JIRA)

unread,
Nov 22, 2019, 4:24:04 AM11/22/19
to jenkinsc...@googlegroups.com
Oleg Nenashev created an issue
 
Jenkins / Improvement JENKINS-60247
Introduce a default fallback view in ViewGroupMixIn#getPrimaryView() when no views defined
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core
Created: 2019-11-22 09:23
Priority: Minor Minor
Reporter: Oleg Nenashev

Follow-up to https://github.com/jenkinsci/jenkins/pull/4348 and JENKINS-60092. As proposed by Jesse Glick in https://github.com/jenkinsci/jenkins/pull/4348#issuecomment-554381425 , it would be great to return a default view in ViewGroupMixIn#getPrimaryView() so that the API users do not have to worry about edge cases when views are not defined.

IIRC I tried it also and hit some other obstacles, but I do not remember which ones. So there *might* be some obstacles like view persistence

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Nov 22, 2019, 4:25:02 AM11/22/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Nov 22, 2019, 4:25:02 AM11/22/19
to jenkinsc...@googlegroups.com

jglick@cloudbees.com (JIRA)

unread,
Nov 22, 2019, 10:32:04 AM11/22/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages