[jbosstools-issues] [JBoss JIRA] (JBIDE-10637) Wizard 'Specify CDI Bean for the Injection Point' does not compute correctly condition 'can finish'

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Thu Feb 16 20:51:36 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-10637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov resolved JBIDE-10637.
------------------------------------

      Assignee: Daniel Azarov  (was: Viacheslav Kabanovich)
    Resolution: Done


Slava, I resolved this issue. Please reopen it if you still see problems.
                
> Wizard 'Specify CDI Bean for the Injection Point' does not compute correctly condition 'can finish'
> ---------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-10637
>                 URL: https://issues.jboss.org/browse/JBIDE-10637
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: CDI
>    Affects Versions: 3.3.0.M5
>            Reporter: Viacheslav Kabanovich
>            Assignee: Daniel Azarov
>             Fix For: 3.3.0.Beta1
>
>
> EXECUTE: Create CDI qualifier @Q("value") and bean:
> {code}
> public class MyBean  { 
> 	@Inject
> 	void a(@Q("x") Object b) {}
> 	
> 	@Produces @Q("b1") Object b1;
> 	@Produces @Q("b2") Object b2;
> 	@Produces @Q("b3") Object b3;
> 	@Produces @Q("b4") Object b4;
> 	@Produces @Q("b5") Object b5;
> 	@Produces @Q("b6") Object b6;
> 	@Produces @Q("b8") Object b8;
> }
> {code}
> ASSERT: There is an error marker at the method parameter 'No bean is eligible...'.
> EXECUTE: Invoke quick fixes and run 'Select bean to configure the injection point'.
> ASSERT: Wizard 'Specify CDI Bean for the Injection Point' appears with options MyBean.b1, MyBean.b2, etc.
> MINOR FAILURE: Available beans are not sorted, and are listed in a different order after each rebuilding of the project.
> MINOR FAILURE: There is no initial selection (most selection wizards auto-select the first element of the list if it is not empty)
> EXECUTE: Select any option
> ASSERT: Finish button is enabled. (That is OK.)
> Further, two cases:
> Case 1.
> EXECUTE: Click another option.
> FAILURE: Finish button in some cases gets and then remains disabled. (It still gets/remains enabled if 'MyBean.b1' is selected after 'MyBean').
> Case 2.
> EXECUTE: Click 'Next>' button.
> FAILURE: Finish button in some cases gets disabled, and remains disabled after '<Back' is clicked.

--
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