[jbosstools-issues] [JBoss JIRA] (JBIDE-11777) OpenShift wizard: Embedding jenkins clears 'type' and 'gear' fields

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed May 9 11:56:17 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12691485#comment-12691485 ] 

Andre Dietisheim commented on JBIDE-11777:
------------------------------------------

the reason is an update to the targets- and models- (observables) of the wizard page. The one that we always do when running jobs in the wizard:

WizardUtils:
{code}
	public static IStatus runInWizard(Job job, DelegatingProgressMonitor monitor, IWizardContainer container,
			DataBindingContext dbc) throws InvocationTargetException, InterruptedException {
		IStatus status = runInWizard(job, monitor, container);
		dbc.updateTargets();
		dbc.updateModels();
		return status;
	}
{code}

The dbc.updateTargets is actually setting null to selected cartridge in the wizard page model. Using the WizardUtils#runInWizard solves this issue since no update is executed.

@Xavier: please verify that your issue is not present either.
                
> OpenShift wizard: Embedding jenkins clears 'type' and 'gear' fields
> -------------------------------------------------------------------
>
>                 Key: JBIDE-11777
>                 URL: https://issues.jboss.org/browse/JBIDE-11777
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 3.3.0.Beta3
>            Reporter: Stefan Bunciak
>            Assignee: Andre Dietisheim
>             Fix For: 3.3.0.CR1
>
>         Attachments: jenkins.png
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list