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

new web parts on classic pages

Open suz7777 opened this issue 9 years ago • 8 comments

Category

  • [ x] Bug

Expected or Desired Behavior

web parts should load all the time on classic pages.

Observed Behavior

On classic pages we have an interesting phenomenon in that sometimes – often the first time the page loads we get the attached error. If you refresh the page, it loads just fine. This happens with all sorts of users – not admins, contributors, read-only. We also find that often the web parts don’t load at all, without error – they just don’t appear. We refresh the page – all is fine…

Steps to Reproduce

Add a new framework web part on a classic page. close browser go to the page. or hit the refresh button. most of the time we go to the URL bar and press enter to reload page and it works every time.

l_2dcb tmp

suz7777 avatar Jan 23 '17 18:01 suz7777

Digging in - thanks @suz7777

patmill avatar Jan 23 '17 23:01 patmill

Hi @suz7777, looks like this chrome. When this error happens, do you see any errors in the browser dev console?

manishgarg1 avatar Jan 23 '17 23:01 manishgarg1

see attachment 1 - we did these tests with IE10 and Chrome.... framework1a.pdf

suz7777 avatar Jan 27 '17 06:01 suz7777

Hi, I also can reproduce this problem in Chrome. Sometimes I get "JavaScript" error in web part: sp-webpart-base_en-us_8d0a284….js:48 Uncaught (in promise) undefined (anonymous) @ sp-webpart-base_en-us_8d0a284….js:48 Error from page: [SPWebPartErrorCode.IncorrectBoostrapModule]:: Bootstrap module for web part WebPart.FeatureBoxWebPart.g_bf08e990_ac74_4bc8_9c00_7f34006fd66d not of the correct type. Make sure to export your web part as 'export default WebPartName'. CALLSTACK:: Error at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-01-16.005/sp-loader_en-us_4ec28636b0f9b465bd02537852aebf16.js:57:16731) at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-01-16.005/sp-webpart-base_en-us_8d0a284d4d0d8e404879f4b5fcc7cc99.js:47:22096) at Function.t.createWithLogProperties (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-01-16.005/sp-webpart-base_en-us_8d0a284d4d0d8e404879f4b5fcc7cc99.js:47:22635) at https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-01-16.005/sp-webpart-base_en-us_8d0a284d4d0d8e404879f4b5fcc7cc99.js:47:31315 LOGPROPERTIES:: {"actualType":"object","wp":{}}

And sometimes it redirects to Error page (please find attached screenshot) error-1 error-2

mihmbox avatar Jan 27 '17 12:01 mihmbox

Hi @suz7777, @mihmbox, do you still repro these issues. We have made a concerted effort to fix these in classic pages.

manishgarg1 avatar Feb 27 '17 21:02 manishgarg1

Closing at this time. If the issue still repros, please reactivate.

manishgarg1 avatar Feb 28 '17 05:02 manishgarg1

I have the same problem. Did anyone manged to resolve the issue?

Masood10 avatar May 29 '18 08:05 Masood10

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 29 '20 18:01 msft-github-bot