cdts-sgdc icon indicating copy to clipboard operation
cdts-sgdc copied to clipboard

v4_0_45 causes issue on Power Apps Portal, list are no longer rendered due to poor network connectivity

Open rogercote8 opened this issue 2 years ago • 8 comments

All of our Portal used the run version at ESDC. After the release last night we ran into an issue with rendering some part of our web sites. We have determined that the issue was caused when executing wet.builder.refFooter. When this is executed, the site will not work well for Firefox and Chrome and only work for some people with Edge. It seems to be caused by a very slow load of your code. The issue goes away when we do not execute wet.builder.refFooter.

In order to solve the issue, we have reverted all of our Portals to v4_0_43 and will not be using the run version until further notice. Take note that the Microsoft Power Apps Portal only support bootstrap v3.3.6 (may be related).

The issue we are experiencing is the rendering of a list of records. Because of what appears to be the slow load of your code, the list of records does not make it into the browser and then nothing shows.

image

The second image is showing the error:

image

When we revert to v4_0_43, we do not experience problems.

rogercote8 avatar Aug 17 '22 21:08 rogercote8

Hello, as a version release, v4.0.45 has been out for about 3 months now and we haven't had any issues regarding network connectivity. I'm guessing this may be specific to Power Apps Portal.

Just for diagnosis, have you tried using v4.0.44 to see if this issue happens? It'll be easier to determine which version this issue started happening in. Thanks!

ahmad-shahid avatar Aug 18 '22 20:08 ahmad-shahid

Thanks for looking up.

We experience the same issue (very easy to reproduce) with v4_0_44 and v4_0_45. Only v4_0_43 works for us presently.

If I use v4_0_44 or v4_0_45 and remove the following piece of code from our template:

Then the issue goes away.

Roger

From: Ahmad @.> Sent: August 18, 2022 4:08 PM To: wet-boew/cdts-sgdc @.> Cc: Côté, Roger RC [NC] @.>; Author @.> Subject: Re: [wet-boew/cdts-sgdc] v4_0_45 causes issue on Power Apps Portal, list are no longer rendered due to poor network connectivity (Issue #577)

Hello, as a version release, v4.0.45 has been out for about 3 months now and we haven't had any issues regarding network connectivity. I'm guessing this may be specific to Power Apps Portal.

Just for diagnosis, have you tried using v4.0.44 to see if this issue happens? It'll be easier to determine which version this issue started happening in. Thanks!

— Reply to this email directly, view it on GitHubhttps://github.com/wet-boew/cdts-sgdc/issues/577#issuecomment-1219910534, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASH5LX2YYNMA7B5IWYRTVVDVZ2J2PANCNFSM5626S3YA. You are receiving this because you authored the thread.Message ID: @.@.>>

rogercote8 avatar Aug 18 '22 20:08 rogercote8

I'll investigate on my end but it looks like document.write to be the issue. Good news is that we are in the process of introducing a new way of implementing CDTS without the use of document.write. I believe this should solve this issue. We will be releasing this as part of v4.0.46.

ahmad-shahid avatar Aug 18 '22 20:08 ahmad-shahid

Thanks. I hope you are right.

From: Ahmad @.> Sent: August 18, 2022 4:36 PM To: wet-boew/cdts-sgdc @.> Cc: Côté, Roger RC [NC] @.>; Author @.> Subject: Re: [wet-boew/cdts-sgdc] v4_0_45 causes issue on Power Apps Portal, list are no longer rendered due to poor network connectivity (Issue #577)

I'll investigate on my end but it looks like document.write to be the issue. Good news is that we are in the process of introducing a new way of implementing CDTS without the use of document.write. I believe this should solve this issue. We will be releasing this as part of v4.0.46.

— Reply to this email directly, view it on GitHubhttps://github.com/wet-boew/cdts-sgdc/issues/577#issuecomment-1219934731, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASH5LX74EC637GYVVGWML2DVZ2NEJANCNFSM5626S3YA. You are receiving this because you authored the thread.Message ID: @.@.>>

rogercote8 avatar Aug 18 '22 20:08 rogercote8

Hello, I would like to further investigate this issue as I want to be certain whether this issue is linked with CDTS, document.write, or with WET.

Do you have a development environment of some sort that I can use to troubleshoot this problem? Or any other way of accessing Power Apps Portal? Thank you.

ahmad-shahid avatar Sep 12 '22 13:09 ahmad-shahid

@ahmad-shahid I believe this issue is because Power Apps Portal (renamed by Microsoft to Power Pages now) only supports Bootstrap v3.3.x for now. They announced plans to support v5.x in the future, but if CDTS is stuck at Bootstrap v4.x we will be having the same problems again. When is the CDTS team going to support Bootstrap v5.x? Is there a timeframe?

For more info on the Microsoft official support of Bootstrap, visit this article: https://learn.microsoft.com/en-us/power-pages/configure/manage-css

Dan-Levesque avatar Nov 30 '22 17:11 Dan-Levesque

Hi @Dan-Levesque, we are dependent on WET for this so as soon as WET starts supporting Bootstrap v5, we will update on our side.

ahmad-shahid avatar Nov 30 '22 17:11 ahmad-shahid

2 things First: Do you have any information regarding WET moving to Bootstrap 5.0? Second: Regarding the update to the footer applied in version v4.0.47 and must be released at the latest on March 17, 2023, as you know, for users of Power Pages, we still have the issue and we cannot use v4.0.47. We are stuck using v4.0.43. The update to the footer would not be applied for our websites. Can we get an official exception for the footer until the issue is resolved between Power Pages and WET?

rogercote8 avatar Feb 15 '23 15:02 rogercote8