sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Multi-paged Webpart Property Panes - Pagination doesn't work as expected, stopping users from accessing pages

Open tandrasi opened this issue 4 years ago • 20 comments

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

Windows

What browser(s) / client(s) have you tested

  • [ ] 💥 Internet Explorer
  • [X] 💥 Microsoft Edge
  • [ ] 💥 Google Chrome
  • [ ] 💥 FireFox
  • [ ] 💥 Safari
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

Additional environment details

Hi, I was told by a contributor of the PnP Modern Search repo (https://github.com/microsoft-search/pnp-modern-search) to duplicate a bug we found here as they suspect it is an SPFx issue.

Describe the bug / error

Hi, I was told by a contributor of the PnP Modern Search repo (https://github.com/microsoft-search/pnp-modern-search) to duplicate a bug we found here as they suspect it is an SPFx issue.

The bug in question is the following: https://github.com/microsoft-search/pnp-modern-search/issues/2405. It has gained a lot of traction in the last couple of days as it seems to only have started occurring this week - regardless of version of the PnP Modern Search web parts used.

Here is the original post that started it all by user twodul

Describe the bug

On the search result web part configuration property pane, 1 of 4 : next button working so can see the 2nd page 2 of 4 : when I click next button it go to "1 of 4" page not "3 of 4" page. I can't set up available connection from 3rd page configuration.

It works fine with my test tenant environment and this issue happens only on our production environments.

I got below JavaScript error when I click next button. image

I attached the console log messages. SearchResultsPropertyPannelErrorLog.txt

image

Steps to reproduce

  1. Add PnP Modern Search "Search Results" or "Search Filters" web parts to a page.
  2. Edit the web part and try access page 3 or 4 of the property pane.
  3. Pages 3 or 4 are not accessible on those web parts -> clicking on "next" on Page 2, will loop back to Page 1.

Expected behavior

  1. Panel page should increment to page 3 and 4 when required.

tandrasi avatar Oct 06 '22 03:10 tandrasi

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Oct 06 '22 03:10 ghost

I got the same problem, with Chrome, Egde and Firefox - all in latest stable Version

Georg-Trixl avatar Oct 06 '22 06:10 Georg-Trixl

I got the same problem in three diferent tenants

Kanamo avatar Oct 06 '22 07:10 Kanamo

@AJIXuMuK FYI, this specific page is all about SPFx dynamic data, listing available data sources and retrieving existing connections if it can help to identify the cause.

FranckyC avatar Oct 06 '22 12:10 FranckyC

This recently started happening to us too. After another issue we faced today, I realized that it seems the common denominator for the tenants it happens in is that SharePoint is now using React 17. Tenants still using 16.13.1 still work fine. Hope this can help give a clue... image

ekdegerman avatar Oct 06 '22 15:10 ekdegerman

The fix has been done and should roll out in the next 2 weeks.

AJIXuMuK avatar Oct 10 '22 15:10 AJIXuMuK

@AJIXuMuK , how is this fix being rolled out? It is a SharePoint Online release update? Any client side alternative possible ?

KuotingChiu avatar Oct 13 '22 23:10 KuotingChiu

@KuotingChiu - this is service-side update. We will roll out new version 100% next Monday. You won't need to do any changes.

AJIXuMuK avatar Oct 13 '22 23:10 AJIXuMuK

@AJIXuMuK , our developer's initial confirmation is positive, Thanks a lot!!! May I ask if this type of changes to break and fix the issue was announced such as using the M365 message center at all? We have a support incident opened for this issue and the assigned support person as well as the incident escalation manager were not helpful at all.

KuotingChiu avatar Oct 17 '22 13:10 KuotingChiu

@KuotingChiu - these changes were not announced as our understanding was the React update will go smooth. Unfortunately, we were wrong. We're working on some adjustments to our announcements and rollout processes to avoid such problems in the future.

AJIXuMuK avatar Oct 17 '22 13:10 AJIXuMuK

@AJIXuMuK "Next Monday", does that mean Monday October 24th to be clear? We have customers with applications that are down due to this so they need to be informed.

rogbac avatar Oct 18 '22 08:10 rogbac

@rogbac - next Monday is yesterday

AJIXuMuK avatar Oct 18 '22 12:10 AJIXuMuK

Ok thanks, then we hope to see a change to the positive anytime soon. Still same in the customer tenants experiencing this.

rogbac avatar Oct 18 '22 13:10 rogbac

@rogbac - that should be already there. I would try opening the browser page in incognito (Private) mode to see if the error is there. Also - is that the same error as described in this issue? Or some other kind of error?

AJIXuMuK avatar Oct 18 '22 13:10 AJIXuMuK

Our tenant seems to be fine now. Isn't this change applied to all tenants?

KuotingChiu avatar Oct 18 '22 14:10 KuotingChiu

@KuotingChiu - it is applied to all tenants. I strongly believe @rogbac has some other type of the issue. I will close this one. @rogbac - feel free to create a new issue with detailed description of what's happening for you.

AJIXuMuK avatar Oct 18 '22 15:10 AJIXuMuK

Thanks for the fix BTW @AJIXuMuK !

FranckyC avatar Oct 18 '22 15:10 FranckyC

Just some feedback in this thread. NOW it works for us again, we noticed it today in several tenants (Swedish customers) that it just started to work again today without any action/workaround. Previously today we still had the error described in this thread, but sometime the last hours it fixed it itself. So the rollout/rollback has not been global on the same day for everyone as feedback. Happy it works again though @AJIXuMuK

rogbac avatar Oct 20 '22 19:10 rogbac

@rogbac - the rollout was global. The thing here that potentially you could have cache (most probably service worker) that loaded old modules.

AJIXuMuK avatar Oct 20 '22 19:10 AJIXuMuK

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

ghost avatar Oct 28 '22 00:10 ghost