[JIRA] (JENKINS-60867) Blank page after SetupWizard: root cause

9 views
Skip to first unread message

wfollonier@cloudbees.com (JIRA)

unread,
Jan 25, 2020, 5:55:02 PM1/25/20
to jenkinsc...@googlegroups.com
Wadeck Follonier created an issue
 
Jenkins / Improvement JENKINS-60867
Blank page after SetupWizard: root cause
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core
Created: 2020-01-25 22:54
Priority: Minor Minor
Reporter: Wadeck Follonier

Follow-up of JENKINS-59017. Root cause "understood".

The SetupWizard is an extension. But during Jenkins (the class) startup, a new instance is created and linked with Jenkins.

The extension (SW1) is instantiated after EXTENSIONS_AUGMENTED and the new instance (SW2) is called when COMPLETED is attained.

To reproduce the case in a deterministic way:
1) On first run, the SW1 is loaded but the installState is UNKNOWN and thus, does not add the filter. Then, the SW2 is created and added to the filter list. At the end of the wizard, the SW2 (linked with Jenkins) is called to remove its filter. The situation is fine.
2) On a run (after restart) after the first one, when the wizard was not completed. The SW1 is loaded and its filter is added. Then the SW2 is created and its filter also added (two filters at this time). When the wizard is done, the SW2 is asked to remove its filter, but the SW1 is never called by the Jenkins instance to remove the filter. Thus after the wizard there is still a SetupWizard's filter activated.

After JENKINS-59017, the filter has no longer the "blank page" effect thx to the correction but this was only removing the symptom, not the root cause.

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

wfollonier@cloudbees.com (JIRA)

unread,
Jan 25, 2020, 6:14:03 PM1/25/20
to jenkinsc...@googlegroups.com
Wadeck Follonier started work on Improvement JENKINS-60867
 
Change By: Wadeck Follonier
Status: Open In Progress

wfollonier@cloudbees.com (JIRA)

unread,
Jan 25, 2020, 6:14:04 PM1/25/20
to jenkinsc...@googlegroups.com

wfollonier@cloudbees.com (JIRA)

unread,
Jan 25, 2020, 6:14:04 PM1/25/20
to jenkinsc...@googlegroups.com

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

unread,
Feb 10, 2020, 4:27:02 AM2/10/20
to jenkinsc...@googlegroups.com
Oleg Nenashev updated Improvement JENKINS-60867
 

It was released in Jenkins 2.220

Change By: Oleg Nenashev
Status: In Review Resolved
Resolution: Fixed
Released As: Jenkins 2.220
Reply all
Reply to author
Forward
0 new messages