• Strange errors after upgrade

    By F. Kranenburg 1 decade ago

    I'm not able to reproduce the errors but I'll try to explain the troubles.

    After an upgrade from 8.5.2.201104190003NTF to 8.5.2.201107211551NTF we experience strange errors when partial refreshes are fired. We use a lot of djContentPanes with 'partialRefresh='true' properties. We also try to use them nested, but that does not always work correctly (I wonder why).

    We use dijit.Titlepanes to show or hide the djContentpanes, and when the contentpane is shown, the content must be refreshed. But sometimes this generates errors, errors like 'xhr cancelled' in the console. This only happens in the latest version of the Extension Library.

    After a while the HTTP taks on the server does not load any Xpage application anymore. When we try to quit the HTTP task, it waits for a lot of requests to be closed. The result is that the HTTP taks does not quit and we have to kill the server before it is useable again.

    I'm not sure if you can help us with this issue, but this is preventing us upgrading to the latest Extension Library (8.5.2).

    • This is strange

      By Philippe Riand 1 decade ago

      I would not tend to believe that this is related to a particular release, but we never know for sure.

      If you send me a database to reproduce it, then I might be able to help you.

      • sample database

        By F. Kranenburg 1 decade ago

        Last week I upgraded our DEV server to the latest version of the Extension Library and so far I did not encounter HTTP errors. But I have created a database showing that the Bordercontainer is breaking ContentPanes that do a partial refresh when being used in a repeat control.

        The main problem I had was this functionality not working while having HTTP task issues.

         

        Many thanks for helping en getting new releases out so fast ! This helps us a lot!

        • Set the border container size

          By Philippe Riand 1 decade ago

          I got it to display by assigning a size (width:xxx; height:yyy) as a style to the container. Then, you should put the switch button in a pane or outside of the border container. Finally, you may hit an issue as reported here: http://bugs.dojotoolkit.org/ticket/12372, as it doesn't seem to resize well.

          • could not get it to work (8.5.2)

            By F. Kranenburg 1 decade ago

            Tried to set the width and height, on several containers and moved the button out of the container. It is not working. The only way I could get it to work is to set partial refresh = true on de contentpane.

    • Forgot to mention

      By F. Kranenburg 1 decade ago

      I forgot to mention that I initially thought the partial refresh problems where caused by the djContentPanes, but that is not true. The problems where caused by the djBordercontainer because when I removed the borderContainer, the functionality is working.