[FIXED] [#1642] PasswordMask Plugin Exception

  1. #1

    [FIXED] [#1642] PasswordMask Plugin Exception

    We faced a problem with the PasswordMask Plugin on a TextField. The TextField is inside a Panel in a TabPanel. If the Tab/Panel with the Password TextField inside gets closed/destroyed the following JS Exception is thrown:
    Uncaught TypeError: Cannot read property 'destroy' of null
        at constructor.destroy (<anonymous>:111:26)
        at Object.destroy (ext.axd?v=4.8.1:1557)
        at Object.destroy (ext.axd?v=4.8.1:1555)
        at constructor.doDestroy (ext.axd?v=4.8.1:45778)
        at constructor.callParent (ext.axd?v=4.8.1:8200)
        at constructor.doDestroy (ext.axd?v=4.8.1:117648)
        at constructor.callParent (ext.axd?v=4.8.1:8200)
        at constructor.doDestroy (ext.axd?v=4.8.1:118888)
        at constructor.destroy (ext.axd?v=4.8.1:45723)
        at constructor.callParent (ext.axd?v=4.8.1:8200)
    which corresponds to

        destroy : function () {
            this.callParent(arguments);
            this.hiddenField.destroy();
        },
    It looks like the sequence of the function calls is wrong.
    When callParent is called this.hiddenField gets destroyed. I think it should be first destroy the hiddenField, then callParent.
  2. #2
    Hello @anwichmann!

    Thanks for reporting the issue with the UX plugin PasswordMask.

    We have logged the defect as issue #1642 in github, and already fixed it in github, so that the fix will make it to the next public Ext.NET release, being immediately available if you build Ext.NET from its source files.
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 4
    Last Post: Apr 03, 2015, 8:05 AM
  2. Replies: 3
    Last Post: Mar 17, 2015, 2:21 PM
  3. Plugin PasswordMask - not found,
    By asics167 in forum 2.x Help
    Replies: 2
    Last Post: Dec 12, 2013, 5:05 AM
  4. [CLOSED] Problems with Password Validation and PasswordMask plugin
    By tactime10 in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 10, 2013, 9:24 AM
  5. Plugin PasswordMask - not found?
    By asics167 in forum 2.x Help
    Replies: 1
    Last Post: Dec 09, 2013, 10:59 AM

Posting Permissions