[CLOSED] [1.0] Treepanel unsecure items with https after SVN update

  1. #1

    [CLOSED] [1.0] Treepanel unsecure items with https after SVN update

    Just updated from SVN this afternoon. Now I am getting a IE Security Warning "Do you want to view only the webpage content that was delivered securely?" If I say yes, I see missing images for tree expand/collapse icons and tree spacing gifs. If I say no, everything is fine. So looks like some images are not going through https? With fiddler open, it seems like something is trying to hit http://www.extjs.com for /s.gif but got redirected to www.sencha.com. I can not reproduce on my local server since I do not have https enabled locally. I do see this in production servers under https. I dont think it's right for any resource to hit an external url http://www.extjs.com....
  2. #2

    RE: [CLOSED] [1.0] Treepanel unsecure items with https after SVN update

    Looking into this more, the error is BLANK_IMAGE_URL is set at the end of the big blob of javascript Ext.net generates. I believe that used to be the first line instead of last.

    Example:


    Ext.net.ResourceMgr.init({id:"ctl00$extScriptMgr",BLANK_IMAGE_URL:"/StrataJazz800/extjs/resources/images/slate/s-gif/ext.axd",aspForm:"aspnetForm"}
  3. #3

    RE: [CLOSED] [1.0] Treepanel unsecure items with https after SVN update

    We're looking into this. Thanks for reporting the problem.

    Geoffrey McGill
    Founder
  4. #4

    RE: [CLOSED] [1.0] Treepanel unsecure items with https after SVN update

    Any updates? Thanks
  5. #5

    RE: [CLOSED] [1.0] Treepanel unsecure items with https after SVN update

    Hi,

    I don't think that the problem related with sequence because 'Ext.net.ResourceMgr.init' is executed before Ext.onReady (onReady will be executed after all resource loading)

    But it is better to check it, if issue is related with that sequence then the following code should fix it. Try to add the following code to the page header

     <ext:ResourcePlaceHolder runat="server" Mode="ScriptFiles" />
        
        <script type="text/javascript">
             Ext.BLANK_IMAGE_URL = "/extjs/resources/images/default/s-gif/ext.axd";
        </script>
    Please let me know about the result
  6. #6

    RE: [CLOSED] [1.0] Treepanel unsecure items with https after SVN update

    I tried setting Ext.BLANK_IMAGE_URL manually after the ExtJS scripts are loaded but I am still seeing the problem.
  7. #7

    RE: [CLOSED] [1.0] Treepanel unsecure items with https after SVN update

    I think I see the problem. In Ext.tree.TreeNodeUI, emptyIcon is initialized to Ext.BLANK_IMAGE_URL. Before ExtJS 3.3, emptyIcon is set in the constructor of Ext.tree.TreeNodeUI. Now it's initialized as part of the prototype I guess? I have a scriptfile that overrides Ext.tree.TreeNodeUI.prototype to add some more functionality. When that script gets called, emptyIcon is set to "http://www.extjs.com" and will not change. This looks like a bug to me...not sure why they had to change this in ExtJS 3.3 .
  8. #8

    RE: [CLOSED] [1.0] Treepanel unsecure items with https after SVN update

    Hi,

    Thanks for the problem investigating. We created bug report on the ExtJS forum, hope that they will fix it soon
    http://www.sencha.com/forum/showthre...er-IE-with-SSL
  9. #9

    RE: [CLOSED] [1.0] Treepanel unsecure items with https after SVN update

    Hi,

    Fixed in the SVN

Similar Threads

  1. [CLOSED] Window IFrame + https and ssl
    By moth1 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 20, 2012, 12:53 PM
  2. [CLOSED] Ext is not defined / https
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 19, 2011, 9:44 PM
  3. MenuPanel update items from javascript
    By Paul D in forum 1.x Help
    Replies: 2
    Last Post: Sep 23, 2010, 2:12 PM
  4. Replies: 5
    Last Post: Aug 03, 2010, 11:20 AM
  5. [CLOSED] Rowexpander Component Items update from Code-Behind
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Feb 20, 2010, 3:09 AM

Posting Permissions