[jbosstools-issues] [JBoss JIRA] (JBIDE-21324) Server Adapter: Can finish wizard after picking connection, should not be able to
Viacheslav Kabanovich (JIRA)
issues at jboss.org
Wed Dec 16 22:46:00 EST 2015
[ https://issues.jboss.org/browse/JBIDE-21324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142207#comment-13142207 ]
Viacheslav Kabanovich commented on JBIDE-21324:
-----------------------------------------------
ServerSettingsWizardFragment initializes its internal model and validators in createComposite() method which is called only when the page is about to be shown. Before that isComplete flag is true by default.
If there are no default server adapter settings and user must always visit this page before he can finish wizard, then the solution is simple - call setComplete(false) in constructor of ServerSettingsWizardFragment.
If there may be default server adapter settings for a selected connection, then ServerSettingsWizardFragment should listen to ConnectionWizardFragment and be able to update ServerSettingsViewModel and validate it without ui controls.
> Server Adapter: Can finish wizard after picking connection, should not be able to
> ----------------------------------------------------------------------------------
>
> Key: JBIDE-21324
> URL: https://issues.jboss.org/browse/JBIDE-21324
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta1
> Reporter: Andre Dietisheim
> Fix For: 4.3.1.Beta2
>
> Attachments: finish-enabled.png
>
>
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list