Hi all 



I have two simple classes : The parent class has a field that is an enum. The 
other class inherits from the parent class. 

Under Guvnor, everything is OK for the parent class : when I add a constraint 
on the "enum" field, I see a listbox with enum values 

But for sub-class, the same field has no listbox, but only a free value text 
input. 



Can you confirm this is a bug? I use Guvnor 5.2.Final. 

Thanks ! 


The code : 

public enum Status { 

    OK , KO , UNKNOWN ; 



} 

public class MotherClass { 

    private Status status ; // and corresponding get/set 

enum Status { 

    OK , KO , UNKNOWN ; 



} 

public class MotherClass { 

    private Status status ; // and corresponding get/set 

    OK , KO , UNKNOWN ; 



} 

public class MotherClass { 

    private Status status ; // and corresponding get/set 

public class MotherClass { 

    private Status status ; // and corresponding get/set 

    private Status status ; // and corresponding get/set 



} 

public class SubClass extends MotherClass { 

    private String message ; // and corresponding get/set 

} 

class SubClass extends MotherClass { 

    private String message ; // and corresponding get/set 

} 

    private String message ; // and corresponding get/set 

} 

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to