Results 1 to 3 of 3

Thread: [FIXED] RowEditor NPE after cancel BeforeEdit event

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Dec 2008
    Posts
    17

    Default [FIXED] RowEditor NPE after cancel BeforeEdit event


    isDirty() throws NPE when invoked after BeforeEdit event gets cancelled.
    second call gets editing=true and values=null;


    com.extjs.gxt.ui.client.widget.grid.RowEditor

    @SuppressWarnings("unchecked")
    publicvoid startEditing(int rowIndex, boolean doFocus) {
    if (editing && isDirty()) {
    showTooltip("You need to commit or cancel your changes");
    return;
    }
    removeToolTip();
    editing = true;

    RowEditorEvent ree = new RowEditorEvent(this, rowIndex);
    if (!fireEvent(Events.BeforeEdit, ree)) {
    -> ensure editing = false state;
    return;
    }

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976

    Default

    Fixed in SVN.

  3. #3
    Ext User
    Join Date
    Dec 2008
    Posts
    17

    Default

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •