Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Aug 2008
    Posts
    47
    Vote Rating
    0
    xalvaro is on a distinguished road

      0  

    Default [FIXED] ComboBox.setForceSelection(true) throw infinite loop

    [FIXED] ComboBox.setForceSelection(true) throw infinite loop


    It seems that there is a bug in ComboBox.setForceSelection(true) in the last trunk version
    when setting this to false, nothing happen, but when it's true, there is an infinite loop :

    Code:
    [ERROR] Uncaught exception escaped
    java.lang.NullPointerException: null
    	at com.extjs.gxt.ui.client.widget.form.Field.getRawValue(Field.java:358)
    	at com.extjs.gxt.ui.client.widget.form.ComboBox.doForce(ComboBox.java:943)
    	at com.extjs.gxt.ui.client.widget.form.ComboBox.getValue(ComboBox.java:532)
    	at com.extjs.gxt.ui.client.widget.form.ComboBox.doForce(ComboBox.java:947)
    	at com.extjs.gxt.ui.client.widget.form.ComboBox.getValue(ComboBox.java:532)
    	at com.extjs.gxt.ui.client.widget.form.ComboBox.doForce(ComboBox.java:947)
    	at com.extjs.gxt.ui.client.widget.form.ComboBox.getValue(ComboBox.java:532)
    	at com.extjs.gxt.ui.client.widget.form.ComboBox.doForce(ComboBox.java:947)
    	at com.extjs.gxt.ui.client.widget.form.ComboBox.getValue(ComboBox.java:532)
    	at com.extjs.gxt.ui.client.widget.form.ComboBox.doForce(ComboBox.java:947)
    ...
    my test case :

    Code:
    public class Test implements EntryPoint
    {
    	class MyBeanModel extends BeanModel implements Serializable {
    
    		public MyBeanModel() {
    		}
    		public MyBeanModel(String name) {
    			set("name", name);
    		}
    		
    	}
    
    	public void onModuleLoad()
    	{
    		FormPanel myFormPanel = new FormPanel();
    
    		ListStore store = new ListStore<BeanModel>();
    		
    		store.add(new MyBeanModel("test1"));
    		store.add(new MyBeanModel("test2"));
    
    		ComboBox comboBox = new ComboBox<BeanModel>();
    		comboBox.setStore(store);
    		comboBox.setDisplayField("name");
    		comboBox.setForceSelection(true);
    		comboBox.setTriggerAction(TriggerAction.ALL);
    		comboBox.addSelectionChangedListener(new SelectionChangedListener<BeanModel>()
    		{
    
    			public void selectionChanged(SelectionChangedEvent<BeanModel> se)
    			{
    				Info.display("test", (String) se.getSelectedItem().get("name"));
    			}
    		});
    
    		myFormPanel.add(comboBox);
    
    		RootPanel.get().add(myFormPanel);
    	}
    
    }

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Yes, will be fixed with some ofthe next revisions.

  3. #3
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Fixed in SVN

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi