Results 1 to 2 of 2

Thread: Implementation of "parseUi" in Ext.Widget cause to problems

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium User
    Join Date
    Jan 2017
    Posts
    12

    Default Implementation of "parseUi" in Ext.Widget cause to problems

    Hi,

    the current implements of the method
    parseUi in the Ext.Widgetcause the problems.

    PHP Code:
    parseUi: function (uiasString) {
        
    ui Ext.String.splitWords(ui);

        if (
    asString) {
            
    ui ui.join(' ');
        }

        return 
    ui;
    }, 
    Here my steps:
    1. The config "ui" is null of the component
    1. Something triggers the method "
    doUninheritUi"
    PHP Code:
    doUninheritUi: function () {
        var 
    me this,
            
    inheritUi me.inheritUi,
            
    ownUiowner;

        if (
    inheritUi)  {
            
    owner me.getRefOwner();
            
    ownUi me._ownUi;
            
    me._ownUi null;
            
    me._inheritedUi null;

            
    me.setUi(ownUi || null);

            if (
    owner.$inheritUiCount) {
                --
    owner.$inheritUiCount;
            }
        }
    }, 


    3. the call "me.setUi" ends up in the widget with "applyUi"
    4. "applyUi" calls the method "parseUi" which returns an empty String
    5. This means that the config "ui" of the component has changed and "updateUi" is triggered


    I don't think this is correct.


    Best regards,
    Christian

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,005

    Default

    Thank you so much for your post. I apologize for the delay. I have shared this with the support staff to look into at their earliest convenience. Your patience is greatly appreciated! We do suggest using the support portal when you need assistance with a capability of a Sencha product, you have identified a situation where a products behavior is inconsistent with the product documentation and might indicate a software bug, or when the communication between you and Sencha needs to be private.

    Thanks again,

    Michele



Similar Threads

  1. Replies: 2
    Last Post: 4 Mar 2015, 12:54 PM

Posting Permissions

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