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

Navigating from a page to another page causes SPFX web part on secondary page to not load

Open nero120 opened this issue 8 years ago • 8 comments

Category

  • [ ] Question
  • [ ] Typo
  • [x] Bug
  • [ ] Additional article idea

@VesaJuvonen @mpasarin our users have suddenly started reporting issues that when navigating from a page with one SPFX web part to another page with a different SPFX web part, the web part on the second page does not display. Refreshing the page forces a reload and the web part then displays. Appears to be occurring in both IE11 and Chrome 58.

Using @waldekmastykarz's approach of adding source maps to production packages, if I put a break point in the onInit function for the second page's web part, I can see that the onInit function is not even being triggered, unless you do a hard page refresh. It seems that there are major issues with SPFX and SharePoint modern page redirection. This recommendation for #1700 resolved some of the issues we were having around this area, but even with that fix, over the past few days some environmental change has triggered this more serious issue. Note, we have not rolled out any updates to our SPFX solution in the past few months.

This is a production issue for us affecting 100s of users and so would greatly appreciate a quick response.

nero120 avatar Aug 22 '18 10:08 nero120

Same here, production problem affecting all users !!!

BraunJonathan avatar Aug 22 '18 11:08 BraunJonathan

Same problem here. Rolled Out straight to production (not first release). This kind of evolution/optimization about "lazy refreshing" must be tested with navigation from extensions before getting rolled out. Every time it changes, our navigation becomes useless.

guillaume-kizilian avatar Aug 22 '18 12:08 guillaume-kizilian

we have the same issueand opened an issue from within the Admin Center Support Request area. Ticket #11181605 For our modern pages in Classic team site, anchor links need to be clicked twice to navigate. We have observed this behaviour since today morning(22/08/18 GMT) across all site collections in our production and dev tenants. This affects the anchor links on the left navigation as well. To reproduce this error, simply create two pages (use same Title and page content text) in a new out of the box site collection with no customisations deployed.

unowiz avatar Aug 22 '18 12:08 unowiz

Reproduced on fresh communication site with no custom dev.

ezgif-3-93491b8e49

guillaume-kizilian avatar Aug 22 '18 13:08 guillaume-kizilian

It seems that the problem is solved (or rolled back...), is it the same for you guys ?

BraunJonathan avatar Aug 23 '18 05:08 BraunJonathan

Resolved - from MS

Below is a summary of the case for your records: Symptom: Users may have seen unexpected content load when navigating between Modern Pages. Cause: A component of a service feature that facilitates the expected navigation experience was inadvertently disabled, causing impact. Resolution: We've reactivated the disabled feature and worked with some previously affected customers to confirm that the issue is resolved. More information: We're analyzing the circumstances that led to impact on the affected systems to help prevent this problem from happening again.

G

Gorbash77 avatar Aug 23 '18 07:08 Gorbash77

Confirmed, the issue has been resolved for our users. Thank you for the fast resolution @Gorbash77.

nero120 avatar Aug 23 '18 10:08 nero120

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

msft-github-bot avatar Jan 27 '20 00:01 msft-github-bot